/* ===== VARIÁVEIS ===== */
:root {
    /* Cores principais */
    --orange: #f28705;
    --orange-light: #ffb347;
    --orange-dark: #d97804;
    --black: #111827;
    --gray-dark: #374151;
    --gray-light: #f9fafb;

    /* Cores de estado / financeiro (usadas em badges, etc) */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --positive: #059669;
    --negative: #dc2626;

    /* Bordas e sombras */
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);

    /* Fontes */
    --font-comfortaa: 'Comfortaa', cursive;
    --font-lexend: 'Lexend', sans-serif;
}

/* ===== RESET / BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--gray-light);
    font-family: var(--font-comfortaa);
    color: var(--black);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== LAYOUT SPLIT ===== */
.split-screen {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Camada base: dois logins lado a lado */
.login-layer {
    display: flex;
    width: 100%;
    height: 100%;
}

.login-panel {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

/* ===== OVERLAY DESLIZANTE ===== */
.overlay {
    position: absolute;
    top: 0;
.aulas-filtros-bar {
     background: #fff;
     border-radius: 14px;
     border: 1.5px solid #e5e7eb;
     box-shadow: 0 2px 10px rgba(120,120,120,0.08);
     padding: 0.85rem 1.2rem;
     display: flex;
     align-items: stretch;
     gap: 0.5rem;
     flex-wrap: wrap;
     margin-bottom: 1.2rem;
     width: 100%;
     box-sizing: border-box;
}

.filtro-flex {
     flex: 1 1 0;
     min-width: 0;
     display: flex;
     flex-direction: column;
     justify-content: center;
}
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    z-index: 10;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    position: absolute;
    padding: 2rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay-text.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.bem-vindo-title {
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bem-vindo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 600px;
}

.bem-vindo-item {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.bem-vindo-icon {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 8px;
    transition: transform 0.2s;
}
.bem-vindo-item:hover .bem-vindo-icon {
    transform: translateY(-5px);
}
.bem-vindo-titulo {
    font-size: 1rem;
    color: white;
    text-align: center;
    font-family: var(--font-comfortaa);
}
.bem-vindo-btn {
    margin-top: 50px;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60px;
}
}

.overlay-text .description {
    color: rgba(255, 255, 255, 0.9);
}

.overlay-text .description i {
    color: white !important;
}

/* Estado quando overlay está na direita */
.split-screen.swapped .overlay {
    transform: translateX(100%);
}

/* ===== TIPOGRAFIA ===== */
.font-lexend {
    font-family: var(--font-lexend);
    font-weight: 700;
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1rem;
    color: var(--black);
}

.font-comfortaa {
    font-family: var(--font-comfortaa);
    font-weight: 400;
    font-size: 0.875rem; /* 14px */
}

.description {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.label {
    font-size: 0.75rem; /* 12px */
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
    display: block;
}

/* ===== FORMULÁRIO ===== */
.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-field {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: var(--font-comfortaa);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242, 135, 5, 0.1);
}

.forgot-password {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--orange);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

/* ===== BOTÕES ===== */
.btn-primary {
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-family: var(--font-comfortaa);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--orange-dark);
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(242, 135, 5, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-family: var(--font-comfortaa);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--orange);
    transform: scale(1.03);
}

/* ===== ÍCONES E AJUSTES ===== */
.fa-regular, .fa-solid {
    font-size: 1.1rem;
}

/* Para o botão de troca ficar alinhado com os ícones */
.swap-button i {
    margin-right: 3px;
}

/* ===== MODAL PERFIL ===== */
.modal-perfil {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    z-index: 300;
}

.modal-perfil-content {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    min-width: 320px;
    max-width: 90vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-perfil-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ===== RESPONSIVO (BÁSICO) ===== */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
        height: 90vh;
    }

    .login-layer {
        flex-direction: column;
    }

    .login-panel {
        flex: 1;
    }

    .overlay {
        width: 100%;
        height: 50%;
    }

    .split-screen.swapped .overlay {
        transform: translateY(100%);
    }
}