:root {
  --primary: #2563eb;
  /* --accent: #22c55e; */
  --bg: #f1f5f9;
  /* --card: #ffffff; */
}
body{
  font-family: 'Quicksand', sans-serif !important;
}

.mainrenovaciones select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23003799' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 12px center !important;
  background-size:24px 24px !important;
  padding-right:48px !important;
}

/* CONTENEDOR */
.container {
  max-width:1100px;
  margin:auto;
  padding:20px;
}

/* ========================= */
/* CARDS (SISTEMAS) */
/* ========================= */
.cards {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:18px;
}

.card {
  background:#ffffff;
  /* border:2px solid rgba(0,55,153,0.6); */
  border: 2px solid #00379999;
  border-radius:12px;
  text-align:center;
  cursor:pointer;
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:16px 24px;
  box-sizing:border-box;
  width:235.93px;
  height:64.04px;
  flex-shrink:0;
  box-shadow:none;
  opacity:0.6;
}

.card-icon {
  width:30.09px;
  height:30.82px;
  object-fit:contain;
  opacity:1;
  transition:opacity .25s ease;
}

.card-label {
  font-weight:700;
  color:#003799;
  white-space:nowrap;
  transition:color .25s ease;
}

.cards.has-selection .card:not(.selected) .card-icon{
  opacity:0.45;
}

.cards.has-selection .card:not(.selected) .card-label{
  color:#00379966;
}

.cards.has-selection .card:not(.selected){
  border-color:#00379950;
  opacity:0.6;
}

.card::after{
  display:none;
}

.card:hover{
  background:#ffffff;
  border:2px solid #003799;
  box-shadow:none;
  opacity:1;
}

.card.selected{
  background:#ffffff;
  border:2.08px solid #003799;
  border-radius:12px;
  width:235.93px;
  height:64.04px;
  padding:16px 24px;
  gap:12px;
  box-shadow:0px 5px 15px 0px rgba(0,0,0,0.35);
  opacity:1;
}

.card.selected .card-label{
  color:#003799;
}

/* ========================= */
/* DETAILS */
/* ========================= */
.details {
  /* margin-top:40px; */
  /* background:rgba(255,255,255,0.85); */
  backdrop-filter: blur(12px);
  padding:30px;
  border-radius:20px;
  display:none;
  animation:fadeUp .4s ease;
}

.details.active {
  display:block;
}

/* ========================= */
/* OPCIONES HORIZONTALES 🔥 */
/* ========================= */
.renovaciones {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}

.opcion {
  padding:8px 16px;
  border-radius:999px;
  border:1.5px solid #e2e8f0;
  cursor:pointer;
  transition:.25s;
  font-size:13px;
  font-weight:500;
  background:white;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
}

/* efecto glow */
.opcion::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(37,99,235,0.2),transparent);
  opacity:0;
  transition:.3s;
}

.opcion:hover::after{
  opacity:1;
}

.opcion:hover{
  transform:translateY(-2px);
}

/* ACTIVA */
.opcion.active {
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
  border-color:transparent;
  box-shadow:0 6px 18px rgba(37,99,235,0.4);
  transform:scale(1.05);
}

/* ========================= */
/* CONTENEDOR GENERAL */
/* ========================= */
.info {
  display:grid;
  /* gap:20px; */
}

/* ========================= */
/* BLOQUES */
/* ========================= */
.bloque {
  /* background:white; */
  padding:22px;
  border-radius:15px;
  /* box-shadow:0 10px 25px rgba(0,0,0,0.05); */
  animation:fadeUp .4s ease;
  transition:.3s;
}

/* .bloque:hover{
  transform:translateY(-3px);
} */

.bloque h3 {
  margin:0 0 15px;
}

/* ========================= */
/* PAGO 🔥 */
/* ========================= */
.pago {
  border-left:5px solid var(--accent);
  padding:25px;
  position:relative;
  overflow:hidden;
}

.pago::before{
  content:"";
  position:absolute;
  inset:0;
  /* background:linear-gradient(120deg,transparent,rgba(34,197,94,0.08),transparent); */
  opacity:0;
  transition:.4s;
}

