html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	/* line-height: 1; */
}
p {
	margin: 15px 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	max-width: 100%;
	height: auto;
}
*, *::before, *::after {
    box-sizing: border-box;
}
b, strong {
	font-weight: bold;
}
a {
	text-decoration: none;
	color: #005aac;
}
input[type=checkbox] {
	width: 15px;
	height: 15px;
	vertical-align: middle;
}
body {
    background: #f6f8fc;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #161a33;
    line-height: 1.56;
}
main {
	padding: 25px 0;
}
h3 {
	font-weight: bold;
	font-size: 25px;
	line-height: 30px;
	margin-bottom: 5px;
}
h4 {
	font-weight: bold;
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 10px;
}
small {
	color: #888;
	font-size: 14px;
}
header {
    background: #FFF;
    padding: 15px 0;
}

.container {
	width: 1000px;
	max-width: 100%;
	margin: auto;
	padding: 0 15px;
}
header .container {
	display: flex;
	justify-content: space-between;
}
.logo img {
	height: 30px;
	display: block;
}

.btmper {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Arial, sans-serif;
}
.btmper_mov {
	display: none;
}
.btm {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btm-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #c6c6c6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}
.btm.active .btm-number {
  background-color: #355d8a;
}
.btm-label {
  color: #c6c6c6;
  font-weight: bold;
  font-size: 13px;
}
.btm.active .btm-label {
  color: #1a2b49; 
}
.btm-line {
  width: 40px;
  height: 2px;
  background-color: #c6c6c6;
}
.btm.active .btm-line {
  background-color: #355d8a;
}
.boxes {
	display: flex;
	position: relative;
	width: 880px;
	max-width: 100%;
	margin: auto;
}
main {
	position: relative;
}
main.wait::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 88;
	height: 100%;
	cursor: wait;
}
.boxes > div:nth-child(1) {
	width: 100%;
	margin-right: 20px;
}
.boxes > div:nth-child(2) {
	margin-left: auto;
}
.ca {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    width: 100%;
}

.ca li {
    display: inline-block;
}

.ca li label {
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 300;
    cursor: pointer;
    transition: all ease .33s;
    display: inline-block;
    font-weight: bold;
    background: #FFF;
    color: #828282;
    border: 1px solid #e1e1e1;
    text-align: center;
}

.ca li input {
    display: none;
}

.ca li input:checked+label,
.ca li label:hover {
    background: rgb(0 90 172);
    color: #FFF;
    border-color: transparent;
}
table#calendar th {
	font-weight: bold;
}
table#calendar td {
    padding: 5px;
}
table#calendar td a, table#calendar td .disabled, #datetext span {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    width: 55px;
    display: block;
    text-align: center;
    height: 55px;
    line-height: 55px;
    transition: all ease .33s;
}
#datetext a {
	margin-left: 10px;
	font-weight: bold;
	color: red;
	text-decoration: underline;
	font-size: 15px;
}
table#calendar td .disabled {
	background: transparent;
	border: none;
	opacity: .4;
	height: 35px;
	line-height: 35px;
}
table#calendar td a:hover,
table#calendar td a.dayactive {
    background: rgb(0 90 172);
    color: #FFF;
    border-color: transparent;
}
#datetext {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

ul#hours {
    display: flex;
    width: 580px;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}
ul#hours li {
    /* width: 20%; */
}
ul#hours a,
ul#hours span.dh {
    background: #FFF;
    padding: 14px 15px;
    display: block;
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    width: 105px;
    text-align: center;
    max-width: 100%;
}
ul#hours span.dh {
	color: #CCC;
	background: transparent;
	border-color: transparent;
}
ul#hours a:hover, #datetext span, #hours .dh.active {
    background: rgb(0 90 172);
    color: #FFF;
    border-color: transparent;
}
.box-cita {
	background: #FFF;
	border: 1px solid #e1e1e1;
	padding: 20px;
	border-radius: 13px;
	width: 280px;
}
.bc-title {
	font-weight: bold;
	color: #355d8a;
	margin-bottom: 20px;
}
.bc-date {
	font-weight: bold;
	padding-bottom: 10px;
}
.bc-t.bcdsc {
	font-size: 13px;
	color: #e76868;
}
.bc-t {
	padding: 8px 0 8px;
	display: flex;
	border-top: 1px solid #ededed;
	justify-content: space-between;
	font-size: 18px;
	font-weight: bold;
	color: rgb(0 90 172);
}
.bc-t.bcst {
	font-weight: normal;
}
.bc-t.bcst .bct-t,
.bc-t.bcst .bcst-amount {
	font-size: 13px;
	color: #666666;
}
.box-coupon {
	padding: 10px 0;
}
.bct-amount {
	font-size: 18px;
	font-weight: bold;
    color: rgb(0 90 172);
}
.bctxl {
	font-size: 12px;
	color: #444;
	display: block;
}
.bc-submit {
	margin-top: 10px;
}
.bc-submit button {
    background: rgb(0 90 172);
    color: #FFF;
	border: none;
	width: 100%;
	padding: 15px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 13px;
	cursor: pointer;
	transition: all ease .33s;
}
.bc-submit button:hover {
    background: rgb(0 69 131);
}
.bc-submit button[disabled] {
	background: #CCC;
	cursor: no-drop;
}
.c-ain {
	margin: 20px 0;
}
.c-ain label {
	margin-bottom: 6px;
	display: block;
}
.c-ain input {
	width: 400px;
	padding: 12px 15px;
	border-radius: 7px;
	border: 1px solid #c9c9c9;
	font-size: 15px;
	max-width: 100%;
	font-weight: bold;
}
#obtenerdni {
	padding-right: 35px;
}
.c-ain input[readonly] {
	background: #ededed;
	cursor: no-drop;
	outline: none;
}
.step {
	display: none;
	width: 550px;
	max-width: 100%;
}
.step.active {
	display: block;
}

