<style>
        :root {
        /* Tons extraídos da imagem da Conecta Mais */
        --primary: #4a0404;         /* O Vinho/Bordô profundo do fundo */
        --primary-dark: #2b0202;    /* Vinho quase preto para contrastes */
        --accent: #d4bc82;          /* O Dourado/Champanhe das letras */
        --accent-light: #eaddbd;    /* Um tom areia claro para fundos de input */
        --secondary: #6c757d;
        --dark: #212529;
        --light: #f8f9fa;
        }

        /* Agora o restante do CSS usa essas variáveis automaticamente */
        body {
        font-family: 'Inter', sans-serif;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        }
    
        .login-card {
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid var(--accent); /* Borda dourada sutil */
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .btn-login {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
        color: var(--accent) !important; /* Texto dourado no botão vinho */
        border: none;
        font-weight: 700;
        }

        .logo-icon {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
            border: 1px solid var(--accent);
        }
    
        .logo-icon i {
            color: var(--accent) !important;
        }
        
        /* Background animado */
        .bg-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }
        
        .bg-animation .shape {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            animation: float 20s infinite ease-in-out;
        }
        
        .shape-1 {
            width: 400px;
            height: 400px;
            top: -100px;
            right: -100px;
            animation-delay: 0s;
        }
        
        .shape-2 {
            width: 300px;
            height: 300px;
            bottom: -50px;
            left: -50px;
            animation-delay: 5s;
        }
        
        .shape-3 {
            width: 200px;
            height: 200px;
            bottom: 50%;
            right: 20%;
            animation-delay: 10s;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            33% { transform: translateY(-30px) rotate(120deg); }
            66% { transform: translateY(20px) rotate(240deg); }
        }
        
        /* Card de login */
        .login-container {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 450px;
            margin: 20px;
        }
        
        .login-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: none;
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.6s ease-out;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Logo e título */
        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .logo-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
        }
        
        .logo-icon i {
            font-size: 40px;
            color: white;
        }
        
        .login-header h1 {
            font-size: 28px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 5px;
        }
        
        .login-header p {
            color: var(--secondary);
            font-size: 14px;
            font-weight: 400;
        }
        
        /* Formulário */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            font-weight: 500;
            font-size: 14px;
            color: var(--dark);
            margin-bottom: 8px;
        }
        
        .input-group {
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e9ecef;
            transition: all 0.3s;
            background: white;
        }
        
        .input-group:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
        }
        
        .input-group-text {
            background: white;
            border: none;
            color: var(--secondary);
            padding: 12px 15px;
        }
        
        .form-control {
            border: none;
            padding: 12px 15px;
            font-size: 14px;
            background: white;
        }
        
        .form-control:focus {
            box-shadow: none;
            outline: none;
        }
        
        /* Botão de login */
        .btn-login {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border: none;
            border-radius: 12px;
            padding: 14px;
            font-weight: 600;
            font-size: 16px;
            color: white;
            width: 100%;
            margin-top: 10px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
        }
        
        .btn-login:active {
            transform: translateY(0);
        }
        
        .btn-login i {
            margin-right: 8px;
            transition: all 0.3s;
        }
        
        .btn-login:hover i {
            transform: translateX(5px);
        }
        
        /* Links */
        .login-links {
            text-align: center;
            margin-top: 25px;
        }
        
        .login-links a {
            color: var(--secondary);
            text-decoration: none;
            font-size: 13px;
            transition: all 0.3s;
        }
        
        .login-links a:hover {
            color: var(--primary);
        }
        
        .divider {
            margin: 0 10px;
            color: #e9ecef;
        }
        
        /* Alerta de erro */
        .alert {
            border: none;
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 20px;
            animation: shake 0.5s;
            font-size: 14px;
            background: linear-gradient(135deg, #fef2f2, #fee2e2);
            color: #b91c1c;
            border-left: 4px solid #ef4444;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-5px); }
            40%, 80% { transform: translateX(5px); }
        }
        
        .alert i {
            margin-right: 8px;
            font-size: 18px;
        }
        
        /* Info de teste */
        .test-info {
            background: rgba(0, 0, 0, 0.03);
            border-radius: 12px;
            padding: 15px;
            margin-top: 20px;
            font-size: 12px;
            color: var(--secondary);
            border: 1px dashed #e9ecef;
        }
        
        .test-info strong {
            color: var(--dark);
            display: block;
            margin-bottom: 8px;
        }
        
        .test-info span {
            background: rgba(67, 97, 238, 0.1);
            padding: 4px 8px;
            border-radius: 6px;
            font-family: monospace;
        }
        
        /* Responsividade */
        @media (max-width: 480px) {
            .login-card {
                padding: 30px 20px;
            }
            
            .logo-icon {
                width: 60px;
                height: 60px;
            }
            
            .logo-icon i {
                font-size: 30px;
            }
            
            .login-header h1 {
                font-size: 24px;
            }
        }
        
        /* Loading state */
        .btn-loading {
            position: relative;
            pointer-events: none;
            opacity: 0.7;
        }
        
        .btn-loading i {
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
    </style>