/* ====================================================================================
   DOSYA: css/style.css
   PROJE: NetZero E.S. (Emission Systems)
   AÇIKLAMA: Bütün HTML sayfaları (index.html, oturum.html, panel.html, hesaplayici.html,
             simulasyon.html, abonelikler.html, profil.html, yonetici.html, dogrulama.html)
             CSS'lerini bu tek dosyadan alır. Tailwind CDN yalnızca utility class'lar
             (grid, spacing, flex vb.) için kullanılır; marka kimliği, animasyonlar,
             özel bileşenler (pop-up, sidebar, kart, tablo, buton varyantları, yazdırma
             stilleri) burada, TEK NOKTADAN yönetilir.
   KULLANIM: Her sayfanın <head> bölümüne şu satır eklenecektir:
             <link rel="stylesheet" href="css/style.css">
   ==================================================================================== */

/* ------------------------------------------------------------------------------------
   1) KÖK DEĞİŞKENLER (CSS Custom Properties) — MARKA RENK PALETİ
   ------------------------------------------------------------------------------------ */
:root {
    /* Ana marka renkleri - Yeşil/Karbon-Nötr temalı */
    --nz-primary-50:  #ecfdf5;
    --nz-primary-100: #d1fae5;
    --nz-primary-200: #a7f3d0;
    --nz-primary-300: #6ee7b7;
    --nz-primary-400: #34d399;
    --nz-primary-500: #10b981;
    --nz-primary-600: #059669;
    --nz-primary-700: #047857;
    --nz-primary-800: #065f46;
    --nz-primary-900: #064e3b;

    /* İkincil renk - Su/Mavi tema (Su Ayak İzi modülleri için) */
    --nz-secondary-500: #0ea5e9;
    --nz-secondary-600: #0284c7;
    --nz-secondary-700: #0369a1;

    /* Vurgu renkleri */
    --nz-accent-amber:  #f59e0b;
    --nz-accent-red:    #ef4444;
    --nz-accent-purple: #8b5cf6;

    /* Nötr / arka plan tonları */
    --nz-bg-dark:      #0b1120;
    --nz-bg-darker:    #060a14;
    --nz-surface:      #111827;
    --nz-surface-2:    #1f2937;
    --nz-border:       #27303f;
    --nz-text-primary:   #f1f5f9;
    --nz-text-secondary: #94a3b8;
    --nz-text-muted:     #64748b;

    /* Katman gölgesi ve geçiş süreleri */
    --nz-shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
    --nz-transition-fast: 150ms ease;
    --nz-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --nz-radius-md: 0.75rem;
    --nz-radius-lg: 1.25rem;

    /* Sidebar / Header sabit boyutlar (layout.js bu değerlere göre hizalanır) */
    --nz-header-height: 72px;
    --nz-sidebar-width: 280px;
    --nz-sidebar-width-collapsed: 84px;
}

/* ------------------------------------------------------------------------------------
   2) GENEL SIFIRLAMA VE TEMEL GÖVDE STİLİ
   ------------------------------------------------------------------------------------ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--nz-bg-dark);
    color: var(--nz-text-primary);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Özel kaydırma çubuğu (scrollbar) - tüm platform genelinde tutarlı görünüm */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--nz-bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--nz-primary-700);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--nz-primary-500);
}

/* ------------------------------------------------------------------------------------
   3) ORTAK HEADER (js/layout.js tarafından #nz-header-root içine enjekte edilir)
   ------------------------------------------------------------------------------------ */
.nz-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nz-header-height);
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--nz-border);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.nz-header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--nz-text-primary);
    text-decoration: none;
}

.nz-header__logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--nz-primary-400), var(--nz-primary-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--nz-shadow-glow);
}

.nz-header__nav a {
    color: var(--nz-text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--nz-transition-fast);
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
}

.nz-header__nav a:hover,
.nz-header__nav a.nz-active {
    color: var(--nz-primary-300);
    background: rgba(16, 185, 129, 0.08);
}