.mepay {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	width: 550px;
	margin: 10px 0 25px;
	max-width: 100%;
}
.mepay li {
	background: #FFF;
	border: 1px solid #dedede;
	padding: 10px;
	display: flex;
	border-radius: 10px;
	align-items: center;
	transition: all ease .33s;
	cursor: pointer;
}
.mepay li.active,
.mepay li:hover {
	color: #FFF;
}
.mepay li:nth-child(1).active,
.mepay li:nth-child(1):hover {
	background: #365e91;
}
.mepay li:nth-child(2).active,
.mepay li:nth-child(2):hover {
	background: #7b3fa0;
}
.mepay li:nth-child(3).active,
.mepay li:nth-child(3):hover {
	background: #00a0c7;
}
.mepay li:nth-child(4).active,
.mepay li:nth-child(4):hover {
	background: #5b6b8c;
}
.mepay li.active .pay_b2 span:nth-child(2),
.mepay li:hover .pay_b2 span:nth-child(2) {
	color: #ffffff82 !important;
}
.mepay li.active .pay_b1,
.mepay li:hover .pay_b1 {
	background: rgba(0,0,0,0.5) !important;
}
.pay_b1 {
	background: #365e91;
	padding: 0;
	flex: none;
	width: 45px;
	text-align: center;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	color: #FFF;
	margin-right: 8px;
	border-radius: 8px;
	transition: all ease .33s;
}
.mepay li:nth-child(2) .pay_b1 {
	background: #7b3fa0;
}
.mepay li:nth-child(3) .pay_b1 {
	background: #00a0c7;
}
.mepay li:nth-child(4) .pay_b1 {
	background: #5b6b8c;
}
.pay_b2 {
	/* padding-top: 3px; */
}
.pay_b2 span {
	display: block;
	font-weight: bold;
	font-size: 15px;
	transition: all ease .33s;
}
.pay_b2 span:nth-child(1) {
}
.pay_b2 span:nth-child(2) {
	font-size: 11px;
	color: #777;
	/* margin-top: 3px; */
}
.pay_b2 span.c6 {
	color: #0e9c3f;
}

#credito {
	width: 550px;
	max-width: 100%;
	text-align: center;
	font-size: 14px;
}
form#form-checkout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}
#form-checkout > div, 
#form-checkout > input, 
#form-checkout > div, 
#form-checkout > select {
    height: 45px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 10px;
    color: #000;
    /* margin: 5px 0; */
    font-size: 17px;
    font-weight: normal;
    display: block;
    width: 100%;
    background: #FFF;
}
#form-checkout > input::placeholder,
#form-checkout > select::placeholder {
    color: #E7E7E;
    font-family: inherit;
    font-family: "Arial";
    font-weight: inherit;
    font-style: inherit;
    font-variant: inherit;
}
#form-checkout__submit {
	width: 100%;
	text-transform: uppercase;
	font-weight: bold;
	color: #FFF;
	font-size: 17px;
	padding: 10px;
	background: linear-gradient(90deg, rgba(114, 181, 223, 1) 0%, rgba(194, 192, 237, 1) 100%);
	border-radius: 6px;
	margin: 15px 0;
	cursor: pointer;
}
#form-checkout__submit:hover {
	background: #0f517d;
}
#form-checkout__submit[disabled] {
	background: #CCC !important;
	cursor: wait;
}

