/* ============================================================
   OPCIONES DE INICIO DE SESIÓN
============================================================ */

.login-options {
  display: flex;
  flex-direction: column;

  gap: 16px;

  margin-top: 28px;
}


/* ============================================================
   CONTENEDOR DE CADA OPCIÓN
============================================================ */

.login-option {
  width: 100%;

  padding: 18px 20px 20px;

  border: 1px solid #d3e5f4;
  border-radius: 10px;

  background: #fff;

  box-shadow: 0 2px 8px rgba(29, 84, 125, 0.04);
}


/* ============================================================
   TÍTULO DE LA OPCIÓN
============================================================ */

.login-option-title {
  margin-bottom: 12px;

  color: #102f55;

  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}


/* ============================================================
   BOTÓN INGRESAR DE LA OPCIÓN
============================================================ */

.btn-login-option {
  width: 100%;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 0;
  border-radius: 7px;

  background: #55ad50;

  color: #fff;

  font-family: inherit;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-login-option:hover {
  background: #489c44;

  color: #fff;

  transform: translateY(-1px);

  box-shadow: 0 4px 12px rgba(85, 173, 80, 0.2);
}

.btn-login-option:active {
  transform: translateY(0);

  box-shadow: none;
}

.btn-login-option:focus {
  outline: none;
}

.btn-login-option:focus-visible {
  outline: 3px solid rgba(85, 173, 80, 0.25);
  outline-offset: 2px;
}

/* ============================================================
   SEPARADOR ENTRE OPCIONES
============================================================ */

.login-option-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    color: #7893ad;
    font-size: 12px;
    font-weight: 700;
}

.login-option-divider::before,
.login-option-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d6e5f1;
}

.login-option-divider span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

/* ============================================================
   OPCIÓN CLAVEÚNICA
============================================================ */

.login-option-clave {
  padding-bottom: 20px;
}

/* ============================================================
  Login Alert
=============================================================*/ 

.login-alert {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    width: min(420px, calc(100% - 32px));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #f1b9b9;
    border-left: 5px solid #dc3545;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.login-alert-hide {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
}

.login-alert-icon {
    color: #dc3545;
    font-size: 24px;
    flex-shrink: 0;
}

.login-alert-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.login-alert-content strong {
    color: #842029;
    font-size: 14px;
}

.login-alert-content span {
    color: #495057;
    font-size: 13px;
}

.login-alert-close {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.login-alert-close:hover {
    color: #212529;
}

@media (max-width: 576px) {
    .login-alert {
        top: 12px;
        right: 12px;
        width: calc(100% - 24px);
    }
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 767px) {

  .login-options {
    gap: 14px;

    margin-top: 24px;
  }

  .login-option {
    padding: 16px 15px 18px;
  }

  .login-option-title {
    margin-bottom: 11px;

    font-size: 15px;
  }
}