/* ------------------------------------------------------------------------------------
   4) ORTAK FOOTER
   ------------------------------------------------------------------------------------ */
.nz-footer {
    border-top: 1px solid var(--nz-border);
    background: var(--nz-bg-darker);
    color: var(--nz-text-muted);
    padding: 3rem 1.5rem 1.5rem;
    transition: margin-left var(--nz-transition-base);
}

/* [HATA DÜZELTMESİ] Sidebar "position: fixed" olup normal doküman akışını
   itmediği için, footer sayfa kaydırıldığında sabit sidebar'ın ALTINDA/ARKASINDA
   kalıyordu. js/layout.js, sidebar başarıyla render edildiğinde <body> öğesine
   "nz-has-sidebar" sınıfını ekler; footer o zaman ana içerikle aynı sol boşluğu
   (margin-left) alır. NOT: Daha önce bu sorunu "position: sticky + flex" ile
   çözmeye çalıştık ancak bu, sayfa içindeki DİĞER sticky öğelerle (örn. Sonuç
   Paneli'nin "lg:sticky" kullanımı) çakışıp içerik konumlanmasını bozdu. Bu
   yüzden daha basit ve KANITLANMIŞ olan "fixed sidebar + margin-left" yöntemine
   geri dönüldü — daha az "akıllı" ama çok daha SAĞLAM ve öngörülebilir. */
body.nz-has-sidebar .nz-footer {
    margin-left: var(--nz-sidebar-width);
}
@media (max-width: 1024px) {
    body.nz-has-sidebar .nz-footer {
        margin-left: 0;
    }
}

.nz-footer a {
    color: var(--nz-text-secondary);
    text-decoration: none;
    transition: color var(--nz-transition-fast);
}
.nz-footer a:hover {
    color: var(--nz-primary-300);
}

/* ------------------------------------------------------------------------------------
   5) PANEL SOL MENÜ (SIDEBAR) — RBAC ile dinamik enjekte edilir
   ------------------------------------------------------------------------------------ */
.nz-sidebar {
    position: fixed;
    top: var(--nz-header-height);
    left: 0;
    bottom: 0;
    width: var(--nz-sidebar-width);
    background: var(--nz-surface);
    border-right: 1px solid var(--nz-border);
    overflow-y: auto;
    transition: width var(--nz-transition-base), transform var(--nz-transition-base);
    z-index: 45;
    padding: 1.25rem 0.85rem 2rem;
}

.nz-sidebar.nz-collapsed {
    width: var(--nz-sidebar-width-collapsed);
}

.nz-sidebar__group-title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nz-text-muted);
    padding: 1rem 0.75rem 0.4rem;
    font-weight: 700;
}

.nz-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    color: var(--nz-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 2px;
    transition: background var(--nz-transition-fast), color var(--nz-transition-fast);
    white-space: nowrap;
    position: relative;
}

.nz-sidebar__link:hover {
    background: var(--nz-surface-2);
    color: var(--nz-text-primary);
}

.nz-sidebar__link.nz-active {
    background: linear-gradient(90deg, rgba(16,185,129,0.18), transparent);
    color: var(--nz-primary-300);
    border-left: 3px solid var(--nz-primary-500);
    padding-left: calc(0.75rem - 3px);
}

.nz-sidebar__link--locked {
    opacity: 0.45;
    cursor: not-allowed;
}

.nz-sidebar__lock-badge {
    margin-left: auto;
    font-size: 0.65rem;
    background: var(--nz-surface-2);
    color: var(--nz-text-muted);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--nz-border);
}

.nz-main-content {
    margin-left: var(--nz-sidebar-width);
    padding: 1.75rem;
    transition: margin-left var(--nz-transition-base);
    min-height: calc(100vh - var(--nz-header-height));
}

.nz-main-content.nz-sidebar-collapsed {
    margin-left: var(--nz-sidebar-width-collapsed);
}

