/* Página de login (extraído do <style> do login.html original, sem alterações) */
        /* Variáveis CSS */
        :root {
            --background-color: #f0f2f5;
            --card-background: #ffffff;
            --text-color: #333333;
            --input-border: #e0e0e0;
            --input-focus-border: #6f42c1;
            --button-background: #6f42c1;
            --button-text: #ffffff;
            --link-color: #5e41af;
            --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
            --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(90deg, #eff6fa 0%, #e7e6e9 50%, #fee7b1 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        /* Onda roxa no fundo */
        .wave-background {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: var(--primary-gradient);
            clip-path: ellipse(150% 100% at 50% 100%);
            z-index: -1;
            animation: waveAnimation 15s ease-in-out infinite alternate;
        }

        @keyframes waveAnimation {
            0% { transform: scale(1, 1) translateY(0); }
            100% { transform: scale(1.05, 1.05) translateY(10px); }
        }

        /* Container principal */
        .login-container {
            background: white;
            width: 90%;
            max-width: 380px;
            padding: 40px 30px;
            border-radius: 20px;
            box-shadow: var(--shadow-medium);
            text-align: center;
            position: relative;
            z-index: 1;
        }

        /* Ícone do topo */
        .user-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .login-title {
            font-size: 18px;
            color: #9CA3AF;
            font-weight: 500;
            margin-bottom: 20px;
            margin-top: -10px;
        }

        /* ALERTAS DO FLASK */
        .alert {
            padding: 12px;
            margin-bottom: 15px;
            border-radius: 8px;
            font-size: 13px;
            text-align: center;
        }

        .alert.success {
            color: #155724;
            background-color: #d4edda;
        }

        .alert.danger {
            color: #721c24;
            background-color: #f8d7da;
        }

        /* Inputs */
        .input-group {
            position: relative;
            margin-bottom: 20px;
        }

        .input-field {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border: none;
            background: #f3f4f6;
            border-radius: 25px;
            font-size: 14px;
            color: #6B7280;
            outline: none;
            transition: all 0.3s ease;
        }

        .input-field:focus {
            background: #E5E7EB;
            box-shadow: 0 0 0 2px #dfc588;
        }

        .input-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            fill: #9CA3AF;
            width: 20px;
            height: 20px;
        }

/* Ajuste para alinhar Lembrar-me à esquerda e Esqueci Senha à direita */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Empurra os itens para as extremidades */
    margin: 25px 0;
    font-size: 12px;
    color: #6B7280;
}

.remember-me-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.forgot-password-link {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #252525;
    text-decoration: underline;
}

        .checkbox {
            width: 16px;
            height: 16px;
            border: 2px solid #D1D5DB;
            border-radius: 3px;
            cursor: pointer;
            display: inline-block;
            position: relative;
        }

        .checkbox.checked {
            background: #2b2b2b;
            border-color: #292929;
        }

        .checkbox.checked::after {
            content: '✓';
            color: #fff;
            font-size: 12px;
            position: absolute;
            top: -2px;
            left: 2px;
        }

        /* Botão login */
        .login-button {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #3b3b3b 0%, #252525 100%);
            border: none;
            border-radius: 25px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            letter-spacing: 1px;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 10px rgba(40,40,40,0.56);
        }

        /* WhatsApp Flutuante */
        .whatsapp-btn {
            position: fixed;
            bottom: 22px;
            right: 22px;
            z-index: 9999;
        }

        .whatsapp-btn img {
            width: 60px;
            height: 60px;
            cursor: pointer;
            filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
        }

/* ---- Modal de plano vencido/bloqueado ----
   Antes eram style="..." soltos no HTML do login; mesmos valores, agora em classes. */
.plano-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.plano-caixa { background: white; padding: 30px; border-radius: 15px; max-width: 400px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.plano-icone { font-size: 50px; margin-bottom: 15px; }
.plano-titulo { color: #333; margin-bottom: 15px; }
.plano-texto { color: #666; margin-bottom: 25px; line-height: 1.5; }
.plano-renovar { display: block; background: #28a745; color: white; padding: 15px; border-radius: 10px; text-decoration: none; font-weight: bold; margin-bottom: 10px; }
.plano-renovar:hover { color: white; text-decoration: none; }
.plano-continuar { background: none; border: none; color: #999; cursor: pointer; text-decoration: underline; }
