/* ===========================================
   LOGIN PAGE - Cores: #333, #fff, cinza
   =========================================== */

body.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}

.login-logo img {
    max-width: 180px;
    height: auto;
}

.login-box h1 {
    text-align: center;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper .input-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Login Options (checkbox + esqueci senha) */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #333;
    cursor: pointer;
}

.checkbox-wrapper label {
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

/* Esqueci Senha */
.esqueci-senha {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.esqueci-senha:hover {
    color: #666;
    text-decoration: underline;
}

/* Button Login */
.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn-login:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(51, 51, 51, 0.3);
}

/* Alertas */
.alerta {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alerta-erro {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alerta-sucesso {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* Descrição */
.login-descricao {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Voltar Login */
.voltar-login {
    text-align: center;
    margin-top: 20px;
}

.voltar-login a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.voltar-login a:hover {
    color: #333;
}

/* Responsivo */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 25px;
    }

    .login-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
