*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Open Sans", Sans-serif;
}
html{
font-size:60%;
background-color: #f7f8f9;
}
body{
  font-size: 1rem;
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: white;
  padding: 5rem;

}

.inpdin {
  width: 10rem !important;
  height: 8rem !important;
  text-align: center;
  margin-right: 3.5rem;
  font-size: 9rem;
  color: black;
  cursor: default;
  border: none;
  border-bottom: solid rgba(0, 0, 0, 0.459) ;
  outline: none;
  margin-top: 9rem;
  margin-bottom: 6rem;
}

.inpdin2 {
  width: 10rem !important;
  height: 8rem !important;
  text-align: center;
  margin-right: 3.5rem;
  font-size: 9rem;
  color: black;
  cursor: default;
  border: none;
  border-bottom: solid rgba(0, 0, 0, 0.459) ;
  outline: none;
  margin-top: 9rem;
  margin-bottom: 6rem;
}
.primerinp{
  margin-right: 0px;
  gap: 20px;
  margin-top: 50px;
  justify-content: center;
}

.input-container {
  display: flex;
  justify-content: center;
}


.small-image{
  width: 50rem;
}
.small-image2{
  width: 40rem;
  margin-left: 30rem;
  margin-top: 5rem;
}

.small-image3{
  width: 40rem;
  margin-left: 30rem;
}
.container {
  margin: 2rem;
  text-align: center; /* Alinea el contenido al centro */
}

.hola{
    margin-top: 20rem;
    margin-bottom: 8rem;

    font-size: 6rem;
}
.titulo2{
  font-size: 4rem;
  color: #414141;
  margin: 9rem 2rem 9rem 2rem;
}

.tulo22{
  font-size: 3.3rem;
  color: #414141;
  margin: 9rem 2rem 9rem 2rem;
}

.clabbb{
  font-weight: 600;
  font-size: 5.7rem;
  color: #414141;
  margin: 29rem 2rem 9rem 2rem;
}

.input-box {
  position: relative;
  width: 93%;
  margin-left: 3.5rem;
  background-color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-style: solid;
  border-color: #d5d4d436;
  border-radius: 5rem;
  z-index: 1;
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.iconouser{
  position: absolute;
  top: 9.5rem;
  left:9rem;
  width: 7%;
  margin-bottom: -3rem;
}
.iconopass{
  width: 5%;
  margin-top: 12rem;
  margin-bottom: 3rem;
}
.titulo2verificacion{
  font-size: 5rem;
  color: #414141;
}
.titulo2ver{
  font-size: 3.2rem;
  color: #414141; 
}
.inputdin{
  width: 70%;
  outline: none;
  font-size: 15rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  padding: 1rem;
  padding-left: 9rem;
  background-image: url('fondo-di1.png');
  background-size: 100% auto; /* Ajusta el tamaño aquí */
  background-repeat: no-repeat;
  background-position: right;
  letter-spacing: 6.5rem; /* Ajusta el espacio entre letras aquí */

}
.tituloespera{
  font-size: 4rem;
  color: #414141;
  margin: 28rem 2rem 4rem 2rem;
}
.titulo2din{
  font-size: 3rem;
  color: #414141;
  margin: 2rem 2rem 4rem 2rem;
}
.titulo2pass{
  font-size: 4rem;
  color: #414141;
  margin: 2rem 2rem 0rem 2rem;
}
.cajotaerr{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: -10rem;

}
.caja_error{
background-color: rgb(53, 53, 55);
border-top-right-radius: 5rem;
border-bottom-right-radius: 5rem;
border-style: solid;
width: 75%;
border-color: rgb(53, 53, 55);;
height: 15rem;
padding: 3rem;
color:white
}
.rojito1{
  background-color: rgb(255, 127, 65);
  width: 12%;
  height: 15rem;
  border-top-left-radius: 5rem;
  border-bottom-left-radius: 5rem;

}
.loading{
  margin-top: 9rem;
  width: 15%;
}
.alerta{
  width: 100%;
  margin-bottom: -12rem;
  margin-right: 1rem;
}
.errortexto{
  font-size: 4rem;
  color:rgba(255, 255, 255, 0.747);
  display: inline;
}
.hola2{
  margin-top: 2rem;
  font-size: 6rem;
}
.iconocard{
  width: 10%;
}
.inputcard{
  width: 90%;
  height: 8rem;
  outline: none;
  font-size: 4rem;
  margin-top: 0rem;
  border: none;
  padding-left: 2.6rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  letter-spacing: 2.7rem; /* Ajusta el espacio entre letras aquí */
}
.logooficial{
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.verificada{
width: 60%;
margin-top: 30rem;
margin-right: -5rem;
margin-bottom: 5rem;
}

.input{
  width: 85%;
  outline: none;
  font-size: 4rem;
  margin-top: 10rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #9f9f9f;
  padding: 2rem;
  padding-left: 10rem;
}
::placeholder{
  font-size: 4.5rem;
  color: black;
}
.inputpass{
  width: 40%;
  outline: none;
  font-size: 13rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  padding: 1rem;
  padding-left: 3rem;
  background-image: url('fondo-cl2.png');
  background-size: 110% auto; /* Ajusta el tamaño aquí */
  background-repeat: no-repeat;
  background-position: right;
  letter-spacing: 5rem; /* Ajusta el espacio entre letras aquí */
}

.inputmes{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 7rem;
}
.inputaño{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-top: 2rem;
  margin-left:2rem ;
  margin-right: 2rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 5rem;

}
.inputcodigo{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 6rem;

}
.btn-continuar {
  font-size: 5rem;
  background-color: #F8DC23;
  color: black;
  padding: 10px 10px;
  border: none;
  cursor: pointer;
  border-radius: 8rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
  width: 60%;
  height: 15rem;
  line-height: 30px;
  font-weight: 600;
}
.noeres{
  margin-left: 43rem;
  font-size: 3rem;
  color: #414141;
}
.fondo{
  position: static;
  z-index: 1;
  margin-top: -9rem;
  width: 100vw;
  margin-left: -2rem;
}
  
/* ===== PANTALLA DE ESPERA - DISEÑO PREMIUM ===== */
.espera-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  animation: fadeInEspera 0.4s ease;
}

@keyframes fadeInEspera {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.espera-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  min-width: 36rem;
  max-width: 90vw;
  animation: slideUpCard 0.45s cubic-bezier(.22,.68,0,1.2) both;
}

@keyframes slideUpCard {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.espera-logo {
  height: 3.4rem;
  margin-bottom: 0.4rem;
}

.espera-spinner-wrap {
  position: relative;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.espera-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 5px solid #eeeeee;
  border-top-color: #fdda24;
  border-right-color: #fdda24;
  animation: spinRing 0.9s cubic-bezier(.55,.15,.45,.85) infinite;
}

.espera-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #2c2a29;
  animation: spinRingInner 1.4s linear infinite reverse;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

@keyframes spinRingInner {
  to { transform: rotate(360deg); }
}

.espera-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #2c2a29;
  text-align: center;
  margin: 0;
  letter-spacing: -0.2px;
}

.espera-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  color: #777;
  text-align: center;
  margin: -1.2rem 0 0;
  line-height: 1.5;
}