/* ------------------------------------------------------------------------------------
   [YENİ] MOBİL/TABLET HAMBURGER MENÜ DAVRANIŞI
   1024px altında sidebar ekran dışına (transform) taşınır ve bir "hamburger"
   butonuyla (js/layout.js tarafından header'a enjekte edilir) açılıp kapanabilir.
   Açıkken arkasında yarı saydam bir karartma (backdrop) belirir; karartmaya
   tıklamak veya bir menü linkine tıklamak menüyü otomatik kapatır.
   ------------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .nz-sidebar {
        transform: translateX(-100%);
        z-index: 70;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
    }
    .nz-sidebar.nz-mobile-open {
        transform: translateX(0);
    }
    .nz-main-content {
        margin-left: 0 !important;
    }
    .nz-mobil-menu-btn {
        display: inline-flex !important;
    }
}

/* Hamburger buton - varsayılan olarak masaüstünde gizli */
.nz-mobil-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0.6rem;
    background: var(--nz-surface-2);
    border: 1px solid var(--nz-border);
    color: var(--nz-text-primary);
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--nz-transition-fast);
}
.nz-mobil-menu-btn:hover {
    background: var(--nz-surface);
}

/* Mobil menü açıkken sidebar'ın arkasında beliren karartma */
.nz-mobil-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.7);
    z-index: 65;
    opacity: 0;
    transition: opacity var(--nz-transition-base);
}
.nz-mobil-backdrop.nz-open {
    display: block;
    opacity: 1;
}

/* ------------------------------------------------------------------------------------
   6) KART / PANEL BİLEŞENLERİ
   ------------------------------------------------------------------------------------ */
.nz-card {
    background: var(--nz-surface);
    border: 1px solid var(--nz-border);
    border-radius: var(--nz-radius-lg);
    padding: 1.5rem;
    transition: border-color var(--nz-transition-fast), transform var(--nz-transition-fast);
}

.nz-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
}

.nz-card--glow {
    box-shadow: var(--nz-shadow-glow);
}

.nz-stat-card {
    background: linear-gradient(160deg, var(--nz-surface) 0%, var(--nz-surface-2) 100%);
    border: 1px solid var(--nz-border);
    border-radius: var(--nz-radius-lg);
    padding: 1.25rem 1.5rem;
}

/* ------------------------------------------------------------------------------------
   7) BUTON VARYANTLARI
   ------------------------------------------------------------------------------------ */
.nz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: all var(--nz-transition-fast);
    border: 1px solid transparent;
}

.nz-btn-primary {
    background: linear-gradient(135deg, var(--nz-primary-500), var(--nz-primary-700));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.nz-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.nz-btn-secondary {
    background: var(--nz-surface-2);
    color: var(--nz-text-primary);
    border-color: var(--nz-border);
}
.nz-btn-secondary:hover {
    border-color: var(--nz-primary-500);
    color: var(--nz-primary-300);
}

.nz-btn-outline {
    background: transparent;
    color: var(--nz-primary-400);
    border-color: var(--nz-primary-600);
}
.nz-btn-outline:hover {
    background: rgba(16, 185, 129, 0.08);
}

.nz-btn-danger {
    background: var(--nz-accent-red);
    color: #fff;
}

.nz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ------------------------------------------------------------------------------------
   8) FORM ELEMANLARI
   ------------------------------------------------------------------------------------ */
.nz-input,
.nz-select,
.nz-textarea {
    width: 100%;
    background: var(--nz-bg-darker);
    border: 1px solid var(--nz-border);
    color: var(--nz-text-primary);
    border-radius: 0.6rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color var(--nz-transition-fast), box-shadow var(--nz-transition-fast);
}

.nz-input:focus,
.nz-select:focus,
.nz-textarea:focus {
    outline: none;
    border-color: var(--nz-primary-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.nz-input.nz-input-error {
    border-color: var(--nz-accent-red);
}

.nz-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nz-text-secondary);
    margin-bottom: 0.35rem;
}

.nz-field-error {
    color: var(--nz-accent-red);
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}
.nz-field-error.nz-visible {
    display: block;
}

