:root {
    --primary: #0056b3;
    --primary-dark: #003d7a;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --white: #ffffff;
    --text: #1a202c;
    --gray: #718096;
    --border: #cbd5e0;
    --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body { 
    background: var(--bg-gradient); 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
}

.login-wrapper { 
    width: 100%; 
    max-width: 480px; 
    padding: 24px; 
}

.login-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.login-header { text-align: center; margin-bottom: 40px; }
.login-logo { height: 70px; margin-bottom: 20px; }
.login-header h2 { font-size: 1.5rem; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.login-header p { color: var(--gray); font-size: 1rem; }

.login-form { display: flex; flex-direction: column; gap: 24px; }

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.input-field { position: relative; display: flex; align-items: center; }
.input-field i { position: absolute; left: 18px; width: 22px; color: var(--gray); pointer-events: none; }

.input-field input {
    width: 100%;
    padding: 16px 16px 16px 52px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 1.05rem;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.input-field input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
    outline: none;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me { display: flex; align-items: center; gap: 8px; color: var(--gray); cursor: pointer; }
.forgot-password { color: var(--primary); text-decoration: none; font-weight: 600; }

.btn-login {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);
}

.login-footer { text-align: center; margin-top: 40px; font-size: 0.9rem; color: var(--gray); }
.login-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
.login-footer .copyright { margin-top: 15px; font-size: 0.8rem; opacity: 0.7; }

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 9999;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    z-index: 2;
}

.whatsapp-badge {
    background: white;
    padding: 10px 20px;
    border-radius: 30px 10px 10px 30px;
    margin-right: -25px;
    padding-right: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    z-index: 1;
    transition: 0.3s;
}

.whatsapp-badge span { color: #4a5568; font-size: 0.85rem; display: block; line-height: 1.2; }
.whatsapp-badge strong { color: var(--whatsapp); font-weight: 700; }

.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--whatsapp);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ws 2s infinite;
}

@keyframes pulse-ws {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* RESPONSIVIDADE */
@media (max-width: 540px) { 
    .login-card { padding: 40px 24px; border-radius: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
    .login-wrapper { padding: 0; max-width: 100%; }
    body { background: var(--white); }
    .whatsapp-badge { display: none; } /* Esconde o texto no mobile para não poluir */
}