/* css/style.css */
:root{
  --bg:#f7f7fb;
  --card:#ffffff;
  --muted:#6b7280;
  --primary:#0d6efd;
  --success:#198754;
  --danger:#dc3545;
  --radius:1rem;
}
*{box-sizing:border-box}
html, body{height:100%}
body{
  background:var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:#111827; line-height:1.45;
}
.card{background:var(--card); border-radius:var(--radius); border:1px solid #e5e7eb;}
.form-control{padding:.65rem .75rem;}
.btn{border-radius:.75rem; padding:.6rem 1rem; font-weight:600;}
a{text-decoration:none;}
.small{ font-size:.9rem; color:var(--muted); }
.auth-brand{ font-weight:700; letter-spacing:.2px; }
footer.muted{ color:var(--muted); font-size:.85rem; }
.container-narrow{ max-width:520px; }
.alert{ border-radius:.75rem; }


/* Fondo con logo y efecto desenfoque */
.login-bg {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('assets/imagenes/ebluegestor.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Capa semitransparente para desenfoque */
.login-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(8px); /* desenfoque del fondo */
    background-color: rgba(0,0,0,0.3); /* oscurece un poco */
    z-index: 1;
}

/* Cajetín de login encima del fondo */
.login-card {
    position: relative;
    z-index: 2; /* para estar por encima del fondo desenfocado */
    max-width: 400px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* semi-transparente */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Logo dentro del cajetín */
.login-logo {
    max-width: 120px;
    height: auto;
}

/* Ajustes responsivos (opcional) */
@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }
    .login-logo {
        max-width: 100px;
    }
}

