/* ============================================
   LOGIN & ACESSOS – MAXSISTEN 2.0 PREMIUM
   ============================================ */

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #031833);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Card padrão (Login e Esqueci Senha) */
.card {
    width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.20);
    animation: fadeIn 0.5s ease;
    border: none;
}

/* Logo */
.logo {
    display: block;
    margin: 0 auto 15px;
    width: 100%;
    max-width: 260px;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.15));
}

/* Título */
.card-body h4 {
    font-weight: 700;
    color: #031833;
    margin-bottom: 20px;
}

/* Inputs (form-control padrão) */
.form-control {
    height: 38px !important;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    padding-left: 10px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.10rem rgba(13,110,253,0.3) !important;
}

/* Botão primário */
.btn-primary {
    width: 100%;
    height: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #0d6efd, #01306d);
    border: none;
    transition: 0.25s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.20);
}

/* Link "esqueci senha" ou "voltar" */
.forgot-password {
    text-align: center;
    margin-top: 12px;
}

.forgot-password a {
    text-decoration: none;
    color: #0d6efd;
    font-weight: 500;
    transition: 0.2s;
}

.forgot-password a:hover {
    color: #003d9a;
    text-decoration: underline;
}

/* Footer fixo */
footer.footer {
    position: fixed;
    bottom: 14px;
    width: 100%;
    text-align: center;
    color: #dbe4f0 !important;
    font-size: 0.85rem;
}

/* Animação suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media(max-width: 480px) {
    .card {
        width: 92%;
        padding: 25px 20px;
    }
    .logo {
        max-width: 210px;
    }
}
