/* Ajustes de enfoque */
*:focus {
	outline: none;
}

/* Diseño general de columnas */
.left {
	width: 70%;
	float: left;
	clear: both;
}
.right {
	width: 30%;
	float: right;
	margin-bottom: 25px;
}

/* Estilos de body y contenedor principal */
body {
	background: #fafafa;
	height: auto;
	min-height: calc(100vh);
	font-family: 'Lato', sans-serif;
	font-weight: 500;
	margin: 0;
}
body #wolk-payment {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4em 0;
}
body #wolk-payment #container {
	background: white;
	height: 560px;
	min-width: 600px;
	width: 600px;
	z-index: 1;
	box-shadow: 0px 3px 15px -1px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

/* Estilos de la columna izquierda */
body #wolk-payment #container #left-col {
	width: 40%;
	min-width: 240px;
	height: 100%;
	background: #0daabf;
	border-radius: 10px 0 0 10px;
	float: left;
}
@media only screen and (max-width: 600px) {
	body #wolk-payment #container #left-col {
		width: 100%;
		height: auto;
		border-radius: 10px;
	}
}
body #wolk-payment #container #left-col #left-col-cont {
	height: auto;
	margin: 20px 25px;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
}
body #wolk-payment #container #left-col #left-col-cont h2 {
	margin: 25px 0 0;
	font-size: 28px;
}
body #wolk-payment #container #left-col #left-col-cont div.item {
	margin: 0;
	clear: both;
	padding: 7px 0;
}
body #wolk-payment #container #left-col #left-col-cont div.item .img-col {
	width: 30%;
	float: left;
}
body #wolk-payment #container #left-col #left-col-cont div.item .img-col img {
	width: 100%;
	max-height: 100px;
	border-radius: 10px;
}
body #wolk-payment #container #left-col #left-col-cont div.item .meta-col {
	width: 70%;
	float: right;
}
body #wolk-payment #container #left-col #left-col-cont div.item .meta-col h3 {
	font-size: 0.7em;
	margin: 0 0 0 10px;
}
body #wolk-payment #container #left-col #left-col-cont div.item .meta-col .price {
	font-size: 0.9em;
	margin: 5px 0 0 10px;
	opacity: 0.5;
	text-align: right;
}
body #wolk-payment #container #left-col #left-col-cont .items-list {
	width: 100%;
	max-height: 350px;
	min-height: 68%;
	overflow-y: auto;
	margin-top: 15px;
	padding-right: 10px;
	box-sizing: border-box;
}
body #wolk-payment #container #left-col #left-col-cont .items-list::-webkit-scrollbar {
	width: 3px;
}
body #wolk-payment #container #left-col #left-col-cont .items-list::-webkit-scrollbar-thumb {
	background: rgba(245, 245, 245, 0.39);
	border-radius: 10px;
}
body #wolk-payment #container #left-col #left-col-cont .items-list::-webkit-scrollbar-thumb:hover {
	background: #ffffff;
}
body #wolk-payment #container #left-col #left-col-cont p#total {
	text-transform: uppercase;
	text-align: left;
	font-size: 0.7em;
	opacity: 0.5;
	margin: 15px 0 5px;
}
body #wolk-payment #container #left-col #left-col-cont h4#total-price {
	text-align: left;
	font-size: 2em;
	margin: 0;
	line-height: 1;
}
body #wolk-payment #container #left-col #left-col-cont h4#total-price span {
	color: #ffffff;
	font-size: 0.7em;
}

/* Estilos de la columna derecha */
body #wolk-payment #container #right-col {
	width: calc(60% - 50px);
	min-width: 310px;
	height: 100%;
	margin: 20px 25px;
	float: right;
	position: relative;
	border-radius: 0 10px 10px 0;
}
body #wolk-payment #container #right-col h2 {
	float: left;
	margin: 0;
	font-size: 36px;
	font-weight: 600;
}
body #wolk-payment #container #right-col div#logotype {
	float: right;
	margin-top: 4px;
}
body #wolk-payment #container #right-col div#logotype img {
	width: 60px;
	height: auto;
}