.pago:hover::before{
  opacity:1;
}

/* ========================= */
/* CAJA RESULTADO 💎 */
/* ========================= */
.resultado-pago {
  margin-top:15px;
  padding:22px;
  border-radius:18px;
  background:linear-gradient(135deg,#f0fdf4,#dcfce7);
  border:1px solid #bbf7d0;
  box-shadow:0 15px 35px rgba(34,197,94,0.2);
  animation:fadeUp .4s ease;
  position:relative;
}

/* glow animado */
.resultado-pago::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(34,197,94,0.2),transparent);
  opacity:0;
  transition:.4s;
}

.resultado-pago:hover::after{
  opacity:1;
}

.resultado-pago .dato {
  padding:6px 0;
  border-bottom:1px dashed rgba(0,0,0,0.08);
  font-size:14px;
}

/* PRECIO */
.price {
  color:var(--accent);
  font-weight:bold;
  font-size:24px;
  display:block;
  margin-bottom:10px;
}

/* ========================= */
/* FORMULARIO */
/* ========================= */
.formulario {
  border-left:5px solid var(--primary);
}

/* ========================= */
/* AVISO */
/* ========================= */
.aviso {
  background:#fff7ed;
  text-align:center;
  font-weight:600;
}

.aviso a {
  color:var(--primary);
  text-decoration:none;
}

/* ========================= */
/* INPUTS */
/* ========================= */
.mainrenovaciones input,
.mainrenovaciones select {
  padding:12px;
  border-radius:10px;
  border:1px solid #ccc;
  width:100%;
  margin-bottom:10px;
  transition:.25s;
}

.mainrenovaciones input:focus {
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,0.15);
  transform:scale(1.01);
}

/* ========================= */
/* BOTÓN */
/* ========================= */
.btn {
  display: block;
  margin: 30px auto 0 auto; 
  width: 60%; 
  max-width: 400px; 

  padding:16px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-size:18px; 
  font-weight:600;

  position: relative; 
  overflow:hidden;

  transition:.25s;
}

/* brillo */
.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.5),transparent);
  transition:.5s;
}

.btn:hover::after{
  left:100%;
}

.btn:hover {
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 10px 25px rgba(37,99,235,0.3);
}

.btn:active {
  transform:scale(0.95);
}

/* loading */
.btn.loading {
  background:#94a3b8;
  cursor:not-allowed;
  transform:scale(0.98);
  opacity:0.8;
}

.btn.loading::after {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:18px;
  height:18px;
  border:3px solid white;
  border-top:3px solid transparent;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

/* ========================= */
/* MENSAJES */
/* ========================= */
.mensaje {
  position:fixed;
  top:50px;
  left:50%;
  transform:translateX(-50%);
  padding:15px 25px;
  border-radius:10px;
  display:none;
  font-weight:bold;
  z-index:999;
  animation:fadeDown .3s ease;
}

.success {
  background:#dcfce7;
  color:#166534;
}

.error {
  background:#fee2e2;
  color:#991b1b;
}

/* ========================= */
/* TABS */
/* ========================= */
.tabs {
  display:flex;
  width:fit-content;
  margin:0 auto 20px auto;
  gap:4px;
  padding:4px;
  border-radius:13px;
  background:rgba(0,0,0,0.1);
  margin-bottom:20px;
}

.tab-btn {
  padding:12px 22px;
  border:1px solid #d5dbe8;
  border-radius:10px;
  cursor:pointer;
  background:#f6f8fb;
  color:#1c376f;
  font-weight:600;
  font-size:12px;
  transition:.3s;
  white-space:nowrap;
  
  
}

.tab-btn.active {
  background:#ffffff;
  color:#0f2f74;
  border-color:#0066CC;
  box-shadow:0 3px 10px rgba(0,55,153,0.22);
  transform:translateY(-1px);

}

.tab-btn:hover {
  transform:translateY(-1px) scale(1.01);
  border-color:transparent;
  box-shadow:none;
}

/* ========================= */
/* AJUSTE FIGMA: TABS + FORM */
/* ========================= */
.tabs{
  width:479px;
  max-width:100%;
  min-height:47px;
  padding:4px;
  gap:4px;
  border-radius:13px;
  background:rgba(0,0,0,0.1);
  box-sizing:border-box;
  position:relative;
  overflow:hidden;
}

.tab-btn{
  height:39px;
  padding:8px 24px;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  color:#5b6472;
  font-size:15px;
  font-weight:600;
  line-height:1;
  box-shadow:none;
  position:relative;
  z-index:2;
  transition:color .22s ease;
  box-sizing:border-box;
}

.tabs .tab-btn:first-child{
  width:173px;
}

.tabs .tab-btn:last-child{
  width:290px;
}

.tab-btn.active{
  color:#1f4f99;
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}

.tabs::before{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:var(--tab-indicator-w, 50%);
  height:39px;
  border-radius:12px;
  background:#ffffff;
  border:1px solid #cfd9eb;
  box-shadow:0 1px 6px rgba(0,0,0,0.1);
  transform:translateX(var(--tab-indicator-x, 0px));
  transition:transform .22s ease, width .22s ease;
  z-index:1;
}

#seccionPago,
#seccionFormulario{
  opacity:0;
  transform:translateY(4px) scale(0.998);
  transition:opacity .2s ease, transform .2s ease;
}

