@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
      :root {
        --bg: #24272c;
        --panel: rgba(255, 255, 255, 0.04);
        --panel-2: rgba(255, 255, 255, 0.06);
        --text: #f5f6f8;
        --muted: #8b8f9a;
        --primary: #8b5cf6;
        --primary-glow: rgba(139, 92, 246, 0.35);
        --electric: #a3e635;
        --electric-glow: rgba(132, 204, 22, 0.3);
        --success: #84cc16;
        --danger: #f43f5e;
        --border: rgba(255, 255, 255, 0.08);
        --neon-pink: #f43f5e;
        --neon-blue: #a3e635;
        --neon-purple: #8b5cf6;
      }
      * { box-sizing: border-box; }
      body {
        margin: 0;
        background-color: #0d0d15;
        color: var(--text);
        font-family: "Montserrat", sans-serif;
        background-image: 
          radial-gradient(circle at 10% 50%, rgba(168, 85, 247, 0.28) 0%, transparent 50%),
          radial-gradient(circle at 75% 0%, rgba(217, 70, 239, 0.25) 0%, transparent 40%),
          radial-gradient(circle at 95% 10%, rgba(6, 182, 212, 0.25) 0%, transparent 40%),
          radial-gradient(circle at 85% 100%, rgba(139, 92, 246, 0.28) 0%, transparent 50%);
        background-attachment: fixed;
        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) */
      /* Referans tasarima uygun DUZ koyu arka plan (global renkli gradyan parıltılar kapatildi) */
      body.admin-page,
      body.pr-page {
        background-color: #0a0a0d;
        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(139, 92, 246, 0.10) 0%, transparent 60%),
          radial-gradient(ellipse 60% 50% at 80% 100%, rgba(139, 92, 246, 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); } }

      /* Tema (açık/koyu) geçişi: değişim anında tüm transition'ları kapat →
         arka plan/kenarlık aynı anda anlık değişir, geçici çizgi/flaş artefaktı olmaz.
         (fluxThemeSwitch bu sınıfı 2 frame için ekler.) */
      body.theme-switching,
      body.theme-switching *,
      body.theme-switching *::before,
      body.theme-switching *::after { transition: none !important; }

      /* ══════════════════════════════════════════════════════════
         KAPI PANELİ — Admin paneli (av2) koyu menekşe teması
         ══════════════════════════════════════════════════════════ */
      body.door-page {
        --fd-primary: #a78bfa;
        --fd-primary-dim: #8b5cf6;
        --fd-primary-container: #2a2740;
        --fd-bg: #24272c;
        --fd-surface-low: #1b1d22;
        --fd-surface-container: #16171c;
        --fd-surface-high: #1d1f25;
        --fd-surface-highest: #24262e;
        --fd-outline: #3a3d44;
        --fd-outline-variant: rgba(255, 255, 255, 0.08);
        --fd-table-line: rgba(255, 255, 255, 0.12);
        --fd-on-surface: #ffffff;
        --fd-on-variant: rgba(255, 255, 255, 0.55);
        --fd-error: #f43f5e;
        --fd-amber: #f59e0b;
        --fd-green: #84cc16;
        background-color: #24272c;
        background-image: none;
        background-attachment: fixed;
        color: var(--fd-on-surface);
        font-family: "Montserrat", 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-table-line: #cbd5e1;
        --fd-on-surface: #0f172a;
        --fd-on-variant: #475569;
        --fd-error: #f43f5e;
        --fd-amber: #f59e0b;
        --fd-green: #84cc16;
        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-textarea::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-row:hover { background: #f8fafc; }
      body.door-light .fd-badge.guest { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
      body.door-light .fd-empty { color: #64748b; }
      body.door-light .fd-note-input { background: #ffffff; color: #1e293b; border-color: #cbd5e1; }
      body.door-light .fd-select-mini select { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
      body.door-light .fd-select-mini .material-symbols-outlined { color: #475569; }
      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: "Montserrat", sans-serif; font-size: 18px; font-weight: 700;
        letter-spacing: -0.01em; margin: 0; color: var(--fd-on-surface);
        text-shadow: none; background: none; -webkit-text-fill-color: var(--fd-on-surface);
      }
      .fd-subtitle {
        font-family: "Montserrat", sans-serif; 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: "Montserrat", 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: "Montserrat", sans-serif; 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: "Montserrat", sans-serif; 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: "Montserrat", 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: "Montserrat", sans-serif; 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: "Montserrat", sans-serif; 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: "Montserrat", 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: "Montserrat", sans-serif; 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: "Montserrat", sans-serif; 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: "Montserrat", sans-serif; 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: "Montserrat", sans-serif; 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: "Montserrat", 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; }

      .fd-online-input {
        width: 60px; height: 36px; text-align: center; border-radius: 8px;
        border: 1px solid var(--fd-outline-variant);
        background: rgba(0, 0, 0, 0.4); color: var(--fd-on-surface);
        font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px;
        outline: none; margin: 0; padding: 0;
        transition: border-color 0.2s;
      }
      .fd-online-input:focus {
        border-color: var(--fd-primary);
      }
      body.door-light .fd-online-input {
        background: var(--fd-surface-low);
      }

      /* ── 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: "Montserrat", sans-serif;
      }
      .fd-search input::placeholder { color: var(--fd-outline); }
      .fd-search input:focus { outline: none; box-shadow: none; border: none; }
      /* Arama kutusunun sağındaki eşleşme gezinme çubuğu — küçük bir kutu (pill) içinde, belirgin. */
      .fd-search-nav {
        display: inline-flex; align-items: center; gap: 1px; flex-shrink: 0; margin: 0 4px 0 8px; padding: 2px 3px 2px 4px;
        background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 9px;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.06);
      }
      .fd-search-count {
        font-size: 12px; font-weight: 700; color: var(--fd-primary); font-variant-numeric: tabular-nums;
        padding: 0 7px 0 5px; letter-spacing: 0.02em; white-space: nowrap;
      }
      .fd-search-navbtn {
        display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
        padding: 0; margin: 0; background: transparent; border: none; border-radius: 6px; cursor: pointer;
        color: var(--fd-on-surface); box-shadow: none; transition: background 0.15s ease, color 0.15s ease;
      }
      .fd-search-navbtn::after { display: none; }
      .fd-search-navbtn:hover { background: rgba(139, 92, 246, 0.35); color: #fff; transform: none; }
      .fd-search-navbtn .material-symbols-outlined { font-size: 20px !important; }
      body.door-light .fd-search-nav { background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.3); }
      body.door-light .fd-search-navbtn { color: #475569; }
      body.door-light .fd-search-navbtn:hover { color: #fff; }

      /* ── 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; }
      /* Sekme görünümleri (Misafir / PR Giriş) — flex zincirini sürdürür ki tablo dikey scroll edebilsin */
      .fd-view { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 16px; }
      .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: "Montserrat", sans-serif; 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 var(--fd-table-line); 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; }

      /* PR Giriş sekmeleri (kapı paneli) */
      .fd-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
      .fd-tab {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 9px 16px; min-height: 44px;
        background: var(--fd-surface-high); color: var(--fd-on-variant);
        border: 1px solid var(--fd-outline-variant); border-radius: 12px;
        font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
      }
      .fd-tab .material-symbols-outlined { font-size: 18px; }
      .fd-tab:hover { color: var(--fd-on-surface); border-color: var(--fd-primary); }
      .fd-tab.fd-tab-active {
        background: rgba(139, 92, 246, 0.12); color: var(--fd-primary);
        border-color: rgba(139, 92, 246, 0.45);
      }
      .fd-tab-badge {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px;
        background: var(--fd-primary); color: #fff; font-size: 11px; font-weight: 700;
      }
      .fd-arrival-time { color: var(--fd-green); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
      .fd-arrival-empty { color: var(--fd-on-variant); }
      .fd-row.pr-row.is-checked { background: rgba(52, 211, 153, 0.06); }

      body.door-light .fd-tab { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }
      body.door-light .fd-tab:hover { color: #0f172a; border-color: var(--fd-primary); }
      body.door-light .fd-tab.fd-tab-active { background: rgba(139, 92, 246, 0.1); color: var(--fd-primary); border-color: rgba(139, 92, 246, 0.4); }
      body.door-light .fd-row.pr-row.is-checked { background: rgba(5, 150, 105, 0.06); }

      .fd-name-wrap { display: flex; flex-direction: column; }
      .fd-name { font-weight: 700; font-size: 16px; color: var(--fd-on-surface); }
      /* İçeride olan (check-in yapılmış) misafirin adı gri/soluk (muted) görünür. */
      .fd-name.in { color: var(--fd-on-variant); opacity: 0.55; text-shadow: none; font-weight: 600; }
      .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; }
      /* Tip / Durum: üç öğe de AYNI yükseklik & sabit genişlik, yazılar tam ortalı →
         satırlar ve sütunlar hizalı kalır; check-in / tip değişince boyut kaymaz. */
      .fd-td-type .fd-badge.guest,
      .fd-td-type .fd-badge.dost,
      .fd-td-type .fd-badge.status-in,
      .fd-td-type .fd-badge.status-wait {
        display: inline-flex; align-items: center; justify-content: center;
        height: 28px; padding: 0 8px; box-sizing: border-box; line-height: 1; text-align: center;
      }
      .fd-td-type .fd-badge.guest,
      .fd-td-type .fd-badge.dost { width: 58px; margin-right: 6px; }
      .fd-td-type .fd-badge.status-in,
      .fd-td-type .fd-badge.status-wait { width: 78px; margin-right: 0; }
      .fd-td-type .fd-select-mini { margin-right: 6px; }
      .fd-td-type .fd-select-mini select {
        width: 82px; height: 28px; box-sizing: border-box; padding: 0 24px 0 10px; line-height: 1;
      }
      .fd-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.03em; margin-right: 6px; }
      /* GUEST & DOST: aynı yumuşak köşeli dikdörtgen; sadece renk farkıyla ayrışır (neon değil, sakin tonlar). */
      .fd-badge.guest { background: rgba(100, 116, 139, 0.16); border: 1px solid rgba(148, 163, 184, 0.35); color: #cbd5e1; border-radius: 6px; }
      .fd-badge.dost  { background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); color: #c4b5fd; border-radius: 6px; }
      body.door-light .fd-badge.guest { background: rgba(100, 116, 139, 0.12); border-color: rgba(100, 116, 139, 0.35); color: #475569; }
      body.door-light .fd-badge.dost  { background: rgba(139, 92, 246, 0.10); border-color: rgba(139, 92, 246, 0.35); color: #6d28d9; }
      .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-badge.pr { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.4); color: #60a5fa; }
      .fd-badge.dj { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.4); color: #c084fc; }

      /* ── Excel benzeri ızgara çizgileri ── */
      .fd-table .fd-td, .fd-table .fd-th { border-right: 1px solid var(--fd-table-line); }
      .fd-table .fd-td:last-child, .fd-table .fd-th:last-child { border-right: none; }

      /* ── PR/DJ akordeon grup başlıkları ── */
      .fd-acc-header { cursor: pointer; user-select: none; }
      .fd-acc-cell { padding: 12px 16px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; transition: background 0.15s ease; }
      .fd-acc-cell.fd-acc-pr { background: rgba(255, 255, 255, 0.02); border-top: 1.5px solid rgba(255, 255, 255, 0.08); color: var(--fd-on-surface); }
      .fd-acc-cell.fd-acc-dj { background: rgba(168, 85, 247, 0.05); border-top: 1.5px solid rgba(168, 85, 247, 0.2); color: var(--fd-primary); }
      .fd-acc-header:hover .fd-acc-cell { background: rgba(139, 92, 246, 0.10); }
      .fd-acc-caret { font-size: 20px; vertical-align: middle; margin-right: 4px; color: var(--fd-on-variant); transition: transform 0.2s ease; }
      .fd-acc-header.is-collapsed .fd-acc-caret { transform: rotate(-90deg); }
      .fd-acc-name { vertical-align: middle; }
      .fd-acc-count {
        margin-left: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
        color: var(--fd-on-variant); background: var(--fd-surface-highest);
        border: 1px solid var(--fd-outline-variant); padding: 2px 8px; border-radius: 999px;
      }
      body.door-light .fd-acc-cell.fd-acc-pr { background: var(--fd-surface-low); border-top-color: var(--fd-outline-variant); }

      /* ── Arama vurgusu: liste yerinde kalır, en iyi eşleşmeye ANINDA konumlanılır (animasyon YOK) ── */
      .fd-row.fd-row-highlight { background: rgba(139, 92, 246, 0.10) !important; }
      .fd-row.fd-row-highlight-primary {
        background: rgba(124, 58, 237, 0.22) !important;
        outline: 2px solid rgba(139, 92, 246, 0.7); outline-offset: -2px;
      }

      .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-on-variant); 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: "Montserrat", sans-serif; 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: #f43f5e; 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: #8b5cf6; 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-on-variant); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; opacity: 0.55; }
      .fd-del-btn::after { display: none; }
      .fd-row:hover .fd-del-btn { opacity: 1; }
      .fd-del-btn:hover { color: var(--fd-error); background: rgba(244, 63, 94, 0.14); 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: #fff; 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); }
      /* Açık temada onay kutusu: koyu yerine beyaz zemin + gri kenar (mockup'ta koyu duruyordu).
         NOT: door-page sınıfı body'de olduğu için bitişik seçici şart (boşluklu olan eşleşmez). */
      body.door-light.door-page .custom-checkbox { background: #ffffff; border-color: #cbd5e1; }
      body.door-light.door-page .custom-checkbox:checked { background: var(--fd-primary); border-color: var(--fd-primary); }

      /* ── 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: "Montserrat", sans-serif; 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: #8b5cf6;
    color: #000;
}
      h1, h2, h3 {
        margin: 0 0 10px;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #f5f6f8;
      }
      p { margin: 6px 0; color: var(--muted); }
      input, select, textarea, button {
        width: 100%;
        padding: 14px;
        font-size: 17px;
        font-family: "Montserrat", sans-serif;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: #16171c;
        color: var(--text);
        margin-top: 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: #f5f6f8;
      }
      button {
        border: none;
        font-weight: 700;
        background: #8b5cf6;
        color: #fff;
        cursor: pointer;
        text-transform: none;
        letter-spacing: 0.01em;
        transition: all 0.2s ease;
        box-shadow: none;
        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(-1px);
        background: #7c3aed;
      }
      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(139, 92, 246, 0.25);
        box-shadow: 0 0 16px rgba(139, 92, 246, 0.1);
      }
      button.success {
        background: #84cc16;
        color: #1a2e05;
        box-shadow: none;
      }
      button.success:hover { background: #9ada1f; }
      button.danger {
        background: #f43f5e;
        box-shadow: none;
      }
      button.danger:hover { background: #e11d48; }

      /* === 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: rgba(139, 92, 246, 0.16);
        color: #c4b5fd;
        box-shadow: none;
      }

      /* === ACTION BUTTON VARIANTS === */
      button.btn-refresh {
        background: rgba(139, 92, 246, 0.12);
        color: #a78bfa;
        box-shadow: none;
        border: 1px solid rgba(139, 92, 246, 0.25);
      }
      button.btn-refresh:hover {
        background: rgba(139, 92, 246, 0.2);
        box-shadow: none;
        border-color: rgba(139, 92, 246, 0.4);
        transform: translateY(-1px);
      }
      button.btn-export {
        background: rgba(245, 158, 11, 0.14);
        color: #ffb74d;
        box-shadow: none;
        border: 1px solid rgba(255, 183, 77, 0.2);
      }
      button.btn-export:hover {
        background: rgba(245, 158, 11, 0.22);
        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: #8b5cf6;
        color: #fff;
        box-shadow: none;
        font-weight: 700;
      }
      button.btn-add:hover {
        background: #7c3aed;
        transform: translateY(-1px);
      }
      button.btn-create-pr {
        background: #84cc16;
        color: #1a2e05;
        box-shadow: none;
        border: none;
        font-weight: 700;
      }
      button.btn-create-pr:hover {
        background: #9ada1f;
        box-shadow: none;
        border-color: rgba(0, 230, 118, 0.35);
        transform: translateY(-1px);
      }
      button.btn-delete-pr {
        width: 92px;
        height: 36px;
        flex-shrink: 0;
        margin: 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 23, 68, 0.08);
        color: #ff6b8a;
        box-shadow: none;
        border: 1px solid rgba(255, 23, 68, 0.15);
        font-size: 12px;
        font-weight: 600;
        text-transform: none;
      }
      button.btn-delete-pr:hover {
        background: rgba(255, 23, 68, 0.16);
        border-color: rgba(255, 23, 68, 0.3);
        box-shadow: 0 0 18px rgba(255, 23, 68, 0.12);
        color: #ff8fa5;
        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(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: 12px;
        margin-top: 8px;
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(10px);
        animation: fadeInUp 280ms ease;
        transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
      }
      .guest:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(139, 92, 246, 0.35);
        box-shadow: 0 0 16px rgba(139, 92, 246, 0.08);
      }
      .guest.removing { animation: fadeOut 220ms ease forwards; }
      .guest-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
      }
      .guest-name-col {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .guest-status-col {
        width: 100px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
      }
      .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;
      }
      .guest .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 84px;
        height: 22px;
        padding: 0;
        margin-left: 8px;
        flex-shrink: 0;
      }
      .badge.waiting {
        background: rgba(139, 92, 246, 0.12);
        color: #c4b5fd;
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.08);
        border: 1px solid rgba(139, 92, 246, 0.25);
      }
      .badge.checked {
        background: rgba(132, 204, 22, 0.12);
        color: #84cc16;
        box-shadow: 0 0 12px rgba(132, 204, 22, 0.08);
        border: 1px solid rgba(132, 204, 22, 0.25);
      }
      .badge.first { background: rgba(132, 204, 22, 0.15); color: #84cc16; border: 1px solid rgba(132, 204, 22, 0.25); }
      .badge.duplicate { background: rgba(245, 158, 11, 0.15); color: #fb923c; border: 1px solid rgba(245, 158, 11, 0.25); }
      .badge-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
      .badge-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.2); }
      body.admin-light .badge-blue { background: rgba(59, 130, 246, 0.1); color: #2563eb; border: 1px solid rgba(59, 130, 246, 0.25); }
      body.admin-light .badge-orange { background: rgba(249, 115, 22, 0.1); color: #ea580c; border: 1px solid rgba(249, 115, 22, 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: #a3e635; }
      .stat-card.orange {
        border-color: rgba(245, 158, 11, 0.25);
        box-shadow: 0 0 24px rgba(245, 158, 11, 0.08);
      }
      .stat-card.orange .value { color: #f59e0b; }
      .stat-card.purple {
        border-color: rgba(139, 92, 246, 0.3);
        box-shadow: 0 0 24px rgba(139, 92, 246, 0.12);
      }
      .stat-card.purple .value { color: #8b5cf6; }
      .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(139, 92, 246, 0.08);
        transition: all 200ms ease;
      }
      .pr-clean-row:hover {
        background: rgba(139, 92, 246, 0.06);
        border-color: rgba(139, 92, 246, 0.2);
      }
      .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
      }
      .dot.dost { background: #8b5cf6; box-shadow: 0 0 10px rgba(139, 92, 246, 0.6); }
      .dot.guest { background: #84cc16; box-shadow: 0 0 10px rgba(132, 204, 22, 0.6); }
      .toast {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 1000;
        max-width: min(360px, calc(100vw - 40px));
        background: #1d1f25;
        color: #f5f6f8;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 3px solid #8b5cf6;
        border-radius: 12px;
        padding: 13px 18px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
        animation: toastIn 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
      }
      body.admin-light .toast, body.door-light .toast { background: #ffffff; color: #1e293b; border-color: #e2e8f0; border-left-color: #8b5cf6; box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
      @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(139, 92, 246, 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-status-col { width: auto; }
        .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(139, 92, 246, 0.12) 0%, transparent 70%),
          radial-gradient(ellipse 50% 40% at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
          radial-gradient(ellipse 40% 30% at 50% 50%, rgba(139, 92, 246, 0.05) 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: "Montserrat", 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: none;
        color: #a78bfa;
        -webkit-text-fill-color: #a78bfa;
        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: "Montserrat", 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: #8b5cf6;
        color: #ffffff;
        font-weight: 800;
        font-family: "Montserrat", 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: #1b1d22;
        border: 1px solid var(--border);
        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: #f5f6f8;
      }
      .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;
      }

/* ═══════════════════════════════════════════════════════════════
   GLOBAL DESIGN SYSTEM — UI audit polish layer (tüm paneller)
   Tipografi tutarlılığı, taşma koruması, erişilebilirlik, scrollbar
   ═══════════════════════════════════════════════════════════════ */

/* Yazı yumuşatma + tutarlı taban tipografi */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1, "kern" 1;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Tipografi hiyerarşisi (tutarlı satır yüksekliği + harf aralığı) */
h1 { line-height: 1.2; letter-spacing: -0.02em; }
h2 { line-height: 1.25; letter-spacing: -0.015em; }
h3 { line-height: 1.3; letter-spacing: -0.01em; }
h4, h5, h6 { line-height: 1.35; letter-spacing: -0.005em; }

/* Uzun metin/email/isim taşmasını engelle (UI'ı bozmasın) */
p, span, a, li, label, td, th, dd, dt, h1, h2, h3, h4, h5, h6,
.value, .label, .badge, .meta-line, .av2-row-name, .av2-row-sub {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Medya öğeleri kabı taşmasın */
img, svg, video, canvas { max-width: 100%; height: auto; }
canvas { height: auto; }

/* Erişilebilir klavye odak halkası (yalnızca klavye ile) */
:focus-visible {
  outline: 2px solid var(--primary, #8b5cf6);
  outline-offset: 2px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* Birleşik ince scrollbar (koyu tema varsayılan) */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); background-clip: padding-box; }
body.admin-light *, body.door-light * { scrollbar-color: rgba(15,23,42,0.25) transparent; }
body.admin-light ::-webkit-scrollbar-thumb, body.door-light ::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.22); background-clip: padding-box; }

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.05ms !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PANEL BRANDING — Kapı & PR panel header'larına Flux kimliği
   (Admin sidebar logosuyla tutarlı: logo + ayraç + ikon + başlık)
   ═══════════════════════════════════════════════════════════════ */

/* Kapı paneli marka header'ı */
.fd-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fd-brand-logo { display: flex; align-items: center; color: var(--fd-on-surface); flex-shrink: 0; }
.fd-brand-logo .flux-wordmark { height: 22px; width: auto; display: block; }
.fd-brand-divider { width: 1px; height: 30px; background: var(--fd-outline-variant); flex-shrink: 0; }
.fd-brand-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--fd-primary-container); color: var(--fd-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fd-brand-badge .material-symbols-outlined { font-size: 22px; }
.fd-brand-text { min-width: 0; }

/* PR paneli marka header'ı */
.pr-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pr-brand-logo { display: flex; align-items: center; color: #ffffff; flex-shrink: 0; }
.pr-brand-logo .flux-wordmark { height: 22px; width: auto; display: block; }
.pr-brand-divider { width: 1px; height: 30px; background: var(--border); flex-shrink: 0; }
.pr-brand-badge { width: 42px; height: 42px; border-radius: 12px; background: rgba(139, 92, 246, 0.15); color: #a78bfa; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pr-brand-badge svg { width: 21px; height: 21px; }
.pr-brand-text { min-width: 0; }
.pr-brand-text h2 { font-size: 18px; font-weight: 700; }
.pr-brand-text .meta-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* PR paneli üst bar + mobil hamburger menü (mobile-first dokunma hedefleri) */
.pr-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0; padding: 0; margin: 0;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text); cursor: pointer;
}
.pr-menu-toggle .material-symbols-outlined { font-size: 24px; }
.pr-menu { display: flex; gap: 8px; margin-top: 14px; }
.pr-menu button {
  flex: 1; min-height: 44px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; font-size: 13px;
}
.pr-menu button .material-symbols-outlined { font-size: 18px; }
.tab-bar { margin-top: 14px; }
.tab-bar button { min-height: 44px; }

@media (max-width: 768px) {
  /* Aksiyonlar hamburger menüye taşınır; dokunma hedefleri büyür */
  .pr-menu-toggle { display: inline-flex; }
  .pr-menu { display: none; flex-direction: column; margin-top: 12px; }
  .pr-menu.open { display: flex; }
  .pr-menu button { width: 100%; }
  button.btn-add, #saveGuestBtn { min-height: 48px; }
  button.btn-delete-pr { min-height: 36px; height: 36px; width: 92px; padding: 0; flex-shrink: 0; }
  #guestType, #guestNames { min-height: 44px; }
}

@media (max-width: 480px) {
  .pr-brand-divider { display: none; }
  .pr-brand { gap: 10px; }
  .pr-brand-badge { width: 38px; height: 38px; }
}

/* PR panel uyarı/bilgi kutuları (Flux paleti) */
.pr-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; font-size: 14px; font-weight: 500; border: 1px solid; line-height: 1.45; }
.pr-alert-info { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.4); color: #c4b5fd; }
.pr-alert-info b { color: #ffffff; }
.pr-alert-danger { background: rgba(244, 63, 94, 0.12); border-color: rgba(244, 63, 94, 0.4); color: #fda4af; }

/* Kapı topbar: sade arka plan (yoğun siyah cam yerine yüzey rengi) */
.fd-topbar { background: var(--fd-surface-container) !important; box-shadow: none !important; }

@media (max-width: 640px) {
  .fd-brand-divider, .fd-brand-badge { display: none; }
  .fd-brand-logo .flux-wordmark, .pr-brand-logo .flux-wordmark { height: 20px; }
}

/* ─── LOGO AÇIK TEMA ───────────────────────────────────────────────────────── */
/* Kapı paneli logosu açık temada koyu görünsün */
body.door-light .fd-brand-logo { color: #1e293b; }
body.door-light .fd-topbar { background: rgba(255,255,255,0.95) !important; }

/* PR uyarı kutuları açık temada */
body.admin-light .pr-alert-info { background: rgba(109, 40, 217, 0.08); border-color: rgba(109,40,217,0.3); color: #6d28d9; }
body.admin-light .pr-alert-info b { color: #4c1d95; }
body.admin-light .pr-alert-danger { background: rgba(220, 38, 38, 0.08); border-color: rgba(220,38,38,0.3); color: #b91c1c; }

/* ─── KAPANI/PR PANELİ GENEL METİN AÇIK TEMA ─────────────────────────────── */
body.door-light .fd-subtitle,
body.door-light .fd-brand-text p { color: #475569; }

body.door-light .fd-brand-text h1,
body.door-light .fd-title { color: #7c3aed; -webkit-text-fill-color: #7c3aed; text-shadow: none; }

/* Kapı paneli stat sayaçları açık temada */
body.door-light .fd-stat-card { background: #ffffff; border: 1px solid #e2e8f0; }
body.door-light .fd-stat-value { color: #1e293b; }
body.door-light .fd-stat-label { color: #64748b; }

/* Kapı paneli yan panel arka planı */
body.door-light .fd-sidebar { background: rgba(255,255,255,0.65); border-right-color: #e2e8f0; }

/* Tablo başlığı + sütun etiketi */
body.door-light .fd-table-head,
body.door-light thead tr { background: #f8fafc; }

/* Genel kapı alanı metin rengi */
body.door-light .fd-on-surface,
body.door-light td, body.door-light th { color: #1e293b; }

/* Açık temada --muted token'ını koyulaştır: beyaz kartlar üzerindeki gri (#8b8f9a)
   yazılar (ör. Dashboard Aktif Etkinlik "Başlama/Bitiş") düşük kontrast kalmasın */
body.admin-light, body.door-light { --muted: #64748b; }

/* PR panel açık tema metin rengi */
body.admin-light.pr-page,
body.admin-light .pr-v2-shell { background: #f8fafc; color: #1e293b; }

body.admin-light.pr-page h2,
body.admin-light.pr-page h3,
body.admin-light.pr-page strong { color: #1e293b; -webkit-text-fill-color: #1e293b; }

body.admin-light.pr-page .muted { color: #64748b; }

/* PR paneli açık tema — eksik form & kart override'ları (koyu tema artıkları) */
body.admin-light.pr-page input,
body.admin-light.pr-page select,
body.admin-light.pr-page textarea {
  background: #ffffff;
  color: #1e293b;
  border-color: #e2e8f0;
}
body.admin-light.pr-page input::placeholder,
body.admin-light.pr-page textarea::placeholder { color: #94a3b8; }
body.admin-light.pr-page select option { background: #ffffff; color: #1e293b; }
body.admin-light.pr-page .guest {
  background: #ffffff;
  border-color: #e2e8f0;
}
body.admin-light.pr-page .guest:hover { border-color: #cbd5e1; box-shadow: 0 2px 10px rgba(15,23,42,0.05); }
body.admin-light.pr-page .btn-delete-pr {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}
body.admin-light.pr-page .btn-delete-pr:hover { background: #fecaca; border-color: #fca5a5; }


