/* ══════════════════════════════════════════
   LOGIN.CSS — Estilos de la pantalla de login
   Si cambia el diseño del login, solo tocas este archivo.
══════════════════════════════════════════ */

#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: 
    linear-gradient(rgba(0, 15, 40, 0.55), rgba(0, 15, 40, 0.55)),
    url('/static/Santiago.jpg') center center / cover no-repeat;
}
  
  .login-box {
    background: white;
    border-radius: 12px;
    padding: 40px 36px;
    width: 300px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .login-box img {
    width: 160px;
    margin-bottom: 8px;
  }
  
  /* ── CAMPOS ── */
  .login-field { width: 100%; }
  
  .login-field label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 4px;
  }
  
  .login-field input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #bbb;
    padding: 6px 2px;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    outline: none;
  }
  
  .login-field input:focus { border-bottom-color: var(--accent); }
  
  /* ── CONTRASEÑA ── */
  .password-wrapper { position: relative; }
  .password-wrapper input { padding-right: 32px; }
  
  .eye-btn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .eye-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
  }
  
  /* ── BOTÓN INGRESAR ── */
  .btn-login {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 0;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .btn-login:hover { background: var(--accent-hover); }
  
  /* ── ERROR ── */
  .login-error {
    color: var(--accent);
    font-size: 12px;
    text-align: center;
    min-height: 16px;
  }