/* Estilos del formulario */
body #wolk-payment #container form {
	margin: 55px auto 0;
	width: 100%;
}
body #wolk-payment #container form #cardnumber {
	background: white;
	width: calc(100% - 14px);
	padding: 4px 6px;
	border-radius: 10px;
	border: 1px solid lightgrey;
}
body #wolk-payment #container form #cardnumber input {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	width: calc(100% - 23px);
	padding: 4px 6px;
	letter-spacing: 6px;
	font-size: 0.9em;
	border: none;
	background: none;
}
body #wolk-payment #container form input {
	width: calc(100% - 14px);
	display: block;
	padding: 10px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	font-size: 1em;
	box-sizing: border-box;
}
body #wolk-payment #container form select {
	border: 1px solid lightgrey;
	border-radius: 10px;
	font-size: 1em;
	padding: 10px;
	width: 80px;
	box-sizing: border-box;
}
body #wolk-payment #container form input.cvc {
	width: 80px;
	padding: 10px;
	letter-spacing: 2px;
}
.expiry-cvc {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}
body #wolk-payment #container form button {
	display: block;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 12px;
	font-size: 0.9em;
	cursor: pointer;
}
body #wolk-payment #container form button#purchase {
	background: #0daabf;
	color: white;
	margin: 0 0 8px;
	position: static;
	width: 100%;
	border-radius: 10px;
	padding: 12px;
	font-size: 0.9em;
	cursor: pointer;
}

button#purchase:active {
	display: none;
	~ authBox {
		display: flex;
	}
}
body #wolk-payment #container form button#paypal {
	background: none;
	border: 1px solid lightgrey;
}
body #wolk-payment #container form button#paypal:hover {
	background: #003087;
	border-color: #003087;
	color: white;
}

/* Estilos adicionales para modal y botón cerrar */
authBox {
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
}
authBox modal {
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	border-radius: 0;
	padding: 20px;
	position: relative;
}
modal #close-modal {
	background: #0daabf;
	color: white;
	margin-top: 20px;
	font-size: 1em;
	cursor: pointer;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 12px;
	text-align: center;
}

/* Centrar mensaje y GIF dentro del modal */
modal #message,
modal #loading-gif {
	text-align: center;
	margin: 0 auto;
}

/* Estilos responsivos */
@media only screen and (max-width: 600px) {
	body {
		background: #ffffff;
	}
	body #wolk-payment #container {
		min-width: 100%;
		height: fit-content;
		box-shadow: none;
	}
	body #wolk-payment #container #left-col {
		width: 100%;
		height: auto;
		border-radius: 10px;
	}
	body #wolk-payment #container #right-col {
		width: fit-content;
		min-width: auto;
	}
	authBox modal {
		width: 100%;
		height: 100%;
		padding: 20px;
	}
	body #wolk-payment #container form button#purchase {
		position: static;
	}
	body #wolk-payment #container form {
		padding-bottom: 35px;
	}
	input,
	select {
		width: calc(33.33% - 5px);
		margin-right: 5px;
		border-radius: 10px;
		padding: 10px;
		font-size: 1em;
	}
	button#purchase {
		width: 100%;
		font-size: 1.1em;
		padding: 14px;
		border-radius: 10px;
	}
}

/* Mejoras de diseño */
input,
select {
	border-radius: 10px;
	padding: 10px;
	font-size: 1em;
}
button#purchase {
	background-color: #0daabf;
	color: white;
	padding: 12px;
	border-radius: 10px;
	font-size: 1.2em;
	cursor: pointer;
	width: 100%;
}
.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: transparent;/* Mejoras de diseño */
	pointer-events: auto !important;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
spinner {
    position: fixed; /* Asegura que ocupe toda la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
    display: none; /* Oculto por defecto */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra el contenido horizontalmente */
    z-index: 9999; /* Asegura que esté encima de otros elementos */
}

modal {
    background: white; /* Fondo blanco para el contenido del modal */
    border-radius: 10px; /* Opcional: bordes redondeados */
    padding: 20px; /* Espaciado interno */
    max-width: 500px; /* Ancho máximo del modal */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Sombra para destacar el modal */
    text-align: center; /* Centra el texto */
}

#detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#responseTitle {
    font-size: 2em;
    color: #333; /* Color del texto del título */
}

#response {
    font-size: 1.2em;
    color: #666; /* Color del texto del párrafo */
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}