#seccionPago.seccion-activa,
#seccionFormulario.seccion-activa{
  opacity:1;
  transform:translateY(0) scale(1);
}

#seccionPago.seccion-saliendo,
#seccionFormulario.seccion-saliendo{
  opacity:0;
  transform:translateY(4px) scale(0.998);
}

#seccionFormulario .formulario{
  width:636px;
  max-width:100%;
  margin:0 auto;
  border:1px solid #003799;
  border-radius:8px;
  padding:32px 24px;
  box-shadow:0 0 15px 0 #003799;
  background:#ffffff;
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top: 30px;
}

#seccionFormulario .formulario h3{
  text-align:center;
  margin:0;
  color:#000B33;
  font-size:22px;
  font-weight:700;
  line-height:1.2;
  padding-bottom:12px;
  border-bottom:0.79px solid rgba(0,28,128,0.3);
  width:350px;
  max-width:100%;
  align-self:center;
}

#seccionFormulario .formulario .form-field{
  position:relative;
}

#seccionFormulario .formulario label{
  position:absolute;
  top:-8px;
  left:10px;
  z-index:2;
  background:#ffffff;
  padding:0 4px;
  margin:0;
  font-size:12px;
  font-weight:400;
  color:#000B33;
  line-height:12px;
  letter-spacing:0.15%;
  font-family:'Geist', 'Inter', sans-serif;
}

#seccionFormulario .formulario .required{
  color:#dc2626;
}

#seccionFormulario .formulario input{
  border:1px solid rgba(0,0,0,0.87);
  border-radius:8px;
  height:57px;
  padding:16.5px 14px;
  margin-bottom:0;
  font-size:16px;
  font-weight:400;
  line-height:23px;
  color:#0f172a;
  font-family:'Geist', 'Inter', sans-serif;
  box-sizing:border-box;
}

#seccionFormulario .formulario input::placeholder{
  color:#d1d5db;
  font-size:16px;
  font-weight:400;
}

#seccionFormulario .formulario .file-field{
  position:relative;
  height:57px;
  padding:16.5px 14px;
  border:1px solid rgba(0,0,0,0.87);
  border-radius:8px;
  background:#ffffff;
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Geist', 'Inter', sans-serif;
  box-sizing:border-box;
  cursor:pointer;
}

#seccionFormulario .formulario .file-field input[type="file"]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  border:none;
  padding:0;
  margin:0;
}

