/* --- 1. CONFIGURAÇÕES GERAIS --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

body {
    background-color: white;
    overflow: hidden; 
    height: 100vh;
}

/* --- 2. HEADER FLUTUANTE (ESTILO PÍLULA) --- */
.main-header {
    position: fixed; 
    top: 25px; 
    left: 50%;
    transform: translateX(-50%);
    
    /* Largura do menuzinho*/
    width: 800px; 
    height: 60px;
    z-index: 1000;
    
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    width: 100%; /* Faz o conteúdo ocupar a pílula toda */
    align-items: center;
    justify-content: space-between; /* Empurra o logo para um lado e o botão para o outro */
    padding: 0 10px 0 25px; /* Respiro interno: 25px na esquerda (logo) e 10px na direita (perto do botão) */
}

.mini-logo {
    height: 22px;
    width: auto;
}

/* O Botão dentro do Menu */
.btn-criar-menu {
    /* CORREÇÃO AQUI: Use 'background' para gradientes */
    background: linear-gradient(135deg, #101D30 0%, #240E39 100%);
    
    /* Garante que o texto seja branco para contraste */
    color: #FFFFFF !important; 
    
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 12px 25px; /* Mantendo o padding lateral gordinho */
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-criar-menu:hover {
    background: linear-gradient(135deg, #1A2E4B 0%, #30164D 100%);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Garante que o ícone (assets) dentro do botão fique branco */
.btn-criar-menu img {
    filter: brightness(0) invert(1);
    width: 18px;
    height: auto;
}

/* --- 3. ESTRUTURA DE COLUNAS --- */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* LADO ESQUERDO: FORMULÁRIO */
.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px; /* Espaço para o menu flutuante não tampar o título */
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.welcome-back { 
    color: #4299E1; 
    font-size: 32px; 
    font-weight: 700;
    margin-bottom: 8px; 
}

.subtitle { 
    color: #718096; 
    font-size: 14px; 
    margin-bottom: 40px; 
}

/* CAMPOS DE ENTRADA */
.form-group { margin-bottom: 20px; }
.form-group label { 
    display: block; 
    font-size: 12px; 
    margin-bottom: 8px; 
    color: #2D3748; 
    font-weight: 600; 
}

.form-group input { 
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #E2E8F0; 
    border-radius: 12px; 
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #4299E1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* --- 4. SWITCH AZUL --- */
.remember-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.remember-text { font-size: 12px; color: #718096; }

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #CBD5E0;
    transition: .4s;
    border-radius: 34px;
}

input:checked + .slider { background-color: #4299E1; }

.slider:before {
    position: absolute;
    content: "";
    height: 12px; width: 12px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider:before { transform: translateX(16px); }

/* BOTÃO ENTRAR */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #4299E1;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #3182CE;
    transform: translateY(-1px);
}

.footer-link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #718096;
}

.footer-link a { color: #4299E1; text-decoration: none; font-weight: 600; }

/* --- 5. LADO DIREITO: BANNER --- */
.login-banner-side {
    flex: 0.9;
    position: relative;
}

.banner-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh);

    background: url('../assets/background/background_login.svg');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-logo { 
    width: 300px; 
    height: auto;
}

