:root {
    --auth-bg-primary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    --auth-bg-secondary: rgba(248, 250, 252, 0.8);
    --auth-border-primary: rgba(0, 0, 0, 0.15);
    --auth-text-primary: #0f172a;
    --auth-text-secondary: #334155;
    --auth-text-muted: #64748b;
    --auth-accent-primary: #0098CA;
    --auth-accent-secondary: #8b5cf6;
    --auth-accent-tertiary: #06b6d4;
    --auth-card-bg: rgba(248, 250, 252, 0.9);
    --auth-input-bg: rgba(255, 255, 255, 0.8);
    --auth-input-focus-bg: rgba(255, 255, 255, 0.95);
    --auth-label-color: #334155;
}

[data-theme="dark"] {
    --auth-bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --auth-bg-secondary: rgba(15, 23, 42, 0.8);
    --auth-border-primary: rgba(255, 255, 255, 0.15);
    --auth-text-primary: #ffffff;
    --auth-text-secondary: #cbd5e1;
    --auth-text-muted: #94a3b8;
    --auth-card-bg: rgba(15, 23, 42, 0.8);
    --auth-input-bg: rgba(30, 41, 59, 0.7);
    --auth-input-focus-bg: rgba(30, 41, 59, 0.9);
    --auth-label-color: #cbd5e1;
}

.auth-page-body {
    background: var(--auth-bg-primary) !important;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
}

.hero_section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.auth_card {
    background: var(--auth-card-bg);
    border: 1px solid var(--auth-border-primary);
    border-radius: 28px;
    padding: 3rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    min-height: 500px;
    width: 100%;
    margin: 2rem;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .auth_card {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

:root .auth_card {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth_card:hover {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

:root .auth_card:hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--auth-accent-primary), var(--auth-accent-secondary), transparent);
    animation: border_glow 3s ease-in-out infinite;
}

.auth-page-body .theme-toggle {
    position: fixed !important;
    top: 2rem !important;
    right: 2rem !important;
    z-index: 1000 !important;
    background: var(--auth-card-bg) !important;
    border: 1px solid var(--auth-border-primary) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: var(--auth-text-primary) !important;
}

@keyframes border_glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.content_section {
    position: relative;
    z-index: 3;
}

.logo_section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .auth_card {
        padding: 2rem;
        margin: 1rem;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .auth-page-body .theme-toggle {
        top: 1rem !important;
        right: 1rem !important;
        width: 45px !important;
        height: 45px !important;
    }
}