.espera-dots {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.espera-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #fdda24;
  animation: dotPulse 1.4s ease-in-out infinite;
}

.espera-dot:nth-child(2) { animation-delay: 0.2s; }
.espera-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40%           { opacity: 1;   transform: scale(1); }
}

.espera-secure {
  font-size: 1.15rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

/* Legacy classes kept for compatibility */
.circuloc { display: none; }
.spinner-container { display: none; }
.spinner { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

  .containertd {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.card-preview {
    flex: 1;
    min-width: 600px;
    perspective: 1000px;
padding-left: 6rem;
padding-right: 6rem;
}

.card {
    position: relative;
    width: 100%;
    height: 40rem;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4rem;
    padding: 20px;
    background: linear-gradient(135deg, #f8d50b, #f8d303);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #e7c819, #e7c819);
}

.chip {
    width: 90px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border-radius: 8px;
    margin-left: 3rem;
    margin-top: 4rem;
}
.cvv-strip{
  font-size: 3rem;
margin-top: -1rem;

}
.card-number {
  margin-top: 2rem;
    font-size: 5rem;
    color: white;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.card-info {
    display: flex;
    justify-content: space-between;
    color: white;
}

.card-holder, .card-expiry {
    font-size:3rem;
    margin-top: 7rem;
    margin-left: 3rem;
}

.card-back .black-strip {
    background: #000;
    height: 40px;
    margin: 20px 0;
}

.card-back .cvv-strip {
    background: white;
    height: 40px;
    margin: 20px 0;
    padding: 10px;
    text-align: right;
}

.form-container {
    flex: 1;
    min-width: 800px;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.form-group1 {
    margin-bottom: 20px;
}

.label1 {
    display: block;
    margin-bottom: 8px;
    margin-top: 2rem;
    color: #333;
    font-weight: bold;
    font-size: 4rem;

}

.label2 {
    display: block;
    margin-bottom: 3rem;
    margin-top: 2rem;
    color: #333;
    font-weight: bold;
    font-size: 3.7rem;
    padding: 1rem;

}

.inputt, .selectt {
  margin-bottom: 3rem;
    width: 100%;
    padding: 12px;
    border: 2px solid #8d8787;
    border-radius:2rem;
    font-size: 4rem;
    transition: all 0.3s ease;
    text-align: center;
}

.inputt:focus, .selectt:focus {
    border-color: #F8DC23;
    outline: none;
    box-shadow: 0 0 0 3px gray;
}
.inputt::placeholder{
  font-size: 4rem;
  text-align: center;
  
}
.row {
    display: flex;
    flex-direction: column;
}

.buttont {
    width: 100%;
    height: 10rem;
    padding: 15px;
    background: #F8DC23;
    color: black;
    border: none;
    border-radius: 2rem;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buttont:hover {
    background: #380603;
}

.card-type {
    position: absolute;
    top: 270px;
    right: 80px;
    width: 70px;
    height: 80px;
    background: transparent;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#cardLogo{
  height: 90px;
}