/* ==========================================================================
   Auth ortak temeli — _AuthLayout.cshtml tarafından yüklenir.
   Tam ekran ortalanmış, kendi tasarım token'larıyla self-contained.
   Login ve Callback sayfalarının paylaştığı zemin: token'lar, orb'lar,
   tema butonu, brand (gradient) ve reset.
   ========================================================================== */
:root {
    color-scheme: dark;
    --bg-color: #0B1121;
    --surface-color: rgba(30, 41, 59, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --primary-color: #6366F1;
    --primary-hover: #4F46E5;
    --input-bg: rgba(0, 0, 0, 0.3);
    --glass-blur: blur(24px);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    color-scheme: light;
    --bg-color: #F8FAFC;
    --surface-color: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --input-bg: rgba(255, 255, 255, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 24px;
}

/* Animated Background Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
    z-index: 0;
}
.orb-1 { width: 400px; height: 400px; background: rgba(99, 102, 241, 0.4); top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: rgba(236, 72, 153, 0.3); bottom: -20%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(168, 85, 247, 0.3); top: 40%; left: 50%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Theme toggle */
.theme-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--surface-color);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 20; transition: var(--transition);
}

/* Dil değiştirici: tema düğmesinin hemen soluna (44px düğme + 12px boşluk). .theme-toggle ile aynı görünüm. */
.lang-toggle {
    right: 80px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

/* Brand (gradient) */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}
.brand svg { width: 36px; height: 36px; color: var(--primary-color); }
.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.d-none { display: none; }