#seccionFormulario .formulario .file-field .file-field-btn{
  width:105.47px;
  height:24.24px;
  padding:3.12px 6.24px;
  border:0.78px solid rgba(0,0,0,0.16);
  border-radius:3.12px;
  background:rgba(0,0,0,0.16);
  font-size:12px;
  font-weight:400;
  line-height:1;
  color:#0f172a;
  font-family:'Geist', 'Inter', sans-serif;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  pointer-events:none;
  white-space:nowrap;
}

#seccionFormulario .formulario .file-field .file-field-text{
  font-size:14px;
  font-weight:400;
  color:#0f172a;
  font-family:'Geist', 'Inter', sans-serif;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  pointer-events:none;
}

#seccionFormulario .formulario .aviso{
  background:transparent;
  text-align:left;
  font-weight:500;
  font-size:12px;
  padding:0;
  margin-top:-2px;
  line-height:1.25;
}

#seccionFormulario .formulario .aviso a{
  color:#003799;
  font-size:18px;
  font-weight:700;
  text-decoration:none;
}

#seccionFormulario .formulario .btn{
  width:100%;
  max-width:none;
  height: 42px;
  margin:4px 0 0 0;
  padding:11px 41px;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  line-height:100%;
  text-transform:uppercase;
  letter-spacing:0;
  font-family:'Quicksand', sans-serif;
  background:#003899;
  color:#ffffff;
  text-align:center;
}

#titulo{
  display:none;
}

.hidden{
  display:none!important;
}

/* Flujo sólo "Cálculo Fácil" — resumen clickeable y filas de pago tipo Figma */
.bloque.pago.pago-calculo-flujo{
  border-left:none;
  padding:0;
  overflow:visible;
}

.renovaciones.renov-calculo-oculta{
  display:none!important;
}

.calculo-resumen-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  /* gap:50px; */
  width:620px;
  max-width:100%;
  min-height:104px;
  margin:12px auto 30px;
  padding:32px 34px;
  box-sizing:border-box;
  border:none;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0px 0px 5px 0px #003799;
  cursor:pointer;
  font-family:'Quicksand', sans-serif;
  text-align:left;
  transition:transform .18s ease, box-shadow .25s ease;
}

.calculo-resumen-btn:hover{
  box-shadow:0px 0px 15px 0px #003799;
}

.calculo-resumen-expandido{
  cursor:default;
  justify-content:center;
  gap:40px;
}

.calculo-resumen-expandido .calculo-resumen-derecha{
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}

.calculo-resumen-expandido .calculo-resumen-nombre{
  font-size:36px;
}

.calculo-resumen-expandido .calculo-resumen-precio{
  font-size:36px;
  margin: 0 auto;
}

.calculo-resumen-expandido:active{
  transform:none;
}

.calculo-resumen-btn:active{
  transform:scale(.99);
}

.calculo-resumen-btn:focus-visible{
  outline:2px solid #0066CC;
  outline-offset:2px;
}

.calculo-resumen-nombre{
  font-weight:600;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#000B33;
  font-family:'Quicksand', sans-serif;
}

.calculo-resumen-derecha{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  gap:4px;
}

.calculo-resumen-precio{
  font-weight:700;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#003799;
  font-family:'Quicksand', sans-serif;
}

.calculo-resumen-sub{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
}

