/* CONSTANTES GLOBALES PARA EL DESARROLLO DEL DISEÑO */
:root {
  /* Texto */
  --color-font: #FFFFFF;
  --color-font-2: #00DE00;
  --color-font-3: #100029;

  /* Fondos */
  --color-background: #F3F4F6;
  --color-background-2: #100029;
  --color-background-cards: #FFFFFF;
  --color-background-plains: #FE500B;

  /* Bordes */
  --color-border: #100029;

  /* Sombras (más profundas para dark mode) */
  --box-shadown: 0 2px 4px rgba(0, 0, 0, 0.1);
  --box-shadown-2: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* CONFIGURACIONES GLOBALES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

/* DIMENCIONES DEL HTML Y BODY */
html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
}

/* DISEÑO DEL SCROLL */
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 2px;
}

.separator {
  width: 80%;
  margin: 4px 36px;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* DISEÑO DEL CARRUSEL SECCCION DEL VIDEO */
.carrusel {
  width: 100%;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* DISEÑO DEL CONTENEDOR DEL VIDEO */
.bg-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 25px rgb(0, 0, 0);
}

/* DISEÑO DEL VIDEO */
.bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* DISEÑO DEL CONTENIDO SOBRE EL VIDEO */
.contenido {
  background-color: #0000001e;
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 20px;
}

/* DISEÑO DEL TITULO */
.contenido h1 {
  font-size: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
  color: var(--color-font);
}

/* DISEÑO DEL TITULO RESALTADO */
.contenido .resalted {
  appearance: none;
  color: var(--color-font-2);
  font-weight: 700;
}

/* DISEÑO DEL SUBTITULO */
.subbtitulo {
  margin-top: 20px;
  color: var(--color-font);
  max-width: 800px;
  line-height: 1.5;
}

/* TITULO DE ACCESO */
.title-access {
  height: 30%;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* DISEÑO DEL CONTENEDOR DE OPCIONES DE ACCESO */
.options-access {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 100%;
}

/* DISEÑO DEL BOTON DE ACCESO */
.options-access div{
  width: 100%;
  height: 80%;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.options-access div:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.options-access div img{
  max-width: 80%;
  height: auto;
}

/* CONTENEDOR DEL FORMULARIO Y PLANES */
.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 5%;
  padding-top: 180px;
}

/* PLANES FLOTANTES */
.content-plains {
  width: 80%;
  display: flex;
  justify-content: space-between;
  gap: 0px;
  background-color: #FE500B;
  box-shadow: var(--box-shadown-2);
  border-radius: 15px;
  position: absolute;
  top: 50%;
  overflow: hidden;
  z-index: 3;
}

.content-plains > div {
  flex: 1;
  min-width: 150px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  border-right: 2px solid white;
}

.content-plains > div:last-child {
  border-right: none;
}

.first-target-plains{
  background-color: var(--color-background-2);
  border-radius: 15px 0 0 15px;
}

.content-plains > div p {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.5;
}

.content-plains > div img {
  max-width: 20%;
  height: auto;
  border-radius: 4px;
}

/* CONTENEDOR DE FORMS */
.forms {
  background-color: var(--color-background-cards);
  width: 88%;
  height: auto;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--box-shadown-2);
  overflow: visible;
}

/* Solo aplica al arte lateral del formulario */
.forms > .forms-hero {
  align-self: center;
  max-width: 84%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.content-camps-form{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.form-group {
  width: 40%;
  min-width: 170px;
  display: flex;
  flex-direction: column;
}

.contenedor-button{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenedor-button button{
  min-width: 150px;
  padding: 12px 24px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  background-color: var(--color-background-2);
  color: var(--color-font);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contenedor-button button:hover{
  background-color: #1f0044;
  transform: translateY(-2px);
}

.button-cancelar {
  background-color: #dc2626 !important;
}

.button-cancelar:hover {
  background-color: #b91c1c !important;
}

.button-volver {
  background-color: #64748b !important;
}

.button-volver:hover {
  background-color: #475569 !important;
}

.forms label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-font-3);
}

.form p{
  font-size: 1.5rem;
  color: var(--color-font-3);
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
}

.forms input{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font-size: 1rem;
}

.forms select{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font-size: 1rem;
}

/* Diseño del contenedor de formularios dinamicos */
.content-forms-dinamics{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  overflow-y: visible;
}

/* Diseño botones usuarios */
.options-users{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.options-users button{
  min-width: 140px;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  color: var(--color-font-3);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.active-btn{
  background-color: var(--color-background-2) !important;
  color: var(--color-font) !important;
  font-weight: 700;
}

/* clase del elemento seleccionado tipo de pago */
.active-btn-2{
  background-color: var(--color-background-2) !important;
  color: var(--color-font) !important;
  font-weight: 700;
}

.type-donations button{
  min-width: 180px;
  padding: 12px 24px;
  margin: 10px;
  border: none;
  background-color: var(--color-background);
  color: var(--color-font-3);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-plan:hover{
  background-color: var(--color-background-2) !important;
  color: var(--color-font) !important;
  font-weight: 700;
}


/* Contenedor de precios */
.content-prices{
  width: 82%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.price{
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price button{
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  background-color: var(--color-background);
  color: var(--color-font-3);
  border: 0.5px solid var(--color-border);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.price button:hover {
  background-color: var(--color-background-2);
  color: var(--color-font);
  font-weight: 700;
}

/* Diseño global del Formulario */
.form {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.type-donations {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* DISEÑO DEL FORMULARIO DE ÉXITO */
.form-exito-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 15px 10px;
}

.form-exito-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.form-exito-icon {
  animation: scaleIn 0.6s ease-out;
  width: 50px;
  height: 50px;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form-exito-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-font-3);
  text-align: center;
  margin: 0;
}

.credenciales-usuario {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credencial-card {
  background-color: var(--color-background);
  border-radius: 10px;
  padding: 12px 15px;
  box-shadow: var(--box-shadown);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credencial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.credencial-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-background-2);
  margin-bottom: 8px;
  text-align: left;
}

.credencial-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 6px;
}

.credencial-value {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-font-3);
  word-break: break-all;
  transition: background-color 0.6s ease;
}

.btn-copiar {
  background-color: var(--color-background-2);
  color: var(--color-font);
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-copiar:hover {
  background-color: #1f0044;
  transform: scale(1.08);
}

.btn-copiar:active {
  transform: scale(0.95);
}

.credencial-tip {
  font-size: 0.80rem !important;
  color: #6b7280;
  font-style: italic;
  text-align: left;
  margin: 0;
  line-height: 1.3;
}

/* DISEÑO DE FOOTER */
.footer {
  background-color: #100029;
  color: white;
  padding: 40px 20px;
}

/* FILA DE 4 COLUMNAS */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* CADA COLUMNA */
.footer-box {
  flex: 1;
  min-width: 200px;
}

/* TÍTULOS DEL FOOTER */
.footer-box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-font);
}

.footer-box .social-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* PÁRRAFOS Y ENLACES */
.footer-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-box a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-box a:hover {
  color: var(--color-font-2);
}

/* IMÁGENES */
.footer-box img {
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

/* REDES SOCIALES */
.social-media {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-media a {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.social-media a:hover {
  color: var(--color-font-2);
  transform: translateY(-3px);
}

/* PARTE INFERIOR */
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-bottom h2 {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-bottom h2:hover {
    color: var(--color-font-2);
  }

.currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 6px;
  font-weight: 700;
  color: var(--color-font-3);
}

.currency-label {
  font-size: 0.95rem;
}

.currency-switch {
  position: relative;
  display: inline-block;
  background-color: var(--color-background-2);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  width: 54px;
  height: 28px;
}

.currency-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.currency-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.35);
  transition: .3s;
  border-radius: 28px;
}

.currency-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-background);
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.currency-switch input:checked + .currency-slider {
  background-color: var(--color-primary);
}

.currency-switch input:checked + .currency-slider:before {
  transform: translateX(26px);
}

.select-plan {
  width: auto;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #f8f6ff;
  outline: none;
  flex: 1 1 240px;
}

.select-plan:focus {
  box-shadow: 0 0 0 2px rgba(53, 6, 68, 0.15);
}

.label-plan {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--color-primary);
}

.custom-plan-wrapper {
  margin-top: 0;
  display: none;
  flex: 1 1 200px;
}

.custom-plan-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
}

.custom-plan-input:focus {
  box-shadow: 0 0 0 2px rgba(53, 6, 68, 0.12);
}

.plan-select-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Tablets y pantallas medianas (menor a 1024px) */
@media screen and (max-width: 1024px) {
  /* Ajustar el título del carrusel */
  .contenido h1 {
    font-size: 2.5rem;
    flex-direction: column;
  }

  /* Ajustar planes flotantes */
  .content-plains {
    width: 90%;
    top: 45%;
    gap: 0;
  }

  .content-plains > div {
    padding: 10px;
    min-width: 120px;
  }

  .content-plains > div p {
    font-size: 0.8rem;
  }

  .content-plains > div h1 {
    font-size: 1rem;
  }

  .content-plains > div img {
    max-width: 30%;
  }

  /* Ajustar contenedor de formularios */
  .forms {
    width: 85%;
    flex-direction: column;
  }

  .forms > .forms-hero {
    max-width: 100%;
    height: auto;
  }

  /* Ajustar grupos de formulario */
  .form-group {
    width: 45%;
  }

  /* Formulario de éxito */
  .form-exito-title {
    font-size: 1.5rem;
  }

  .form-exito-icon {
    width: 48px;
    height: 48px;
  }

  /* Ajustar footer */
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-box {
    min-width: 45%;
  }
}

/* Tablets pequeñas (menor a 768px) */
@media screen and (max-width: 768px) {
  /* Carrusel */
  .carrusel {
    height: 50%;
  }

  .contenido h1 {
    font-size: 2rem;
    padding: 0 20px;
  }

  .contenido .subbtitulo {
    font-size: 0.9rem;
    padding: 0 20px;
  }

  /* Planes flotantes - convertir a vertical */
  .content-plains {
    position: relative;
    top: 0;
    width: 95%;
    flex-direction: column;
    margin-top: 20px;
  }

  .content-plains > div {
    border-right: none;
    border-bottom: 2px solid white;
    min-width: 100%;
  }

  .content-plains > div:last-child {
    border-bottom: none;
  }

  .first-target-plains {
    border-radius: 15px 15px 0 0;
  }

  .content-plains > div img {
    max-width: 15%;
  }

  /* Container del formulario */
  .form-container {
    padding: 20px;
    gap: 15px;
  }

  /* Botones de usuario */
  .options-users {
    flex-direction: column;
    width: 100%;
  }

  .options-users button {
    width: 90%;
  }

  /* Formularios */
  .forms {
    width: 95%;
    padding: 15px;
  }

  /* Ocultar solo la imagen lateral, no los íconos SVG */
  .forms > .forms-hero {
    display: none;
  }

  /* Grupos de formulario a columna completa */
  .form-group {
    width: 100%;
  }

  /* Botones de tipo de donación */
  .type-donations {
    flex-direction: column;
    width: 100%;
  }

  .type-donations button {
    width: 90%;
    min-width: auto;
  }

  /* Precios en columna */
  .content-prices {
    flex-direction: column;
    width: 100%;
  }

  .price {
    width: 90%;
  }

  .price button {
    width: 100%;
  }

  /* Formulario de éxito responsive */
  .form-exito-container {
    padding: 12px 10px;
    gap: 15px;
  }

  .form-exito-title {
    font-size: 1.4rem;
  }

  .form-exito-icon {
    width: 45px;
    height: 45px;
  }

  .credencial-card {
    padding: 10px 12px;
  }

  .credencial-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
  }

  .btn-copiar {
    width: 100%;
    height: 36px;
  }

  /* Footer a columna */
  .footer-top {
    flex-direction: column;
  }

  .footer-box {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  /* Restore original access mobile view */
  .options-access .options-users {
    width: 100%;
    max-width: 280px;
    height: 200px;
  }
}

/* Móviles pequeños (menor a 480px) */
@media screen and (max-width: 480px) {

  .forms{
    height: auto;
  }

  /* Carrusel */
  .contenido h1 {
    font-size: 1.5rem;
  }

  .contenido .subbtitulo {
    font-size: 0.8rem;
  }

  /* Planes */
  .content-plains > div {
    padding: 8px;
  }

  .content-plains > div p {
    font-size: 0.75rem;
  }

  .content-plains > div h1 {
    font-size: 0.9rem;
  }

  /* Formularios */
  .forms {
    padding: 10px;
  }

  .forms p {
    font-size: 1.2rem;
  }

  .forms input,
  .forms select {
    font-size: 0.9rem;
    padding: 8px;
  }

  .forms label {
    font-size: 0.9rem;
  }

  /* Botones */
  .contenedor-button button {
    width: 100%;
    min-width: auto;
    padding: 10px 20px;
  }

  .options-users button {
    min-width: auto;
    width: 100%;
    padding: 8px 16px;
  }

  .type-donations button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Formulario de éxito móvil */
  .form-exito-container {
    padding: 10px 8px;
    gap: 15px;
  }

  .form-exito-title {
    font-size: 1.25rem;
  }

  .form-exito-icon {
    width: 42px;
    height: 42px;
  }

  .credencial-card {
    padding: 10px 12px;
  }

  .credencial-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .credencial-value {
    font-size: 0.85rem;
  }

  .credencial-tip {
    font-size: 0.6rem !important;
  }

  .credencial-row {
    padding: 6px 10px;
  }

  .btn-copiar {
    padding: 6px 10px;
    font-size: 1rem;
    height: 32px;
  }

  /* Footer */
  .footer {
    padding: 30px 15px;
  }

  .footer-box h2 {
    font-size: 1rem;
  }

  .footer-box p {
    font-size: 0.85rem;
  }

  .social-media a {
    font-size: 1.3rem;
  }
}

/* Mejoras para pantallas muy grandes (mayor a 1600px) */
@media screen and (min-width: 1600px) {
  .content-plains {
    width: 70%;
  }

  .forms {
    width: 70%;
  }

  .contenido h1 {
    font-size: 4rem;
  }
}

/* ===== LOADER DE PAGO ===== */
#payment-loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 0, 41, 0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.payment-loader-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  min-width: 260px;
}

.payment-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: opacity 0.3s ease;
}

.payment-step-inactive {
  opacity: 0.35;
}

.payment-step-connector {
  width: 2px;
  height: 14px;
  background: #e5e7eb;
  margin-left: 13px;
}

.payment-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-step-icon--loading {
  border: 3px solid #e5e7eb;
  border-top-color: #100029;
  animation: spin 0.8s linear infinite;
}

.payment-step-icon--success { background: #00DE00; }
.payment-step-icon--error   { background: #e53e3e; }
.payment-step-icon--warning { background: #d69e2e; }
.payment-step-icon--pending {
  border: 2.5px solid #d1d5db;
  background: transparent;
}

.payment-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-step-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #100029;
}

.payment-step-status {
  font-size: 0.78rem;
  color: #6b7280;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== ESTADO DEL PAGO ===== */
.payment-status-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  border-radius: 14px;
  text-align: center;
  width: 100%;
}

.payment-status-icon-wrap {
  display: flex;
  justify-content: center;
}

.payment-status-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-font-3);
}

.payment-status-msg {
  font-size: 0.9rem;
  color: #4b5563;
  max-width: 320px;
  line-height: 1.5;
}

.payment-status-rejected .payment-status-title { color: #c53030; }
.payment-status-timeout  .payment-status-title { color: #b7791f; }
