/* Container geral */
body, html {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    justify-content: center; /* centraliza horizontalmente */
    align-items: center; /* centraliza verticalmente */
    background-color: #f5f8fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.col-md-4.mx-auto {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px; /* limita a largura */
}


/* Título */
h2 {
    color: #003366;
    font-weight: 700;
}

/* Linha horizontal */
hr {
    border: 0;
    height: 1px;
    background: #003366;
    margin-bottom: 1.5rem;
}

/* Labels */
label.form-label {
    font-weight: 600;
    color: #003366;
}

/* Inputs */
input.form-control {
    border: 1.5px solid #c1c7d0;
    border-radius: 6px;
    padding: 0.75rem 0.75rem; 
    font-size: 1.1rem; 
    transition: border-color 0.3s ease;
}

    input.form-control:focus {
        border-color: #003366;
        box-shadow: 0 0 6px #003366a0;
        outline: none;
    }


/* Botão de toggle senha */
button.toggle-password {
    border-radius: 0 6px 6px 0;
    border-left: none;
    background-color: #e9ecef;
    color: #003366;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button.toggle-password:hover {
        background-color: #cbd6e2;
    }

/* Botões */
.btn-login {
    background-color: #003366;
    color: #fff;
    font-weight: 700;
    padding: 0.9rem 1.5rem; /* maior padding para botão maior */
    font-size: 1.25rem; /* fonte maior */
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease;
    width: 100%; /* botão vai preencher a largura do container */
}

    .btn-login:hover {
        background-color: #002244;
        color: #fff;
    }


.btn-outline-primary {
    color: #003366;
    border-color: #003366;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #003366;
        color: white;
    }

/* Link esqueceu a senha */
.btn-link {
    color: #003366;
    font-weight: 600;
    text-decoration: underline;
}

    .btn-link:hover {
        color: #001a33;
        text-decoration: none;
    }

/* Alertas */
.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border-radius: 6px;
}

/* Checkbox */
.form-check-label {
    color: #003366;
    font-weight: 600;
}

/* Espaçamento entre inputs */
.mb-3 {
    margin-bottom: 1.25rem !important;
}
