/* ===== ROSE SANTOS ACADEMY - MODERN AUTH ===== */

/* === Layout === */
.auth-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: white;
    font-family: 'Inter', sans-serif;
}

/* === Sidebar (Left) === */
.auth-sidebar {
    width: 50%;
    display: flex;
    flex-direction: column;
    /* justify-content removido pois o filho controlará o layout */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px;
    color: white;
}

.auth-sidebar-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    height: 100%;
    /* Ocupa altura total */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Move conteúdo para o fundo */
    gap: 60px;
    /* Espaço entre texto e dots */
}

/* Melhorar legibilidade */
.auth-quote {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Absolute positioning removido */
}

.sidebar-logo {
    height: 40px;
}

.auth-brand span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.auth-quote h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    /* Mais bold */
    color: #ffffff;
}

.auth-quote p {
    font-size: 1.1rem;
    color: #ffffff;
    /* Branco puro, sem transparência */
    font-weight: 500;
    margin-bottom: 40px;
}

.auth-decorators {
    display: flex;
    gap: 8px;
}

.decorator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.decorator-dot.active {
    width: 24px;
    border-radius: 4px;
    background: white;
}

/* === Main Content (Right) === */
.auth-main-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-text-header {
    margin-bottom: 32px;
}

.auth-text-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.auth-text-header p {
    color: #6B7280;
    font-size: 1rem;
}

/* === Form Elements === */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: 1rem;
    color: #111827;
    transition: all 0.2s;
    background: #F9FAFB;
}

/* Updated to Brand Red */
.form-input:focus {
    background: white;
    border-color: #E11D48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #D1D5DB;
    accent-color: #E11D48;
    /* Brand Red */
}

.remember-me span {
    font-size: 0.9rem;
    color: #4B5563;
}

.forgot-password {
    font-size: 0.9rem;
    color: #E11D48;
    /* Brand Red */
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* === Buttons === */
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-lg {
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.btn-primary {
    background-color: #E11D48;
    /* Brand Red */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.2);
}

.btn-primary:hover {
    background-color: #BE123C;
    /* Darker Brand Red */
    transform: translateY(-1px);
}

.btn-google {
    display: none;
    /* Hide as per request, just in case */
}

/* === Footer === */
.auth-footer {
    text-align: center;
    margin-top: 32px;
}

.auth-footer p {
    color: #6B7280;
    font-size: 0.95rem;
}

.link-highlight {
    color: #E11D48;
    /* Brand Red */
    font-weight: 600;
    text-decoration: none;
}

.link-highlight:hover {
    text-decoration: underline;
}

/* === Utilities === */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* === Auth Header / Logo on White === */
.auth-logo {
    height: 120px;
    /* Increased to 120px */
    margin-bottom: 40px;
    display: block;
}

.mobile-only {
    display: none;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .auth-sidebar {
        width: 45%;
        padding: 40px;
    }

    .auth-main-content {
        width: 55%;
    }
}

@media (max-width: 768px) {
    .auth-sidebar {
        display: none;
        /* Hide sidebar on mobile */
    }

    .auth-main-content {
        width: 100%;
        padding: 24px;
        background: white;
    }

    .mobile-only {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .auth-logo {
        height: 60px;
        /* Smaller on mobile */
    }

    .auth-text-header h1 {
        font-size: 1.8rem;
    }
}