@keyframes react-loading-skeleton {
  100% {
    transform: translateX(100%);
  }
}

.react-loading-skeleton {
  --base-color: #ebebeb;
  --highlight-color: #f5f5f5;
  --animation-duration: 1.5s;
  --animation-direction: normal;
  --pseudo-element-display: block; /* Enable animation */

  background-color: var(--base-color);

  width: 100%;
  border-radius: 0.25rem;
  display: inline-flex;
  line-height: 1;

  position: relative;
  user-select: none;
  overflow: hidden;
}

.react-loading-skeleton::after {
  content: ' ';
  display: var(--pseudo-element-display);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-image: var(
    --custom-highlight-background,
    linear-gradient(
      90deg,
      var(--base-color) 0%,
      var(--highlight-color) 50%,
      var(--base-color) 100%
    )
  );
  transform: translateX(-100%);

  animation-name: react-loading-skeleton;
  animation-direction: var(--animation-direction);
  animation-duration: var(--animation-duration);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion) {
  .react-loading-skeleton {
    --pseudo-element-display: none; /* Disable animation */
  }
}
/* =========================
   INPUTS
========================= */

.input-container {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.input-form {
  width: 100%;
  min-width: 0;
  height: 100%;
  font-size: 18px;
  color: #757680;
  box-sizing: border-box;
}

/* SOLO inputs que tienen iconos */
.input-with-icons {
  padding-right: 120px;
}

@media (max-width: 576px) {
  .input-with-icons {
    padding-right: 90px;
  }
}

.input-form::placeholder {
  color: #757680;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 18px;
  opacity: 1;
}

.input-error {
  border: 2px solid #df1b41;
}

.label-error {
  font-size: 15px;
  font-weight: 400;
  color: #df1b41;
}


/* =========================
   CARD ICONS
========================= */

.card-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 576px) {
  /* Oculta los 3 iconos en mobile */
  .card-icons.unknown {
    display: none;
  }
}

.card-icons img {
  width: clamp(22px, 4vw, 32px);
  height: clamp(22px, 4vw, 32px);
}


/* =========================
   FORM
========================= */

.form .label-form {
  font-weight: normal;
}


/* =========================
   POLICY
========================= */

.policy {
  margin-top: 15px;
  margin-bottom: 20px;
}

.label-policy {
  display: flex;
  align-items: center;
  gap: 12px; /* separación automática entre checkbox y texto */
}

.policy-span {
  margin-left: 15px;
  font-size: 10px;
  text-align: justify;
}



/* =========================
   ALERT (BOOTSTRAP 4)
========================= */

.alert {
  position: relative;
  padding-right: 48px;
}

.alert.alert-warning {
  border: 2px solid #ffe9a7;
}


/* =========================
   ICONO WARNING
========================= */

.alert.alert-warning > .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  color: #ff8f00;
  margin-right: 8px;
  vertical-align: middle;
}


/* =========================
   BOTÓN CERRAR
========================= */

.alert-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.alert-close-btn .material-symbols-outlined {
  font-size: 20px;
  color: #a39b91;
}

.app-loader {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(1px);
  display: none;   
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.app-loader.show {
  display: flex;     
}
.svg-loader {
  width: 90px;
  height: 90px;
}
.svg-loader img {
  width: 100%;
  height: 100%;
  animation: rotate 1.3s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}
.loader-text {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