/* [YENİ] Şifre Gereksinim Kontrol Listesi (canlı doğrulama UI'si) */
.nz-sifre-kontrol-listesi {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.75rem;
    background: var(--nz-bg-darker);
    border: 1px solid var(--nz-border);
    border-radius: 0.5rem;
    display: grid;
    gap: 0.3rem;
}
.nz-sifre-kural {
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--nz-transition-fast);
}
.nz-kural-simge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    font-weight: 700;
}

/* Sekmeli (Tab) yapı - oturum.html Giriş/Kayıt geçişi için */
.nz-tabs {
    display: flex;
    background: var(--nz-bg-darker);
    border-radius: 0.75rem;
    padding: 4px;
    border: 1px solid var(--nz-border);
}
.nz-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 0.55rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--nz-text-secondary);
    cursor: pointer;
    transition: all var(--nz-transition-fast);
}
.nz-tab-btn.nz-tab-active {
    background: var(--nz-primary-600);
    color: #fff;
}

/* ------------------------------------------------------------------------------------
   9) POP-UP / MODAL (Lead Capture Balonu ve genel modal kullanımı)
   ------------------------------------------------------------------------------------ */
.nz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--nz-transition-base);
}
.nz-modal-overlay.nz-open {
    opacity: 1;
    pointer-events: auto;
}

.nz-modal-box {
    background: var(--nz-surface);
    border: 1px solid var(--nz-border);
    border-radius: var(--nz-radius-lg);
    max-width: 460px;
    width: calc(100% - 2rem);
    padding: 2rem;
    position: relative;
    transform: translateY(24px) scale(0.96);
    transition: transform var(--nz-transition-base);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), var(--nz-shadow-glow);
}
.nz-modal-overlay.nz-open .nz-modal-box {
    transform: translateY(0) scale(1);
}

/* [FAZ 3] Standart .nz-modal-box (460px) çok adımlı/zengin içerikli modallar
   (örn. onboarding sihirbazı) için dardır. Bu varyant AYNI temel modal desenini
   (.nz-modal-overlay + .nz-open geçişi) korur, yalnızca genişliği artırır. */
.nz-modal-box--wide {
    max-width: 640px;
}

.nz-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--nz-text-muted);
    cursor: pointer;
    transition: color var(--nz-transition-fast);
}
.nz-modal-close:hover {
    color: var(--nz-text-primary);
}

/* Balonun ilk açılışında dikkat çekmesi için hafif "nabız" animasyonu */
@keyframes nz-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
}
.nz-pulse {
    animation: nz-pulse-glow 1.8s ease-out 1;
}

@keyframes nz-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nz-fade-up {
    animation: nz-fade-up 0.5s ease both;
}

/* ------------------------------------------------------------------------------------
   10) RBAC / ABONELİK ROZETLERİ (badge)
   ------------------------------------------------------------------------------------ */