.resultado-pago.resultado-pago-calculo.calculo-detalle-oculto{
  display:none;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles{
  margin-top:10px;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles::after{
  display:none;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles .price{
  display:none;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles #datosBanco{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles .dato{
  box-sizing:border-box;
  width:586px;
  max-width:100%;
  margin:0 auto;
  min-height:47px;
  padding:8px 26px;
  border-radius:12px;
  border:2px solid #6B737A;
  background:#ffffff;
}

.resultado-pago.resultado-pago-calculo.calculo-datos-visibles .dato:hover{
  background:#ffffff;
  border-color:#6B737A;
}

.bloque.pago.pago-cfdi-flujo{
  border-left:none;
  padding:0;
  overflow:visible;
}

.cfdi-tarjetas-wrap{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
  width:100%;
  max-width:620px;
  margin:12px auto 30px;
}

.cfdi-resumen-card{
  text-align: center;
  display:flex;
  align-items:center;
  justify-content:space-between;
  /* gap:40px; */
  width:620px;
  max-width:100%;
  min-height:144px;
  padding:32px 40px;
  box-sizing:border-box;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0px 0px 5px 0px #003799;
  cursor:pointer;
  font-family:'Quicksand', sans-serif;
  transition:transform .18s ease, box-shadow .25s ease;
}

.cfdi-resumen-card:hover{
  box-shadow:0px 0px 15px 0px #003799;
}

.cfdi-resumen-card.cfdi-card-timbres{
  flex-direction:column;
  gap:0;
  min-height:177px;
  cursor:default;
  width:620px;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded{
  cursor:pointer;
  justify-content:center;
  text-align:center;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded .cfdi-timbres-expandido-layout{
  justify-content:center;
  gap:50px;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded .cfdi-timbres-col-izq{
  align-items:center;
  gap:0;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded .cfdi-timbres-col-der{
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:15px;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded .cfdi-timbres-titulo{
  font-size:36px;
}

.cfdi-resumen-card.cfdi-card-timbres.cfdi-t3-expanded .cfdi-timbres-precio-grande{
  font-size:36px;
}

.cfdi-timbres-expandido-layout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  width:100%;
}

.cfdi-timbres-col-izq{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:flex-start;
  flex:1;
  min-width:0;
}

.cfdi-timbres-titulo{
  font-weight:600;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#000B33;
  font-family:'Quicksand', sans-serif;
  cursor:pointer;
}

.cfdi-timbres-select-wrap{
  position:relative;
  width:240px;
  max-width:100%;
}

.cfdi-timbres-select-wrap label{
  position:absolute;
  top:-8px;
  left:10px;
  z-index:2;
  background:#ffffff;
  padding:0 4px;
  font-size:12px;
  font-weight:500;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
  margin-bottom:0;
  line-height:1.2;
}

.cfdi-timbres-select-wrap select{
  width:240px;
  max-width:100%;
  height:57px;
  padding:16.5px 14px;
  border-radius:8px;
  border:1px solid #003799;
  background:#fff;
  color:#0f172a;
  font-size:18px;
  font-weight:600;
  box-sizing:border-box;
}

.cfdi-timbres-selected-view{
  min-height:56px;
  display:flex;
  align-items:center;
}

.cfdi-timbres-selected-cantidad{
  font-size:36px;
  font-weight:600;
  color:#000000;
  letter-spacing:-0.02em;
  font-family:'Quicksand', sans-serif;
}

.cfdi-timbres-col-der{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  text-align:right;
  cursor:pointer;
  flex-shrink:0;
}

.cfdi-timbres-col-der .cfdi-card-sub{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
  margin: 0 auto;
}

.cfdi-timbres-precio-grande{
  font-size:32px;
  font-weight:700;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#003799;
  font-family:'Quicksand', sans-serif;
}

.cfdi-tarjeta-oculta{
  display:none!important;
}

.cfdi-card-expandida{
  justify-content:center;
  gap:50px;
  cursor:default;
  text-align: center;
}

.cfdi-card-expandida .cfdi-card-titulo{
  font-size:36px;
}

.cfdi-card-expandida .cfdi-card-precio-line{
  font-size:36px;
  margin: 0 auto;
}

.cfdi-card-expandida .cfdi-card-der{
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  text-align: center;
}

.cfdi-card-titulo{
  font-weight:600;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#000B33;
  font-family:'Quicksand', sans-serif;
  text-align:center;
  flex-shrink:0;
}

.cfdi-card-der{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  gap:4px;
  text-align:right;
  flex-shrink:0;
}

.cfdi-card-precio-line{
  font-weight:700;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#003799;
  font-family:'Quicksand', sans-serif;
}

.cfdi-card-anual{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
}

.cfdi-card-sub{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
  text-align: center !important;
}

.resultado-pago.resultado-pago-cfdi.cfdi-detalle-oculto{
  display:none;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles{
  margin-top:10px;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles::after{
  display:none;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles .price{
  display:none;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles #datosBanco{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles .dato{
  box-sizing:border-box;
  width:586px;
  max-width:100%;
  margin:0 auto;
  min-height:47px;
  padding:8px 26px;
  border-radius:12px;
  border:2px solid #6B737A;
  background:#ffffff;
}

.resultado-pago.resultado-pago-cfdi.cfdi-datos-visibles .dato:hover{
  background:#ffffff;
  border-color:#6B737A;
}

.cfdi-volver-listado{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  box-sizing:border-box;
  width:227px;
  max-width:calc(100% - 24px);
  height:39px;
  margin:20px auto 0;
  padding:8px 12px;
  border-radius:12px;
  border:2px solid #00379999;
  background:#fff;
  color:#00379999;
  font-weight:700;
  font-size:14px;
  letter-spacing:-0.02em;
  text-transform:uppercase;
  white-space:nowrap;
  cursor:pointer;
  font-family:inherit;
}

.cfdi-volver-listado::before{
  content:"";
  display:inline-block;
  width:21px;
  height:21px;
  flex-shrink:0;
  background:url('../../img/renovaciones/regreso.png') no-repeat center/contain;
}

.cfdi-volver-listado:hover{
  background:#f4f7fc;
}

/* ========================= */
/* LISTA PB - TARJETAS */
/* ========================= */
.lpb-resumen-card{
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:620px;
  max-width:100%;
  min-height:104px;
  padding:32px 60px;
  box-sizing:border-box;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0px 0px 5px 0px #003799;
  cursor:pointer;
  font-family:'Quicksand', sans-serif;
  transition:transform .18s ease, box-shadow .25s ease;
}

.lpb-resumen-card:hover{
  box-shadow:0px 0px 15px 0px #003799;
}

.lpb-tarjeta-oculta{
  display:none!important;
}

.lpb-card-expandida{
  justify-content:center;
  gap:50px;
  cursor:default;
  text-align:center;
}

.lpb-card-expandida .lpb-card-titulo{
  font-size:36px;
}

.lpb-card-expandida .lpb-card-precio-line{
  font-size:36px;
  margin:0 auto;
}

.lpb-card-expandida .lpb-card-der{
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  text-align:center;
}

.lpb-card-titulo{
  font-weight:600;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#000B33;
  font-family:'Quicksand', sans-serif;
  text-align:center;
  flex-shrink:0;
}

.lpb-card-der{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  gap:4px;
  text-align:right;
  flex-shrink:0;
}

.lpb-card-precio-line{
  font-weight:700;
  font-size:32px;
  line-height:100%;
  letter-spacing:-0.02em;
  color:#003799;
  font-family:'Quicksand', sans-serif;
}

.lpb-card-anual{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
}

.lpb-card-sub{
  font-size:22px;
  font-weight:500;
  line-height:100%;
  color:rgba(0,0,0,0.72);
  font-family:'Quicksand', sans-serif;
  text-align:center!important;
}

/* ========================= */
/* LISTA PB - COLEGIOS */
/* ========================= */
.pago-lista-flujo{
  border-left:none;
  padding:0;
  overflow:visible;
}

.lpb-colegios-wrap{
  width:100%;
  max-width:620px;
  margin:30px auto 0;
}

.lpb-colegios-intro{
  font-family:'Quicksand', sans-serif;
  font-size: 24px;
  font-weight:600;
  color:#000B33;
  margin:0 0 30px;
}

.lpb-colegios-card{
  width:620px;
  max-width:100%;
  margin:0 auto;
  padding:20px 24px 32px;
  border-radius:20px;
  border:2px solid rgba(0,55,153,0.6);
  background:#ffffff;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  gap:20px;
  box-sizing:border-box;
  transition:all .25s ease;
  cursor:default;
}

.lpb-colegios-card:hover{
  border-color:#003799;
  box-shadow:0px 5px 15px 0px rgba(0,0,0,0.35);
}

.lpb-colegios-titulo{
  font-family:'Quicksand', sans-serif;
  font-size:18px;
  font-weight:700;
  color:#000B33;
  margin:0;
}

.lpb-field{
  position:relative;
}

.lpb-field label{
  position:absolute;
  top:-8px;
  left:10px;
  z-index:2;
  background:#ffffff;
  padding:0 4px;
  margin:0;
  font-size:12px;
  font-weight:400;
  color:#000B33;
  line-height:12px;
  font-family:'Quicksand', sans-serif;
}

.lpb-field select,
.lpb-field input{
  width:100%;
  height:57px;
  padding:16.5px 14px;
  border-radius:8px;
  border:2px solid #003799;
  background:#fff;
  color:#0f172a;
  font-size:16px;
  font-weight:400;
  box-sizing:border-box;
  font-family:'Quicksand', sans-serif;
}

.lpb-field select{
  padding-right:44px;
}

.lpb-validar-btn{
  width:100%;
  height:42px;
  padding:11px 41px;
  border-radius:10px;
  border:none;
  background:#003899;
  color:#ffffff;
  font-family:'Quicksand', sans-serif;
  font-size:16px;
  font-weight:700;
  line-height:100%;
  text-transform:uppercase;
  letter-spacing:0;
  cursor:pointer;
  text-align:center;
  box-sizing:border-box;
  transition:opacity .2s ease;
}

.lpb-validar-btn:hover{
  opacity:0.9;
}

/* ========================= */
/* ANIMACIONES */
/* ========================= */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeDown{
  from{
    opacity:0;
    transform:translateY(-20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes spin{
  to{
    transform:rotate(360deg);
  }
}

.aviso-texto{
  font-family: Quicksand;
font-weight: 600;
font-style: SemiBold;
font-size: 14px;
line-height: 23px;
letter-spacing: 2%;
text-align: left;

}


/* 🔥 #extra sólo cuando tiene contenido (evita recuadro gris vacío) */
#extra:empty{
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:none!important;
  min-height:0!important;
}

#extra:not(:empty),
#extra:not(:empty) * {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

/* CONTENEDOR DE EXTRA (LISTAS PB) */
#extra:not(:empty){
  margin-top: 15px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  animation: fadeUp .3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

/* INPUTS DE EXTRA MÁS PRO */
#extra:not(:empty) input,
#extra:not(:empty) select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  background: white;
  transition: all .25s ease;
  font-size: 14px;
}

/* HOVER */
#extra:not(:empty) input:hover,
#extra:not(:empty) select:hover {
  border-color: var(--primary);
}

/* FOCUS */
#extra:not(:empty) input:focus,
#extra:not(:empty) select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
  transform: scale(1.01);
}

/* BOTÓN VALIDAR MÁS PRO */
#extra:not(:empty) .btn {
  margin-top: 10px;
  width: 50%;
  max-width: 250px;
}


.dato{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f8fafc;
  padding:12px;
  border-radius:10px;
  margin-top:8px;
  border:1px solid #e2e8f0;
  transition:.2s;
  font-family:'Quicksand', sans-serif;
  font-size:18px;
  line-height:23px;
  letter-spacing:0.02em;
}

.dato .dato-label{
  font-weight:500;
}

.dato strong{
  font-weight:700;
}

.dato:hover{
  background:#eef6ff;
  border-color:#2563eb;
}

.dato button{
  background:#2563eb;
  color:white;
  border:none;
  border-radius:8px;
  cursor:pointer;
  padding:6px 10px;
  transition:.2s;
}

.dato button:hover{
  transform:scale(1.1);
}


.dato button {
  position: relative;
  z-index: 10;
}

.resultado-pago::after,
.card::after,
.pago::before {
  pointer-events: none;
}




.opcion{
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f3f6;
  border: 1px solid #e0e3e8;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Hover */
.opcion:hover{
  background: #e9f0ff;
  border-color: #3b82f6;
  color: #2563eb;
}

/* Activo (azul que ya te gusta pero mejorado) */
.opcion.active{
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transform: scale(1.05);
}

/* Click efecto */
.opcion:active{
  transform: scale(0.96);
}
