:root {
            --primary-color: #8bc34a; /* Verde da Logo */
            --secondary-color: #5d9cec; /* Azul da Logo */
            --bg-light: #f8fafc;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
        }

        .login-card {
            width: 100%;
            max-width: 400px;
            padding: 2.5rem;
            border: none;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }

        .logo-container {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo-container img {
            max-width: 180px;
            height: auto;
        }

        .form-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #64748b;
        }

        .form-control {
            padding: 0.75rem 1rem;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            background-color: #fcfcfd;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.1);
        }

        .btn-primary {
            background-color: var(--primary-color);
            border: none;
            padding: 0.75rem;
            border-radius: 10px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-primary:hover {
            background-color: #7cb342;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(139, 195, 74, 0.2);
        }

        .forgot-password {
            font-size: 0.85rem;
            color: var(--secondary-color);
            text-decoration: none;
            transition: 0.2s;
        }

        .forgot-password:hover {
            color: #4a89dc;
            text-decoration: underline;
        }

        .input-group-text {
            background: none;
            border-right: none;
            color: #94a3b8;
        }

        .has-icon .form-control {
            border-left: none;
        }

        /* Animação suave de entrada */
        .login-card {
            animation: fadeIn 0.6s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        /* Força a visibilidade e o posicionamento correto */
        .toast-container {
            z-index: 9999 !important; /* Fica à frente de tudo */
        }

        .toast.showing {
            display: block !important;
        }

        /* Cores customizadas baseadas no seu 'type' */
        .bg-s { background-color: #8bc34a !important; } /* Verde da sua Logo */
        .bg-e { background-color: #ef4444 !important; } /* Vermelho Erro */
        .bg-a { background-color: #f59e0b !important; } /* Amarelo Alerta */


        /* Efeito de Hover nos Cards */
    .card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 12px !important;
    }
    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    /* Estilização dos Ícones KPI */
    .kpi-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }
    
    .card-hover:hover .kpi-icon {
        transform: scale(1.1) rotate(5deg);
    }

    /* Cores Suaves para os ícones */
    .bg-light-primary { background: #e3f2fd; color: #0d6efd; }
    .bg-light-danger  { background: #ffebee; color: #dc3545; }
    .bg-light-warning { background: #fff3e0; color: #ffc107; }