.nz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.nz-badge-standard   { background: rgba(148,163,184,0.15); color: #cbd5e1; }
.nz-badge-academic   { background: rgba(139,92,246,0.15);  color: #c4b5fd; }
.nz-badge-pro        { background: rgba(14,165,233,0.15);  color: #7dd3fc; }
.nz-badge-enterprise { background: rgba(16,185,129,0.15);  color: #6ee7b7; }
.nz-badge-admin      { background: rgba(239,68,68,0.15);   color: #fca5a5; }

/* ------------------------------------------------------------------------------------
   11) TABLOLAR (Abonelik Karşılaştırma, Tesis Kıyaslama, Yönetici Panel Listeleri)
   ------------------------------------------------------------------------------------ */
.nz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.nz-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    color: var(--nz-text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--nz-border);
}
.nz-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--nz-border);
    color: var(--nz-text-secondary);
}
.nz-table tr:hover td {
    background: rgba(255,255,255,0.02);
    color: var(--nz-text-primary);
}

/* ------------------------------------------------------------------------------------
   12) YÜKLEME (Loading) SPINNER
   ------------------------------------------------------------------------------------ */
.nz-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nz-spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes nz-spin {
    to { transform: rotate(360deg); }
}

.nz-skeleton {
    background: linear-gradient(90deg, var(--nz-surface) 25%, var(--nz-surface-2) 37%, var(--nz-surface) 63%);
    background-size: 400% 100%;
    animation: nz-skeleton-loading 1.4s ease infinite;
    border-radius: 0.5rem;
}
@keyframes nz-skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ------------------------------------------------------------------------------------
   13) TOAST BİLDİRİM SİSTEMİ (js/layout.js -> window.nzToast() tarafından kullanılır)
   ------------------------------------------------------------------------------------ */
.nz-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.nz-toast {
    min-width: 280px;
    max-width: 360px;
    background: var(--nz-surface);
    border: 1px solid var(--nz-border);
    border-left: 4px solid var(--nz-primary-500);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    color: var(--nz-text-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: nz-fade-up 0.35s ease both;
}
.nz-toast.nz-toast-error   { border-left-color: var(--nz-accent-red); }
.nz-toast.nz-toast-warning { border-left-color: var(--nz-accent-amber); }

/* ------------------------------------------------------------------------------------
   14) YAZDIRMA (PRINT) STİLLERİ — ISO 14064 PDF Raporları önizlemesi için
   ------------------------------------------------------------------------------------ */
@media print {
    .nz-header, .nz-sidebar, .nz-footer, .nz-no-print {
        display: none !important;
    }
    .nz-main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    body {
        background: #ffffff;
        color: #111111;
    }
}

/* ------------------------------------------------------------------------------------
   15) YARDIMCI (UTILITY) SINIFLAR
   ------------------------------------------------------------------------------------ */
.nz-text-gradient {
    background: linear-gradient(90deg, var(--nz-primary-300), var(--nz-secondary-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nz-divider {
    height: 1px;
    background: var(--nz-border);
    border: none;
    margin: 1.25rem 0;
}

.nz-hidden {
    display: none !important;
}

/* ------------------------------------------------------------------------------------
   16) [YENİ] TANITIM VİDEOSU BİLEŞENİ (index.html — videos/tanitim.mp4)
   Otomatik oynatılan, sessiz başlayan, sonsuz döngüdeki kısa (~15sn) video.
   ------------------------------------------------------------------------------------ */
.nz-video-kapsayici {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--nz-radius-lg);
    overflow: hidden;
    background: linear-gradient(160deg, var(--nz-surface) 0%, var(--nz-bg-darker) 100%);
    border: 1px solid var(--nz-border);
    box-shadow: var(--nz-shadow-glow);
}

.nz-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    /* Video üzerinde tarayıcı varsayılan sağ tık/indirme ipuçlarını azaltır */
    pointer-events: auto;
}

/* Ses Aç/Kapat butonu — videonun sağ alt köşesinde, küçük ve göze batmayan */
.nz-video-ses-btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 10, 20, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: background var(--nz-transition-fast), transform var(--nz-transition-fast);
    z-index: 2;
}

.nz-video-ses-btn:hover {
    background: rgba(16, 185, 129, 0.35);
    transform: scale(1.06);
}

/* ------------------------------------------------------------------------------------
   17) [FAZ 4] DENETİM İZLEME (AUDIT TRAIL) ZAMAN TÜNELİ
   js/rapor-yonetici.js "Rapor Detayı" modalindeki "Değişiklik Geçmişi" bölümü ve
   ileride başka modüllerde (tesisler, profil vb.) yeniden kullanılabilecek genel
   amaçlı, dikey bağlantı çizgili bir olay/zaman tüneli bileşenidir.
   ------------------------------------------------------------------------------------ */
.nz-audit-timeline {
    position: relative;
    padding-left: 0;
}

.nz-audit-item {
    position: relative;
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
}

/* Düğümleri birbirine bağlayan dikey çizgi — son öğede kesilir */
.nz-audit-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: -2px;
    width: 1.5px;
    background: linear-gradient(to bottom, var(--nz-border), transparent);
}

.nz-audit-item__ikon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 1px solid;
}
.nz-audit-item__ikon--emerald { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); color: var(--nz-primary-400); }
.nz-audit-item__ikon--sky     { background: rgba(14, 165, 233, 0.12); border-color: rgba(14, 165, 233, 0.3); color: var(--nz-secondary-500); }
.nz-audit-item__ikon--red     { background: rgba(239, 68, 68, 0.12);  border-color: rgba(239, 68, 68, 0.3);  color: var(--nz-accent-red); }
.nz-audit-item__ikon--slate   { background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.3); color: var(--nz-text-secondary); }

