/* ==========================================================
   Auth Styles - auth.css
   Dedicated layout for login/register pages
   ========================================================== */

.auth-shell {
    display: flex;
    min-height: 100vh;
}

/* Brand Panel (left side on desktop) */
.auth-brand {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--uidm-navy) 0%, #1E3A5F 50%, var(--uidm-primary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.auth-brand::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-logo {
    --uidm-logo-width: min(500px, 84vw);
    --uidm-logo-height: 235px;
    filter: drop-shadow(0 18px 24px rgba(7, 18, 46, 0.28));
}
.auth-card-logo {
    --uidm-logo-width: 190px;
    --uidm-logo-height: 90px;
}
.auth-brand-title { color: #ffffff; font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.auth-brand-subtitle { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; opacity: 1; max-width: 360px; }

/* Auth Form Panel */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--uidm-bg);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--uidm-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.1), 0 8px 10px -6px rgba(79, 70, 229, 0.1);
    padding: 2.5rem;
}

/* Desktop: show brand panel */
@media (min-width: 992px) {
    .auth-brand {
        display: flex;
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .auth-card {
        padding: 1.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    .auth-form-panel {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
}

.btn-back-home { background: #ffffff; border: 1px solid #e0e5ec; border-radius: 50px; padding: 0.5rem 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.03); color: #4a5568 !important; transition: all 0.2s ease; z-index: 10; } 
.btn-back-home:hover { background: #f8f9fa; color: #1a4273 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
