@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap");
      :root {
        --bg: #050508;
        --panel: rgba(255, 255, 255, 0.04);
        --panel-2: rgba(255, 255, 255, 0.06);
        --text: #f0ecff;
        --muted: #8b7faa;
        --primary: #e040fb;
        --primary-glow: rgba(224, 64, 251, 0.4);
        --electric: #00e5ff;
        --electric-glow: rgba(0, 229, 255, 0.35);
        --success: #00e676;
        --danger: #ff1744;
        --border: rgba(224, 64, 251, 0.15);
        --neon-pink: #ff2d95;
        --neon-blue: #00e5ff;
        --neon-purple: #b14aed;
      }
      * { box-sizing: border-box; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--text);
        font-family: "Outfit", sans-serif;
        background-image:
          radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224, 64, 251, 0.08) 0%, transparent 60%),
          radial-gradient(ellipse 60% 50% at 80% 100%, rgba(0, 229, 255, 0.06) 0%, transparent 50%);
        min-height: 100vh;
      }
      .container {
        max-width: 720px;
        margin: 0 auto;
        padding: 16px;
      }
      /* Door paneli: container tam genislik */
      body.door-page .container {
        max-width: 100%;
        padding: 0;
      }
      /* Door panelinde SADECE orijinal app h1 gizle, door-header-title dokunma */
      body.door-page .container > h1 {
        display: none !important;
      }
      /* Admin paneli: full-bleed (sidebar en sola dayali, icerik tam genislik) */
      body.admin-page {
        background-color: #080810;
        background-image: none;
      }
      body.admin-page .container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
      }
      body.admin-page .container > h1 {
        display: none !important;
      }
      /* Sifre goster/gizle goz ikonu (login, zorunlu sifre, admin) */
      .pw-eye-wrap { position: relative; display: block; }
      .pw-eye-wrap input.pw-has-eye { padding-right: 44px; width: 100%; }
      .pw-eye-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: auto; margin: 0; padding: 6px; background: transparent; border: none; box-shadow: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; z-index: 2; }
      .pw-eye-btn::after { display: none !important; }
      .pw-eye-btn:hover { color: var(--text); background: transparent; box-shadow: none; transform: translateY(-50%); }
      .pw-eye-btn:active { transform: translateY(-50%) scale(0.92); }
      .pw-eye-btn svg { width: 17px; height: 17px; }
      body.admin-light .pw-eye-btn { color: #94a3b8; }
      body.admin-light .pw-eye-btn:hover { color: #475569; }

      /* Tam ekran yükleme katmanı — sayfa geçişlerinde ilk giriş sayfasındaki Flux logosu */
      .app-loader {
        position: fixed; inset: 0; z-index: 99999;
        display: flex; align-items: center; justify-content: center;
        background: #050508;
        background-image:
          radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224, 64, 251, 0.10) 0%, transparent 60%),
          radial-gradient(ellipse 60% 50% at 80% 100%, rgba(0, 229, 255, 0.06) 0%, transparent 50%);
        opacity: 1; transition: opacity 0.35s ease;
      }
      .app-loader.hide { opacity: 0; pointer-events: none; }
      .app-loader .app-loader-inner { padding: 24px; animation: appLoaderPulse 1.6s ease-in-out infinite; }
      .app-loader .flux-logo-container { margin-bottom: 0; }
      .app-loader .flux-logo-container svg { max-width: 240px; }
      @keyframes appLoaderPulse { 0%, 100% { opacity: 0.6; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1); } }

      /* ══════════════════════════════════════════════════════════
         KAPI PANELİ — Admin paneli (av2) koyu menekşe teması
         ══════════════════════════════════════════════════════════ */
      body.door-page {
        --fd-primary: #a78bfa;
        --fd-primary-dim: #8b5cf6;
        --fd-primary-container: #2e1f57;
        --fd-bg: #080810;
        --fd-surface-low: #0f0e1a;
        --fd-surface-container: #141320;
        --fd-surface-high: #1a1726;
        --fd-surface-highest: #221c33;
        --fd-outline: #6b6580;
        --fd-outline-variant: #2c2940;
        --fd-on-surface: #ffffff;
        --fd-on-variant: rgba(255, 255, 255, 0.55);
        --fd-error: #fb7185;
        --fd-amber: #fbbf24;
        --fd-green: #34d399;
        background-color: #080810;
        background-image:
          radial-gradient(circle at top right, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
          radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
        background-attachment: fixed;
        color: var(--fd-on-surface);
        font-family: "Inter", "Outfit", sans-serif;
      }
      body.door-light {
        --fd-primary: #7c3aed;
        --fd-primary-dim: #6d28d9;
        --fd-primary-container: #ede9fe;
        --fd-bg: #f8fafc;
        --fd-surface-low: #f1f5f9;
        --fd-surface-container: #ffffff;
        --fd-surface-high: #ffffff;
        --fd-surface-highest: #f8fafc;
        --fd-outline: #cbd5e1;
        --fd-outline-variant: #e2e8f0;
        --fd-on-surface: #0f172a;
        --fd-on-variant: #475569;
        --fd-error: #ef4444;
        --fd-amber: #f59e0b;
        --fd-green: #10b981;
        background-color: var(--fd-bg);
        background-image: none;
      }
      body.door-light .fd-topbar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); }
      body.door-light .fd-panel { background: var(--fd-surface-container); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); }
      body.door-light .fd-textarea, body.door-light .fd-select { background: var(--fd-surface-low); color: var(--fd-on-surface); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02); }
      body.door-light .fd-textarea:focus { box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 0 8px rgba(124, 58, 237, 0.2); background: #ffffff; }
      body.door-light .fd-select option { background: #ffffff; color: #0f172a; }
      body.door-light .fd-counter { background: var(--fd-surface-low); border-color: var(--fd-outline-variant); }
      body.door-light .fd-search { background: var(--fd-surface-container); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
      body.door-light .fd-search input { color: var(--fd-on-surface); }
      body.door-light .fd-search input::placeholder { color: #94a3b8; }
      body.door-light .fd-table-card { background: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
      body.door-light .fd-table-footer { background: #f8fafc; border-top: 1px solid #e2e8f0; }
      body.door-light .fd-csv-btn { background: #f1f5f9; color: #475569; }
      body.door-light .fd-csv-btn:hover { background: #e2e8f0; color: #0f172a; }
      body.door-light .fd-logout { background: #fee2e2; border-color: #fca5a5; color: #e11d48; box-shadow: none; }
      body.door-light .fd-logout:hover { background: #ef4444; color: #fff; }
      body.door-light .fd-table-scroll::-webkit-scrollbar-track, body.door-light .fd-sidebar::-webkit-scrollbar-track { background: #f1f5f9; }
      body.door-light .fd-table-scroll::-webkit-scrollbar-thumb, body.door-light .fd-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; }
      body.door-light .fd-th { background: var(--fd-surface-low); color: #475569; }
      body.door-light .fd-td { border-bottom-color: var(--fd-outline-variant); }
      body.door-light .fd-tr:hover { background: #f8fafc; }
      body.door-light .fd-title { text-shadow: none; color: var(--fd-primary-dim); -webkit-text-fill-color: var(--fd-primary-dim); }
      body.door-light .fd-type-btn { background: var(--fd-surface-low); border-color: var(--fd-outline-variant); color: var(--fd-on-surface); }
      body.door-light .fd-type-btn.fd-active { background: var(--fd-primary-container); border-color: var(--fd-primary); color: var(--fd-primary); }
      body.door-light .fd-sidebar { background: rgba(255,255,255,0.6); border-right: 1px solid var(--fd-outline-variant); }
      body.door-page #app { height: 100vh; display: block; }
      body.door-page .material-symbols-outlined {
        font-size: 20px; line-height: 1; vertical-align: middle; flex-shrink: 0;
        font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
      }

      .fd-shell { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

      /* ── Üst bar ── */
      .fd-topbar {
        display: flex; align-items: center; justify-content: space-between; gap: 16px;
        padding: 16px 32px; flex-shrink: 0; z-index: 50;
        background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--fd-outline-variant);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
      }
      .fd-title {
        font-family: "Sora", sans-serif; font-size: 36px; font-weight: 800;
        letter-spacing: -0.02em; margin: 0; color: var(--fd-primary);
        text-shadow: 0 0 12px rgba(139, 92, 246, 0.5); background: none; -webkit-text-fill-color: var(--fd-primary);
      }
      .fd-subtitle {
        font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600;
        letter-spacing: 0.12em; text-transform: uppercase; color: var(--fd-on-variant);
        margin: 4px 0 0;
      }
      .fd-counters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
      .fd-counter {
        display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px;
        background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
        border: 1px solid rgba(139, 92, 246, 0.1);
      }
      .fd-counter b { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; color: var(--fd-on-surface); }
      .fd-counter .material-symbols-outlined { color: var(--fd-on-variant); font-variation-settings: 'FILL' 1; }
      .fd-counter-lbl { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fd-on-variant); }
      .fd-counter.is-inside { background: rgba(16, 185, 129, 0.12); border-color: rgba(52, 211, 153, 0.4); box-shadow: 0 0 15px rgba(52, 211, 153, 0.12); }
      .fd-counter.is-inside b, .fd-counter.is-inside .fd-counter-lbl { color: var(--fd-green); }
      .fd-counter.is-inside b { text-shadow: 0 0 8px rgba(52, 211, 153, 0.5); }
      .fd-counter.is-inside .material-symbols-outlined { color: var(--fd-green); }
      .fd-counter.is-waiting b, .fd-counter.is-waiting .fd-counter-lbl { color: var(--fd-amber); }
      .fd-counter.is-waiting .material-symbols-outlined { color: var(--fd-amber); }

      /* ── Gövde: kenar çubuğu + ana içerik ── */
      .fd-body { flex: 1; display: flex; min-height: 0; overflow: hidden; }
      .fd-sidebar {
        width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px;
        padding: 16px; overflow-y: auto; z-index: 40;
        background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(8px);
        border-right: 1px solid rgba(51, 51, 51, 0.5);
      }
      .fd-main { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 24px; min-width: 0; overflow: hidden; }

      /* ── Cam panel ── */
      .fd-panel {
        background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
        border: 1px solid rgba(139, 92, 246, 0.1); border-radius: 12px; padding: 16px;
        box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.4);
      }
      .fd-event-panel { display: flex; flex-direction: column; gap: 12px; }
      .fd-add-panel { display: flex; flex-direction: column; gap: 16px; flex: 1; min-height: 0; }
      .fd-panel-head { display: flex; align-items: center; justify-content: space-between; }
      .fd-panel-title { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fd-on-surface); margin: 0; }
      .fd-panel-title-lg { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; color: var(--fd-on-surface); margin: 0 0 4px; text-shadow: 0 0 4px rgba(255, 255, 255, 0.2); }
      .fd-panel-desc { font-size: 13px; line-height: 1.4; color: var(--fd-on-variant); margin: 0; }

      .fd-logout {
        width: auto; margin: 0; padding: 6px 14px; border-radius: 6px; cursor: pointer;
        font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
        background: rgba(77, 0, 0, 0.5); border: 1px solid rgba(255, 107, 107, 0.5); color: var(--fd-error);
        box-shadow: 0 0 8px rgba(255, 107, 107, 0.2); transition: all 0.2s ease;
      }
      .fd-logout::after { display: none; }
      .fd-logout:hover { background: var(--fd-error); color: #000; box-shadow: 0 0 12px rgba(255, 107, 107, 0.5); transform: none; }

      .fd-event-state {
        position: relative; overflow: hidden; border-radius: 10px; padding: 12px;
        display: flex; flex-direction: column; gap: 4px; background: var(--fd-bg);
      }
      .fd-event-state.is-active { border: 1px solid rgba(139, 92, 246, 0.3); }
      .fd-event-state.is-passive { border: 1px solid rgba(255, 107, 107, 0.3); }
      .fd-event-state .dot { width: 8px; height: 8px; border-radius: 50%; }
      .fd-event-state.is-active .dot { background: var(--fd-primary); box-shadow: 0 0 6px rgba(139, 92, 246, 0.8); animation: fdPulse 1.6s infinite; }
      .fd-event-state.is-passive .dot { background: var(--fd-error); box-shadow: 0 0 6px rgba(255, 107, 107, 0.8); animation: fdPulse 1.6s infinite; }
      .fd-event-state .lbl { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
      .fd-event-state.is-active .lbl { color: var(--fd-primary); }
      .fd-event-state.is-passive .lbl { color: var(--fd-error); }
      .fd-event-state b { font-size: 15px; font-weight: 700; color: var(--fd-on-surface); }
      .fd-event-state .sub { font-size: 12px; color: var(--fd-primary-dim); }
      @keyframes fdPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

      .fd-select-wrap { position: relative; }
      .fd-select {
        width: 100%; margin: 0; padding: 12px 36px 12px 14px; border-radius: 10px; cursor: pointer;
        appearance: none; -webkit-appearance: none; font-size: 14px; font-family: "Inter", sans-serif;
        background: rgba(38, 38, 38, 0.8); border: 1px solid rgba(51, 51, 51, 0.6); color: var(--fd-on-surface);
        transition: border-color 0.2s, box-shadow 0.2s;
      }
      .fd-select:focus { outline: none; border-color: var(--fd-primary); box-shadow: 0 0 0 1px var(--fd-primary); }
      .fd-select option { background: #141320; color: var(--fd-on-surface); }
      .fd-select-arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--fd-on-variant); }

      .fd-textarea {
        width: 100%; flex: 1; min-height: 150px; resize: none; margin: 0; border-radius: 10px; padding: 12px 14px;
        font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.6;
        background: rgba(0, 0, 0, 0.5); color: var(--fd-on-surface); border: 1px solid var(--fd-outline-variant);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5); transition: border-color 0.2s, box-shadow 0.2s;
      }
      .fd-textarea::placeholder { color: rgba(102, 102, 102, 0.7); }
      .fd-textarea:focus { outline: none; border-color: var(--fd-primary); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(139, 92, 246, 0.2); }

      .fd-type-toggle { display: flex; gap: 8px; }
      .fd-type-btn {
        flex: 1; margin: 0; padding: 12px; border-radius: 10px; cursor: pointer; box-shadow: none;
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
        background: var(--fd-surface-highest); border: 1px solid var(--fd-outline-variant); color: var(--fd-on-surface);
        transition: all 0.2s ease;
      }
      .fd-type-btn::after { display: none; }
      .fd-type-btn .material-symbols-outlined { font-size: 16px; }
      .fd-type-btn:hover { background: #262626; border-color: rgba(139, 92, 246, 0.5); transform: none; }
      .fd-type-btn.fd-active { background: rgba(139, 92, 246, 0.12); border-color: var(--fd-primary); color: var(--fd-primary); box-shadow: 0 0 12px rgba(139, 92, 246, 0.2); }

      .fd-add-btn {
        width: 100%; margin: 4px 0 0; padding: 15px 18px; min-height: 52px; border-radius: 12px; cursor: pointer; flex-shrink: 0;
        display: inline-flex; align-items: center; justify-content: center; gap: 10px;
        font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(124, 58, 237, 0.14)); color: var(--fd-primary); border: 1px solid rgba(139, 92, 246, 0.5);
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28); transition: all 0.2s ease;
      }
      .fd-add-btn::after { display: none; }
      .fd-add-btn .material-symbols-outlined { font-size: 16px; }
      .fd-add-btn:hover { background: rgba(139, 92, 246, 0.18); box-shadow: 0 0 24px rgba(139, 92, 246, 0.5); transform: none; }

      .fd-ticket-panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
      .fd-ticket-info { display: flex; flex-direction: column; gap: 2px; }
      .fd-ticket-lbl { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fd-primary); text-shadow: 0 0 4px rgba(139, 92, 246, 0.4); }
      .fd-ticket-sold { font-size: 13px; color: var(--fd-on-variant); }
      .fd-ticket-sold b { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; color: var(--fd-on-surface); margin-left: 4px; }
      .fd-ticket-actions { display: flex; gap: 8px; flex-shrink: 0; }
      .fd-ticket-actions button {
        width: 36px; height: 36px; margin: 0; padding: 0; border-radius: 8px; cursor: pointer; box-shadow: none;
        display: flex; align-items: center; justify-content: center;
        background: var(--fd-surface-highest); border: 1px solid var(--fd-outline-variant); color: var(--fd-on-surface);
        transition: all 0.2s ease;
      }
      .fd-ticket-actions button::after { display: none; }
      .fd-ticket-actions button:hover { border-color: var(--fd-primary); color: var(--fd-primary); transform: none; }

      /* ── Arama ── */
      .fd-search {
        display: flex; align-items: center; padding: 8px; border-radius: 10px; flex-shrink: 0;
        background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
        border: 1px solid rgba(139, 92, 246, 0.1); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.4);
        transition: border-color 0.2s, box-shadow 0.2s;
      }
      .fd-search:focus-within { border-color: var(--fd-primary); box-shadow: 0 0 12px rgba(139, 92, 246, 0.2); }
      .fd-search-icon { color: rgba(139, 92, 246, 0.7); font-size: 24px !important; padding: 0 10px; text-shadow: 0 0 4px rgba(139, 92, 246, 0.3); }
      .fd-search input {
        flex: 1; margin: 0; padding: 8px; background: transparent; border: none; box-shadow: none;
        color: var(--fd-on-surface); font-size: 16px; font-family: "Inter", sans-serif;
      }
      .fd-search input::placeholder { color: var(--fd-outline); }
      .fd-search input:focus { outline: none; box-shadow: none; border: none; }

      /* ── Misafir tablosu ── */
      .fd-table-card {
        flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px;
        background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
        border: 1px solid rgba(139, 92, 246, 0.1); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.4);
      }
      .fd-table-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: auto; }
      .fd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
      .fd-thead { position: sticky; top: 0; z-index: 10; background: rgba(8, 8, 16, 0.92); backdrop-filter: blur(8px); }
      .fd-th {
        padding: 14px 16px; text-align: left; white-space: nowrap; user-select: none;
        font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
        color: rgba(230, 230, 230, 0.8); border-bottom: 1px solid rgba(51, 51, 51, 0.5);
      }
      .fd-th-hint { font-size: 10px; color: var(--fd-outline-variant); text-transform: none; letter-spacing: 0; font-weight: 400; }

      .fd-row { transition: background 0.15s ease; }
      .fd-row td { padding: 12px 16px; border-bottom: 1px solid rgba(51, 51, 51, 0.3); vertical-align: middle; }
      .fd-row:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
      .fd-row:hover { background: rgba(38, 38, 38, 0.5); }
      .fd-td-check { text-align: center; }
      .fd-td-del { text-align: center; }

      .fd-name-wrap { display: flex; flex-direction: column; }
      .fd-name { font-weight: 700; font-size: 16px; color: var(--fd-on-surface); }
      .fd-name.in { color: var(--fd-green); text-shadow: 0 0 6px rgba(52, 211, 153, 0.35); }
      .fd-subname { font-size: 11px; color: var(--fd-on-variant); margin: 2px 0 0; font-weight: 400; }
      .fd-td-pr { color: var(--fd-on-variant); font-size: 13px; white-space: nowrap; }

      .fd-dup { font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 700; letter-spacing: 0.02em; width: max-content; margin-top: 3px; display: inline-block; }
      .fd-dup.first { color: var(--fd-primary); background: rgba(124, 58, 237, 0.4); border: 1px solid rgba(139, 92, 246, 0.5); }
      .fd-dup.dupe { color: var(--fd-amber); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.4); }

      .fd-td-type { white-space: nowrap; }
      .fd-td-type > * { vertical-align: middle; }
      .fd-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.03em; margin-right: 6px; }
      .fd-badge.guest { background: var(--fd-surface-highest); border: 1px solid var(--fd-outline-variant); color: var(--fd-on-surface); }
      .fd-badge.dost { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.4); color: var(--fd-primary); }
      .fd-badge.status-in { background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(52, 211, 153, 0.5); color: var(--fd-green); }
      .fd-badge.status-wait { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.5); color: var(--fd-amber); }

      .fd-select-mini { position: relative; display: inline-block; margin-right: 6px; }
      .fd-select-mini select {
        width: auto; margin: 0; padding: 4px 22px 4px 8px; border-radius: 5px; cursor: pointer; appearance: none; -webkit-appearance: none;
        font-size: 11px; font-weight: 600; background: var(--fd-surface-highest); border: 1px solid var(--fd-outline-variant); color: var(--fd-on-variant);
      }
      .fd-select-mini select:disabled { opacity: 0.45; cursor: not-allowed; }
      .fd-select-mini select:focus { outline: none; border-color: var(--fd-primary); }
      .fd-select-mini .material-symbols-outlined { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); font-size: 14px !important; pointer-events: none; color: var(--fd-on-variant); }

      .fd-td-note { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-style: italic; color: var(--fd-outline); cursor: pointer; }
      .fd-td-note:hover { color: var(--fd-on-variant); }
      .fd-td-note .fd-note-empty { color: var(--fd-outline-variant); }
      .fd-note-input { width: 100%; min-width: 100px; margin: 0; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-family: "JetBrains Mono", monospace; background: rgba(0,0,0,0.5); border: 1px solid var(--fd-primary); color: var(--fd-on-surface); outline: none; }

      .fd-gender { display: inline-flex; gap: 4px; justify-content: center; }
      .door-page .gender-btn {
        width: 32px; height: 32px; padding: 0; margin: 0; border-radius: 6px; cursor: pointer; box-shadow: none;
        display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
        background: var(--fd-surface-highest); color: var(--fd-on-variant); border: 1px solid var(--fd-outline-variant); transition: all 0.2s ease;
      }
      .door-page .gender-btn::after { display: none; }
      .door-page .gender-btn:hover { border-color: rgba(139, 92, 246, 0.5); color: var(--fd-on-surface); transform: none; }
      .door-page .gender-btn.active-k { background: rgba(219, 39, 119, 0.85); border-color: #ec4899; color: #fff; box-shadow: 0 0 10px rgba(219, 39, 119, 0.4); }
      .door-page .gender-btn.active-e { background: rgba(37, 99, 235, 0.85); border-color: #3b82f6; color: #fff; box-shadow: 0 0 10px rgba(37, 99, 235, 0.4); }

      .fd-del-btn { width: 32px; height: 32px; margin: 0; padding: 0; border-radius: 6px; cursor: pointer; box-shadow: none; background: transparent; border: none; color: var(--fd-outline-variant); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; opacity: 0; }
      .fd-del-btn::after { display: none; }
      .fd-row:hover .fd-del-btn { opacity: 1; }
      .fd-del-btn:hover { color: var(--fd-error); background: rgba(77, 0, 0, 0.5); transform: none; }
      .fd-del-btn .material-symbols-outlined { font-size: 18px; }

      .fd-empty { padding: 40px; text-align: center; color: var(--fd-outline); font-size: 14px; }

      /* ── Tablo özel checkbox (mockup) ── */
      .door-page .custom-checkbox {
        appearance: none; -webkit-appearance: none; margin: 0; padding: 0; font: inherit; cursor: pointer;
        width: 18px; height: 18px; border: 1px solid var(--fd-outline); border-radius: 4px;
        background: rgba(0, 0, 0, 0.3); display: grid; place-content: center; transition: all 0.2s ease;
      }
      .door-page .custom-checkbox::before {
        content: ""; width: 11px; height: 11px; transform: scale(0); transition: 120ms transform ease-in-out;
        background: #000; transform-origin: center;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
      }
      .door-page .custom-checkbox:checked { border-color: var(--fd-primary); background: var(--fd-primary); box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
      .door-page .custom-checkbox:checked::before { transform: scale(1); }

      /* ── CSV footer ── */
      .fd-table-footer { padding: 14px 16px; flex-shrink: 0; display: flex; justify-content: center; background: rgba(8, 8, 16, 0.85); backdrop-filter: blur(8px); border-top: 1px solid rgba(51, 51, 51, 0.5); }
      .fd-csv-btn {
        width: 100%; max-width: 420px; margin: 0; padding: 10px 16px; border-radius: 8px; cursor: pointer; box-shadow: none;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
        background: var(--fd-surface-highest); border: 1px solid var(--fd-outline-variant); color: var(--fd-on-surface); transition: all 0.2s ease;
      }
      .fd-csv-btn::after { display: none; }
      .fd-csv-btn .material-symbols-outlined { font-size: 16px; }
      .fd-csv-btn:hover { border-color: rgba(139, 92, 246, 0.5); color: var(--fd-primary); box-shadow: 0 0 15px rgba(139, 92, 246, 0.15); transform: none; }

      /* ── Scroll çubukları ── */
      .fd-table-scroll::-webkit-scrollbar, .fd-sidebar::-webkit-scrollbar { width: 8px; height: 8px; }
      .fd-table-scroll::-webkit-scrollbar-track, .fd-sidebar::-webkit-scrollbar-track { background: #141320; }
      .fd-table-scroll::-webkit-scrollbar-thumb, .fd-sidebar::-webkit-scrollbar-thumb { background: #262626; border-radius: 8px; }
      .fd-table-scroll::-webkit-scrollbar-thumb:hover, .fd-sidebar::-webkit-scrollbar-thumb:hover { background: #333; }

      /* ── Responsive ── */
      @media (max-width: 1000px) {
        .fd-topbar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 20px; }
        .fd-body { flex-direction: column; overflow-y: auto; }
        .fd-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(51,51,51,0.5); }
        .fd-main { overflow: visible; }
        .fd-table-card { min-height: 60vh; }
        .fd-shell { height: auto; min-height: 100vh; overflow: visible; }
        body.door-page #app { height: auto; }
      }
      @media (max-width: 560px) {
        .fd-title { font-size: 28px; }
        .fd-counters { gap: 8px; }
        .fd-counter { padding: 6px 12px; }
      }

      .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.chart-container {
    height: 350px;
    position: relative;
    margin-top: 20px;
}

.filter-section {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.event-checklist {
    max-height: 200px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 15px;
    padding-right: 8px;
}

.event-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.event-checkbox-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(187, 134, 252, 0.3);
}

.chart-toggle-group {
    display: flex;
    background: rgba(0,0,0,0.2);
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
    margin-bottom: 15px;
    width: fit-content;
}

.chart-toggle-group button {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    width: auto;
}

.chart-toggle-group button.tab-active {
    background: #bb86fc;
    color: #000;
}
      h1, h2, h3 {
        margin: 0 0 10px;
        font-weight: 800;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, #e040fb, #00e5ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      p { margin: 6px 0; color: var(--muted); }
      input, select, textarea, button {
        width: 100%;
        padding: 14px;
        font-size: 17px;
        font-family: "Outfit", sans-serif;
        border-radius: 12px;
        border: 1px solid rgba(224, 64, 251, 0.15);
        background: rgba(15, 8, 30, 0.7);
        color: var(--text);
        margin-top: 8px;
        backdrop-filter: blur(8px);
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
      }
      input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 20px var(--primary-glow);
      }
      select option {
        background: #0d0818;
        color: #f0ecff;
      }
      button {
        border: none;
        font-weight: 700;
        background: linear-gradient(135deg, #e040fb, #b14aed);
        color: #fff;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 20px var(--primary-glow);
        position: relative;
        overflow: hidden;
      }
      button::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
        opacity: 0;
        transition: opacity 0.25s ease;
      }
      button:hover::after { opacity: 1; }
      button:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px var(--primary-glow), 0 4px 16px rgba(0,0,0,0.3);
      }
      button:active { transform: translateY(0) scale(0.98); }
      button.secondary {
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #9e93b8;
      }
      button.secondary:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--text);
        border-color: rgba(224, 64, 251, 0.25);
        box-shadow: 0 0 16px rgba(224, 64, 251, 0.1);
      }
      button.success {
        background: linear-gradient(135deg, #00e5ff, #00b0ff);
        color: #050508;
        box-shadow: 0 0 24px var(--electric-glow);
      }
      button.success:hover { box-shadow: 0 0 36px var(--electric-glow), 0 4px 20px rgba(0, 229, 255, 0.2); }
      button.danger {
        background: linear-gradient(135deg, #ff1744, #d50000);
        box-shadow: 0 0 16px rgba(255, 23, 68, 0.3);
      }
      button.danger:hover { box-shadow: 0 0 28px rgba(255, 23, 68, 0.5), 0 4px 16px rgba(255, 23, 68, 0.15); }

      /* === TAB BUTTONS === */
      .tab-bar {
        display: flex;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 4px;
        gap: 4px;
        margin-bottom: 12px;
      }
      .tab-bar button {
        flex: 1;
        background: transparent;
        box-shadow: none;
        color: #8b7faa;
        font-size: 13px;
        font-weight: 600;
        padding: 12px 10px;
        border-radius: 11px;
        text-transform: none;
        letter-spacing: 0.01em;
        border: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .tab-bar button::after { display: none; }
      .tab-bar button:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #c4bbdc;
        transform: none;
        box-shadow: none;
      }
      .tab-bar button.tab-active {
        background: linear-gradient(135deg, rgba(224, 64, 251, 0.18), rgba(0, 229, 255, 0.12));
        color: #f0ecff;
        box-shadow: 0 0 20px rgba(224, 64, 251, 0.12), inset 0 0 0 1px rgba(224, 64, 251, 0.2);
      }

      /* === ACTION BUTTON VARIANTS === */
      button.btn-refresh {
        background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 176, 255, 0.08));
        color: #4cc9ff;
        box-shadow: none;
        border: 1px solid rgba(0, 229, 255, 0.2);
      }
      button.btn-refresh:hover {
        background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 176, 255, 0.14));
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
        border-color: rgba(0, 229, 255, 0.35);
        transform: translateY(-1px);
      }
      button.btn-export {
        background: linear-gradient(135deg, rgba(255, 183, 77, 0.14), rgba(255, 152, 0, 0.08));
        color: #ffb74d;
        box-shadow: none;
        border: 1px solid rgba(255, 183, 77, 0.2);
      }
      button.btn-export:hover {
        background: linear-gradient(135deg, rgba(255, 183, 77, 0.22), rgba(255, 152, 0, 0.14));
        box-shadow: 0 0 20px rgba(255, 183, 77, 0.15);
        border-color: rgba(255, 183, 77, 0.35);
        transform: translateY(-1px);
      }
      button.btn-logout {
        background: rgba(255, 23, 68, 0.08);
        color: #ff6b8a;
        box-shadow: none;
        border: 1px solid rgba(255, 23, 68, 0.15);
      }
      button.btn-logout:hover {
        background: rgba(255, 23, 68, 0.16);
        box-shadow: 0 0 18px rgba(255, 23, 68, 0.12);
        border-color: rgba(255, 23, 68, 0.3);
        color: #ff8fa5;
        transform: translateY(-1px);
      }
      button.btn-add {
        background: linear-gradient(135deg, #e040fb, #b14aed);
        color: #fff;
        box-shadow: 0 0 20px rgba(224, 64, 251, 0.3);
        font-weight: 800;
      }
      button.btn-add:hover {
        box-shadow: 0 0 32px rgba(224, 64, 251, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
      }
      button.btn-create-pr {
        background: linear-gradient(135deg, rgba(0, 230, 118, 0.14), rgba(76, 175, 80, 0.08));
        color: #69f0ae;
        box-shadow: none;
        border: 1px solid rgba(0, 230, 118, 0.2);
        font-weight: 700;
      }
      button.btn-create-pr:hover {
        background: linear-gradient(135deg, rgba(0, 230, 118, 0.22), rgba(76, 175, 80, 0.14));
        box-shadow: 0 0 22px rgba(0, 230, 118, 0.15);
        border-color: rgba(0, 230, 118, 0.35);
        transform: translateY(-1px);
      }
      button.btn-delete-pr {
        background: rgba(255, 23, 68, 0.1);
        color: #ff6b8a;
        box-shadow: none;
        border: 1px solid rgba(255, 23, 68, 0.18);
        font-size: 12px;
        font-weight: 600;
        padding: 8px 14px;
        text-transform: none;
      }
      button.btn-delete-pr:hover {
        background: rgba(255, 23, 68, 0.2);
        border-color: rgba(255, 23, 68, 0.35);
        box-shadow: 0 0 14px rgba(255, 23, 68, 0.15);
        transform: translateY(-1px);
      }

      /* === ACTION BAR === */
      .action-bar {
        display: flex;
        gap: 8px;
        margin-top: 0;
      }
      .action-bar button {
        flex: 1;
        padding: 12px 10px;
        font-size: 13px;
        text-transform: none;
        letter-spacing: 0.01em;
      }
      .row { display: flex; gap: 8px; }
      .row > * { flex: 1; }
      .guest {
        border: 1px solid rgba(224, 64, 251, 0.1);
        border-radius: 14px;
        padding: 12px;
        margin-top: 8px;
        background: rgba(15, 8, 30, 0.5);
        backdrop-filter: blur(10px);
        animation: fadeInUp 280ms ease;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
      }
      .guest:hover {
        border-color: rgba(224, 64, 251, 0.25);
        box-shadow: 0 0 16px rgba(224, 64, 251, 0.08);
      }
      .guest.removing { animation: fadeOut 220ms ease forwards; }
      .guest-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
      }
      .guest-actions {
        display: flex;
        gap: 8px;
        margin-top: 8px;
      }
      .guest-actions button {
        margin-top: 0;
        padding: 10px 12px;
        font-size: 14px;
      }
      .guest-actions .danger { min-width: 88px; }
      .badge {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
        margin-left: 8px;
        letter-spacing: 0.03em;
        text-transform: uppercase;
      }
      .badge.waiting {
        background: rgba(255, 45, 149, 0.15);
        color: #ff6eb4;
        box-shadow: 0 0 14px rgba(255, 45, 149, 0.25);
        border: 1px solid rgba(255, 45, 149, 0.2);
      }
      .badge.checked {
        background: rgba(0, 230, 118, 0.12);
        color: #69f0ae;
        box-shadow: 0 0 14px rgba(0, 230, 118, 0.25);
        border: 1px solid rgba(0, 230, 118, 0.2);
      }
      .badge.first { background: rgba(0, 230, 118, 0.2); color: #69f0ae; border: 1px solid rgba(0,230,118,0.25); }
      .badge.duplicate { background: rgba(255, 152, 0, 0.2); color: #ffb74d; border: 1px solid rgba(255,152,0,0.25); }
      .muted { color: var(--muted); font-size: 13px; }
      .meta-line { color: #6a5f82; font-size: 12px; }
      .door-guest-card { cursor: pointer; }
      .door-guest-card:hover { transform: translateY(-1px); }


      .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
      }
      .stat-card {
        border-radius: 14px;
        padding: 14px;
        border: 1px solid var(--border);
        background: rgba(15, 8, 30, 0.6);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      .stat-card:hover { transform: translateY(-2px); }
      .stat-card .label {
        display: block;
        color: var(--muted);
        font-size: 12px;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }
      .stat-card .value {
        font-size: 26px;
        font-weight: 800;
      }
      .stat-card.green {
        border-color: rgba(0, 230, 118, 0.3);
        box-shadow: 0 0 24px rgba(0, 230, 118, 0.12);
      }
      .stat-card.green .value { color: #69f0ae; }
      .stat-card.orange {
        border-color: rgba(255, 45, 149, 0.3);
        box-shadow: 0 0 24px rgba(255, 45, 149, 0.12);
      }
      .stat-card.orange .value { color: #ff6eb4; }
      .stat-card.purple {
        border-color: rgba(224, 64, 251, 0.3);
        box-shadow: 0 0 24px rgba(224, 64, 251, 0.12);
      }
      .stat-card.purple .value { color: #e040fb; }
      .ring-wrap { display: flex; align-items: center; gap: 10px; }
      .ring {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        position: relative;
      }
      .ring::after {
        content: "";
        position: absolute;
        inset: 8px;
        border-radius: 50%;
        background: #0a0510;
      }
      .pr-clean-list { display: flex; flex-direction: column; gap: 8px; }
      .pr-clean-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(15, 8, 30, 0.5);
        border: 1px solid rgba(224, 64, 251, 0.06);
        transition: all 200ms ease;
      }
      .pr-clean-row:hover {
        background: rgba(224, 64, 251, 0.06);
        border-color: rgba(224, 64, 251, 0.15);
      }
      .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
      }
      .dot.dost { background: #e040fb; box-shadow: 0 0 10px rgba(224, 64, 251, 0.6); }
      .dot.guest { background: #00e5ff; box-shadow: 0 0 10px rgba(0, 229, 255, 0.6); }
      .toast {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 1000;
        background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 176, 255, 0.1));
        color: #69f0ae;
        border: 1px solid rgba(0, 230, 118, 0.3);
        border-radius: 12px;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 0 20px rgba(0, 230, 118, 0.15), 0 8px 18px rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(16px);
        animation: toastIn 300ms ease;
      }
      @keyframes toastIn {
        from { opacity: 0; transform: translateY(16px) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
      }
      .hide { display: none; }
      @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
      }
      @keyframes fadeOut {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-8px); }
      }
      @keyframes neonPulse {
        0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
        50% { box-shadow: 0 0 35px var(--primary-glow), 0 0 50px rgba(224, 64, 251, 0.15); }
      }
      @media (max-width: 768px) {
        .container { padding: 10px; }
        .dashboard-grid { grid-template-columns: 1fr; }
        .stat-card { padding: 12px; }
        .stat-card .value { font-size: 22px; }
        .row { flex-direction: column; gap: 12px; }
        .action-bar { flex-direction: column; }
        .tab-bar { flex-wrap: wrap; }
        .guest-header { flex-direction: column; align-items: flex-start; gap: 4px; }
        .guest-actions { width: 100%; justify-content: flex-end; }
      }
      @media (max-width: 480px) {
        h1 { font-size: 22px; }
        input, select, textarea, button { font-size: 16px; padding: 13px; }
        .ring { width: 48px; height: 48px; }
      }

      /* Login screen: nightclub dark with neon accents */
      body.login-page {
        background: #020005;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
      }
      body.login-page::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/assets/dj-bg.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        z-index: 0;
        opacity: 0.35;
      }
      body.login-page::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(ellipse 50% 40% at 20% 30%, rgba(224, 64, 251, 0.12) 0%, transparent 70%),
          radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0, 229, 255, 0.1) 0%, transparent 70%),
          radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255, 45, 149, 0.06) 0%, transparent 60%);
        z-index: 0;
        pointer-events: none;
      }
      @keyframes scrollBgDown {
        0% { transform: translateY(-100vh); }
        100% { transform: translateY(0); }
      }
      body.login-page .container {
        max-width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 24px 18px 32px;
        position: relative;
        z-index: 1;
      }
      body.login-page .container > h1 {
        display: none;
      }
      .login-screen {
        width: 100%;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        font-family: "Outfit", sans-serif;
        z-index: 10;
      }
      .login-logo-outer {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        width: 100%;
      }
      .login-logo-svg {
        width: 260px;
        max-width: 100%;
        height: auto;
        display: block;
        overflow: visible;
        filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.4)) drop-shadow(0 0 40px rgba(168, 85, 247, 0.15));
      }
      @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
      }
      #propeller-x {
        transform-origin: 160px 32.5px;
        transform-box: fill-box;
        will-change: transform;
        animation: spin 24s linear infinite;
      }
      @media (prefers-reduced-motion: reduce) {
        #propeller-x { animation: none; }
      }
      
      .login-card-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .login-card-bg {
        display: none; /* Arka planin dogrudan gorunmesi icin iptal ettik */
      }
      .login-card {
        width: 100%;
        background: rgba(255, 255, 255, 0.05); /* Cok seffaf beyaz (cam efekti) */
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 20px;
        padding: 40px;
        backdrop-filter: blur(15px); /* Arka plani flu yapacak blur */
        -webkit-backdrop-filter: blur(15px);
        position: relative;
        z-index: 1;
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.08), 0 25px 50px rgba(0, 0, 0, 0.3);
      }
      .login-card h2 {
        font-size: 26px;
        font-weight: 800;
        margin: 0 0 6px;
        background: linear-gradient(135deg, #a855f7, #818cf8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.01em;
      }
      .login-card .login-sub {
        font-size: 15px;
        font-weight: 400;
        color: #94a3b8;
        margin: 0 0 32px;
      }
      .login-card input {
        background: rgba(15, 28, 49, 0.6);
        border: 1px solid rgba(168, 85, 247, 0.15);
        color: #f8fafc;
        margin-top: 16px;
        border-radius: 12px;
        font-size: 16px;
        font-family: "Outfit", sans-serif;
        padding: 18px 20px;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
        box-shadow: none;
      }
      .login-card input:first-of-type {
        margin-top: 0;
      }
      .login-card input::placeholder {
        color: #64748b;
        font-weight: 500;
        font-size: 16px;
      }
      .login-card input:focus {
        outline: none;
        border-color: #a855f7;
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
      }
      .login-card button#loginBtn {
        margin-top: 24px;
        width: 100%;
        background: linear-gradient(135deg, #a855f7, #7e22ce);
        color: #ffffff;
        font-weight: 800;
        font-family: "Outfit", sans-serif;
        border-radius: 12px;
        padding: 18px;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
        transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
        border: none;
        cursor: pointer;
        animation: neonPulse 3s ease-in-out infinite;
      }
      .login-card button#loginBtn:hover {
        opacity: 0.95;
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
      }
      .login-error {
        color: #f87171;
        font-size: 14px;
        margin: 0 0 16px;
      }

      /* --- Password Reset & Force Change Styles --- */
      .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        animation: fadeIn 300ms ease;
      }
      .modal-card {
        background: linear-gradient(135deg, rgba(20, 10, 35, 0.95), rgba(10, 5, 20, 0.98));
        border: 1px solid var(--primary);
        border-radius: 20px;
        padding: 24px;
        max-width: 400px;
        width: 90%;
        box-shadow: 0 0 40px var(--primary-glow);
        text-align: center;
        animation: fadeInUp 300ms ease;
      }
      .modal-card h3 {
        margin-bottom: 16px;
        font-size: 20px;
      }
      .modal-card p {
        margin-bottom: 24px;
        line-height: 1.5;
        color: #f0ecff;
      }
      .modal-actions {
        display: flex;
        gap: 12px;
      }
      .modal-actions button {
        margin-top: 0;
      }
      .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
      }
      .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
      }

      .force-change-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
      }
      .force-change-card {
        max-width: 450px;
        width: 100%;
      }
      .force-change-card h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 8px;
      }
      .force-change-card .subtitle {
        text-align: center;
        margin-bottom: 24px;
        font-size: 14px;
        color: var(--muted);
      }

      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
      }
      @keyframes fadeOut {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-8px); }
      }

      /* Sticky Summary */
      .sticky-summary {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--bg);
        padding-bottom: 10px;
        margin-bottom: 20px;
      }

      .chart-container {
        position: relative;
        height: 300px;
        width: 100%;
        margin-top: 20px;
        background: rgba(255,255,255,0.02);
        border-radius: 16px;
        padding: 16px;
        border: 1px solid rgba(255,255,255,0.05);
      }

      .filter-section {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
        background: rgba(255,255,255,0.03);
        padding: 16px;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.08);
      }

      .event-checklist {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
        max-height: 150px;
        overflow-y: auto;
        padding: 8px;
        background: rgba(0,0,0,0.2);
        border-radius: 8px;
      }

      .event-checkbox-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
      }

      .event-checkbox-item:hover {
        background: rgba(255,255,255,0.05);
      }

      .event-checkbox-item input {
        width: auto;
        margin: 0;
      }

      .chart-toggle-group {
        display: flex;
        gap: 8px;
        margin-bottom: 10px;
      }

      .chart-toggle-group button {
        flex: 1;
        font-size: 12px;
        padding: 8px;
        text-transform: none;
      }