.nz-audit-item__govde {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.nz-audit-item__ozet {
    font-size: 0.8125rem;
    color: var(--nz-text-primary);
    line-height: 1.5;
}

.nz-audit-item__meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    color: var(--nz-text-muted);
}

.nz-audit-item__meta-nokta {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--nz-text-muted);
    flex-shrink: 0;
}

.nz-audit-bos-durum {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--nz-text-muted);
    font-size: 0.8125rem;
}

/* ------------------------------------------------------------------------------------
   18) [FAZ 5] PROFİL DROPDOWN (HEADER)
   js/layout.js headerYerlestir() içinde giriş yapmış kullanıcılar için eski statik
   "Panele Git" butonunun yerine enjekte edilir. Sidebar'da zaten "Kontrol Paneli"
   linki bulunduğundan, burada asıl amaç hesap/oturum işlemlerine (Profil, Abonelik,
   Çıkış) tek bir profesyonel SaaS menüsünden hızlı erişim sağlamaktır.
   ------------------------------------------------------------------------------------ */
.nz-profil-dropdown {
    position: relative;
}

.nz-profil-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.6rem 0.35rem 0.35rem;
    background: var(--nz-surface);
    border: 1px solid var(--nz-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--nz-transition-fast), border-color var(--nz-transition-fast);
}

.nz-profil-dropdown__trigger:hover,
.nz-profil-dropdown__trigger[aria-expanded="true"] {
    background: var(--nz-surface-2);
    border-color: var(--nz-primary-700);
}

.nz-profil-dropdown__avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    background: linear-gradient(135deg, var(--nz-primary-400), var(--nz-primary-700));
}

.nz-profil-dropdown__bilgi {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    max-width: 140px;
}

.nz-profil-dropdown__ad {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nz-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.nz-profil-dropdown__chevron {
    color: var(--nz-text-muted);
    transition: transform var(--nz-transition-fast);
    flex-shrink: 0;
}

.nz-profil-dropdown__trigger[aria-expanded="true"] .nz-profil-dropdown__chevron {
    transform: rotate(180deg);
}

.nz-profil-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 230px;
    background: var(--nz-surface);
    border: 1px solid var(--nz-border);
    border-radius: var(--nz-radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    padding: 0.5rem;
    z-index: 60;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--nz-transition-fast), transform var(--nz-transition-fast), visibility var(--nz-transition-fast);
}

.nz-profil-dropdown__menu.nz-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.nz-profil-dropdown__kimlik {
    padding: 0.5rem 0.65rem 0.75rem;
    border-bottom: 1px solid var(--nz-border);
    margin-bottom: 0.4rem;
}

.nz-profil-dropdown__kimlik-ad {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nz-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nz-profil-dropdown__kimlik-eposta {
    font-size: 0.72rem;
    color: var(--nz-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

.nz-profil-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 0.6rem;
    color: var(--nz-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--nz-transition-fast), color var(--nz-transition-fast);
}

.nz-profil-dropdown__item:hover {
    background: var(--nz-surface-2);
    color: var(--nz-text-primary);
}

.nz-profil-dropdown__item--danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--nz-accent-red);
}

.nz-profil-dropdown__divider {
    height: 1px;
    background: var(--nz-border);
    margin: 0.4rem 0.2rem;
}