#back {
	border-radius: 50%;
	background: #CCC;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	position: absolute;
	left: -50px;
	top: 0px;
	color: #4f4f4f;
	cursor: pointer;
}
.btmper_mov #back {
	left: 0;
	top: 8px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	color: #8d8d8d;
	font-size: 12px;
	z-index: 9;
}
.ul-ypt {
	text-align: left;
	margin-bottom: 30px;
	width: 500px;
	margin-top: 30px;
	max-width: 100%;
}
.ul-ypt li {
	padding-left: 35px;
	position: relative;
	margin-bottom: 20px;
}
.ul-ypt li:nth-child(2) {
	/* margin-bottom: 28px; */
}
.ul-ypt li span {
	left: 0;
	position: absolute;
	display: inline-block;
	width: 25px;
	height: 25px;
	background: #355d8a;
	border-radius: 50%;
	text-align: center;
	line-height: 25px;
	color: #FFF;
	font-weight: bold;
	font-size: 15px;
	top: -1px;
}
.ul-ypt li strong {
	color: #000;
	font-weight: 800;
}
.ul-ypt table {
	/* margin-left: 20px; */
}
.ul-ypt table td {
	padding: 5px;
}
#form-checkout__submit {
  display: none !important;
}
.contentx {
	display: none;
}

.box-success {
    text-align: center;
    padding: 30px 0 0;
}
.scs {
	color: #0ebc0e;
	font-size: 90px;
	text-align: center;
	margin-bottom: 13px;
}
.text-center {
	text-align: center;
}
.info {
	   background: #FFF;
	   padding: 20px;
	   border: 1px solid #c9c9c9;
	   border-radius: 10px;
}
.info img {
	width: 200px;
}
.c-ain {
  /* display: inline-flex; */
  /* align-items: center; */
  /* gap: 8px; */ /* Espacio entre el input y el icono */
  position: relative;
}

/* Estilo del spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e3e3e3; /* Color del fondo del aro */
  border-top: 2px solid #355d8a; /* Color del borde activo (azul) */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block; /* O usa 'none' si quieres ocultarlo por defecto */
  margin-left: -25px;
  position: relative;
  top: 3px;
  visibility: hidden;
}
.c-ain.wait .spinner {
  visibility: visible;
}

/* Animación de rotación */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.show_coupon {
	font-size: 14px;
	padding: 3px;
}
.shcpn {
	display: none;
}
.shcpn .shcsx{
	display: flex;
	width: 100%;
}
.shcpn input[type=text] {
	padding: 7px 10px;
	outline: none;
	margin-right: 0px;
	border: 1px solid #c9c9c9;
	border-radius: 5px 0 0 5px;
	border-right: 0;
	width: 180px;
	font-weight: bold;
	letter-spacing: 2px;
}
.shcpn input[type=submit] {
	background: #355d8a;
	color: #FFF;
	border: 0;
	border-radius: 0 5px 5px 0;
	padding: 5px 10px;
	cursor: pointer;
	width: 60px;
	font-size: 13px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;

  /* Transición suave para aparecer/desaparecer */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Clase para activar la visibilidad del modal */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ventana emergente */
.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 550px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  
  /* Animación de entrada con zoom ligero */
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Encabezado */
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #222;
  line-height: 1.65rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

/* Cuerpo con scroll responsivo */
.modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
.modal-body img {
	border: 1px solid #e0e0e0
}
.modal-body p {
  margin-top: 0;
  margin-bottom: 12px;
}

/* Pie del modal */
.modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #e0e0e0;
  text-align: right;
  background-color: #fafafa;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.btn-primary {
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #004999;
}
@media (max-width:750px) {
	.boxes {
		flex-direction: column;
	}
	.boxes > div:nth-child(2), .box-cita {
		width: 100%;
	}
	.box-cita {
		margin-top: 20px;
	}
	.btmper {
		display: none;
	}
	.btmper_mov {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		justify-content: space-between;
		position: relative;
	}
	header .container {
		flex-direction: column;
	}
	.btmm {
		width: 100%;
		margin: 10px 0;
		font-size: 13px;
		position: relative;
		/* padding-inline: 30px; */
		display: flex;
	}
	.btmm span {
		display: none;
		color: #949597;
		font-weight: 500;
		padding-left: 30px;
	}
	.btmm span:nth-child(1) {
		padding-left: 0px;
	}
	.btmm span.active {
		display: block;
	}
	.btmm-line {
		width: calc(33.333% - 8px);
		height: 4px;
		background: #E7E7E7;
		border-radius: 2px;
	}
	.btmm-line.active {
		background: #005aac;
	}
	form#form-checkout {
		display: block;
	}
	#form-checkout > div, #form-checkout > input, #form-checkout > div, #form-checkout > select {
		margin: 7px 0;
	}
	.c-ain {
		margin: 20px 0;
	}
	.c-ain input::placeholder {
		color: #929292;
	}
} 
@media (max-width: 480px) {
	table {
		width: 100%;
		font-size: 14px;
	}
	table#calendar td a, table#calendar td .disabled {
		width: 100%;
	}
	table#calendar th {
		width: 14.3%;
	}
	.ca li label {
		padding: 10px;
		font-size: 14px;
		width: 100%;
		display: block;
	}
	.ca li {
		/* flex: 1; */
		width: 33%;
	}
	ul#hours li {
		width: calc(25% - 8px);
	}
	ul#hours a,
	ul#hours span.dh {
		padding: 10px 0;
		text-align: center;
	}
	.mepay {
		gap: 13px;
	}
}