/* core_app/static/css/custom-layout.css */
/* ==================================================================
 * CENTRALIZED PAGE LAYOUT SYSTEM (V2.1 - 2026)
 * Tüm sayfalar için tek genişlik. Ölçü shared/app_tokens.css içindeki
 * --app-shell-max / --app-shell-pad token'larından gelir; bu dosya
 * ölçü tanımlamaz, yalnız uygular.
 * ================================================================== */

/* --- ANA SAYFA KABUGU ---
 * Tüm sayfa içerikleri bu wrapper ile sarılmalı.
 * Genişlik: --app-shell-max (1400px), yatay boşluk --app-shell-pad (24px).
 *
 * !important KORUMASI: Co-class'ların (ör. .dashboard-header, .vision-shell)
 * max-width veya padding override etmesini engeller. Tüm sayfalar aynı genişlikte kalır.
 * Tek istisna: .page-wrapper-narrow (1200px) ve .page-wrapper-slim
 * (--app-shell-max-slim, 800px).
 */
.page-wrapper {
    max-width: var(--app-shell-max, 1400px) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--app-shell-pad, 24px) !important;
    padding-right: var(--app-shell-pad, 24px) !important;
    width: 100%;
}

/* Alternatif isimler (geriye dönük uyumluluk) */
.layout-wide,
.container-page {
    max-width: var(--app-shell-max, 1400px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--app-shell-pad, 24px);
    padding-right: var(--app-shell-pad, 24px);
    width: 100%;
}

/* Dar sayfa varyantı (profil, ayarlar, formlar için) */
.page-wrapper-narrow,
.layout-narrow {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

/* Çok dar sayfa varyantı (tek kolon formlar için) */
.page-wrapper-slim,
.layout-slim {
    max-width: var(--app-shell-max-slim, 800px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

/* --- KİMLİK KARTI KABUĞU ---
 * Giriş, kayıt, magic link, şifre sıfırlama, 2FA gibi tek kartlık kimlik
 * ekranları. Bootstrap kolonu (col-lg-6, col-xl-5, col-lg-4 ...) yüzde
 * verdiği için kart hem ekranla birlikte oynuyor hem de sayfadan sayfaya
 * değişiyordu. Bu sınıf ölçüyü --app-card-max'te sabitler.
 * Kullanım: <div class="col-12 identity-card">
 */
.identity-card {
    width: 100%;
    max-width: var(--app-card-max, 600px);
    margin-inline: auto;
    /* Bootstrap kolon boslugu sifirlanir: kutunun kenari ile gorunen
       kartin kenari ayni yerde bitsin, olcu token'daki degerin birebir
       ayni olsun. */
    padding-inline: 0;
}

/* --- SAYFA DİKEY BOŞLUK ---
 * Sayfa içeriği için standart dikey padding
 */
.page-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: calc(100vh - 300px); /* fallback */
    min-height: calc(100dvh - 300px); /* dynamic viewport: iOS adres çubuğını hesaba katar */
}

/* --- ÇİFTE DARALMA ÖNLEYİCİ ---
 * page-wrapper zaten max-width + padding sağlıyor.
 * İçinde kalan Bootstrap container sınıfları gereksiz yere
 * 1320px'e daraltıyor → sıfırla, page-wrapper yönetsin.
 * !important gerekli: mobile_enhancements.css .container'a
 * !important ile padding veriyor, onu ezmek için şart.
 */
.page-wrapper > .container,
.page-wrapper > .container-xl,
.page-wrapper > .container-lg,
.page-content > .container,
.page-content > .container-xl,
.page-content > .container-lg {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Kompakt içerik (az boşluk) */
.page-content-compact {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* --- 3 SÜTUN LAYOUT (Flex — feed dışı sayfalar) ---
 * Feed sayfası CSS Grid ile 1:3:1 oran kullanır (feed_home.css).
 * Bu flex kuralları feed-layout-grid dışındaki sayfalara uygulanır. */
@media (min-width: 1200px) {
    .col-sidebar-left {
        flex: 0 0 320px;
        width: 320px;
        position: relative;
        z-index: 50;
    }

    .col-main-content,
    .col-main-feed {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 10;
    }

    .col-sidebar-right {
        flex: 0 0 350px;
        width: 350px;
        position: relative;
        z-index: 20;
    }

    /* [FIX 2026-02-23] Feed grid kullanıldığında flex sabitleri devre dışı */
    .feed-layout-grid .col-sidebar-left,
    .feed-layout-grid .col-main-feed,
    .feed-layout-grid .col-sidebar-right {
        flex: none !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* --- BÜYÜK TABLET LANDSCAPE (1200px - 1366px, coarse pointer) --- */
@media (min-width: 1200px) and (max-width: 1366px) and (pointer: coarse) {
    .page-wrapper,
    .layout-wide,
    .container-page,
    .page-wrapper-narrow,
    .layout-narrow,
    .page-wrapper-slim,
    .layout-slim {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .col-sidebar-left {
        flex: 0 0 260px;
        width: 260px;
    }

    .col-sidebar-right {
        flex: 0 0 280px;
        width: 280px;
    }

    .sidebar-sticky {
        top: 72px;
        height: calc(var(--visual-viewport-height, 100dvh) - 96px);
    }
}

/* --- TABLET LAYOUT (768px - 1199px) — 2 sütun: sidebar sol gizli, sağ alta düşer --- */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .col-sidebar-left {
        display: none;
    }

    .col-main-content,
    .col-main-feed {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    .col-sidebar-right {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 1rem;
    }
}

/* --- TABLET LANDSCAPE (768px - 1199px, yatay) — Sidebar sağ yan yana göster --- */
@media (min-width: 768px) and (max-width: 1199.98px) and (orientation: landscape) {
    .col-sidebar-right {
        flex: 0 0 280px;
        width: 280px;
        margin-top: 0;
    }

    .col-main-content,
    .col-main-feed {
        flex: 1;
        min-width: 0;
    }

    /* Landscape'te padding biraz artır */
    .page-wrapper,
    .layout-wide,
    .container-page {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* --- TABLET PORTRAIT (768px - 1024px, dikey) — Tek sütun, sağ sidebar alta --- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .col-sidebar-right {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 1rem;
    }

    /* Portrait'te daha compact padding */
    .page-wrapper,
    .layout-wide,
    .container-page {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* --- 2 SÜTUN LAYOUT --- */
@media (min-width: 992px) {
    .col-main-wide {
        flex: 0 0 calc(100% - 350px);
        max-width: calc(100% - 350px);
    }

    .col-aside {
        flex: 0 0 330px;
        max-width: 330px;
    }
}

/* --- STICKY SİDEBAR --- */
.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px); /* fallback */
    height: calc(100dvh - 100px); /* dynamic viewport */
    overflow-y: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    scrollbar-gutter: stable; /* scrollbar göründüğünde/kaybolduğunda kayma engelle */
    -webkit-overflow-scrolling: touch;
}

.sidebar-sticky::-webkit-scrollbar {
    display: none;
}

/* --- MOBİL DÜZENLEMELER --- */
@media (max-width: 1199.98px) {
    .page-wrapper,
    .layout-wide,
    .container-page,
    .page-wrapper-slim,
    .layout-slim {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .col-sidebar-left,
    .col-sidebar-right {
        display: none; /* XL altında sidebar gizle - isteğe bağlı gösterilebilir */
    }

    .col-sidebar-left.show-on-mobile,
    .col-sidebar-right.show-on-mobile {
        display: block;
        flex: 0 0 100%;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .page-wrapper,
    .layout-wide,
    .container-page,
    .page-wrapper-narrow,
    .layout-narrow,
    .page-wrapper-slim,
    .layout-slim {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .page-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* --- ESKI page-shell DESTEĞİ (Geriye dönük uyumluluk) ---
 * Bu sınıf artık layout-wide gibi davranır
 */
.page-shell {
    padding: 2rem 0;
    min-height: calc(100vh - 260px); /* fallback */
    min-height: calc(100dvh - 260px);
}

.page-shell > .container,
.page-shell > .container-fluid,
.page-shell > .container-xl,
.page-shell > .container-lg {
    max-width: var(--app-shell-max, 1400px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--app-shell-pad, 24px);
    padding-right: var(--app-shell-pad, 24px);
}

@media (min-width: 1200px) and (max-width: 1366px) and (pointer: coarse) {
    .page-shell > .container,
    .page-shell > .container-fluid,
    .page-shell > .container-xl,
    .page-shell > .container-lg {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 1199.98px) {
    .page-shell > .container,
    .page-shell > .container-fluid,
    .page-shell > .container-xl,
    .page-shell > .container-lg {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767.98px) {
    .page-shell {
        padding: 1.5rem 0;
    }

    .page-shell > .container,
    .page-shell > .container-fluid,
    .page-shell > .container-xl {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* --- KONTROL PANELİ LAYOUT (Dashboard) ---
 * Admin ve moderation sayfaları için geniş layout
 */
.dashboard-layout {
    max-width: var(--app-shell-max, 1400px);
    margin: 0 auto;
    padding: 1.5rem 24px;
}

@media (max-width: 767.98px) {
    .dashboard-layout {
        padding: 1rem 12px;
    }
}

/* ------------------------------------------------------------------
 * NAVBAR (Minimal, Lacivert & Renkli Vurgular)
 * ------------------------------------------------------------------ */
 .navbar-custom {
    background-color: var(--navbar-bg, #0F172A) !important; /* Tam Lacivert */
    -webkit-box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03)); /* Hafif derinlik */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    position: relative;
    z-index: 1030;
  }
  
  /* --- LOGO ALANI --- */
  .navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.6rem;
    color: #fff !important;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  
  .navbar-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-2026-btn, 14px);
    /* Logoda proje renkleri korundu */
    background:
      conic-gradient(from 0deg,
        var(--accent) 0deg 35deg,
        #020617 35deg 40deg,
        #1E293B 40deg 360deg);
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  
  .navbar-brand-logo span {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-2026-btn, 14px);
    border: 2px solid rgba(15,23,42,0.6);
  }
  
  /* --- GENEL LİNKLER --- */
  .navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.8) !important; /* Hafif kırık beyaz */
    font-weight: 500;
    font-size: var(--navbar-link-size, 0.92rem);
    padding: 0.5rem 0.85rem;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }

  .navbar-custom .nav-link:hover {
    color: #FFFFFF !important;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  
  .navbar-custom .nav-link.active {
    color: #FFFFFF !important;
    font-weight: 600;
  }
  
  /* --- ÖZEL: KONTROL PANELİ VURGUSU (Pastel Turuncu) --- */
  .navbar-custom .nav-link.nav-link-dashboard {
    color: #FB923C !important; /* Pastel Turuncu */
    font-weight: 600;
  }
  
  .navbar-custom .nav-link.nav-link-dashboard:hover {
    color: #FFEDD5 !important; /* Hover: Çok açık turuncu */
    background: rgba(251, 146, 60, 0.1); /* Hafif turuncu zemin */
    border-radius: 6px;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  
  /* --- ÖZEL: BİLDİRİM İKONU (Pastel Mavi) --- */
  .nav-notification-icon {
    color: #38BDF8 !important; /* Sky Blue */
    font-size: 1.15rem;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Yaylanma efekti */
  }

  /* İkonun kapsayıcısına (a tag) hover olunca ikon hareket etsin */
  .nav-link:hover .nav-notification-icon {
    color: #BAE6FD !important; /* Daha parlak mavi */
    -webkit-transform: rotate(15deg) scale(1.15);
    transform: rotate(15deg) scale(1.15);
  }
  
  /* --- AYRIŞTIRICI (SEPARATOR) --- */
  /* Sadece masaüstü (geniş) ekranlarda çizgi göster */
  @media (min-width: 992px) {
    .user-section-separator {
      border-left: 1px solid rgba(255, 255, 255, 0.15); /* İnce beyaz çizgi */
      margin-left: 1rem;     /* Soldan boşluk */
      padding-left: 1rem;    /* Çizgiden sonraki boşluk */
      height: 28px;          /* Çizgi yüksekliği */
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: center;
      align-items: center;
    }
  }
  
  /* --- PROFİL BUTONU --- */
  .profile-button {
    cursor: pointer;
    border: none;
    background: none;
    color: rgba(255,255,255,0.95) !important;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.3rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
  }
  
  .profile-button:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
  }
  
  /* Dropdown Menü İnce Ayarları */
  .navbar-custom .dropdown-menu {
    border: none;
    -webkit-box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    border-radius: var(--radius-2026, 20px);
    margin-top: 0.5rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* ------------------------------------------------------------------
   * TODAY SECTION
   * ------------------------------------------------------------------ */
  .today-section {
    padding: 1.75rem 0 2.25rem;
    background: linear-gradient(to bottom, #F9FAFB, #EEF2FF);
    border-top: 1px solid rgba(148,163,184,0.35);
    border-bottom: 1px solid rgba(148,163,184,0.35);
  }
  .today-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 0.25rem;
  }
  .today-section-subtitle {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1.2rem;
  }
  .today-card {
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.5);
    background: #FFFFFF;
    padding: 1rem 1.15rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: 100%;
    -webkit-box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    -webkit-transition: transform 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease, background 0.18s ease;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease, background 0.18s ease;
    overflow: hidden;
  }
  .today-card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-2026-btn, 14px);
    background: rgba(249, 115, 22, 0.1);
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  .today-card-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 0.2rem;
  }
  .today-card-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.7rem;
  }
  .today-card-link {
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.25rem;
  }
  .today-card-link i {
    font-size: 0.9rem;
  }
  .today-card:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
    border-color: rgba(249,115,22,0.7);
    background: #F9FAFB;
  }
  
  @media (max-width: 767.98px) {
    .today-section {
      padding: 1.5rem 0 1.8rem;
    }
  }

  /* Pastel production pass: global today section */
  .today-section {
    padding: 1.45rem 0 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border-top: 1px solid rgba(137, 172, 195, 0.28);
    border-bottom: 1px solid rgba(137, 172, 195, 0.22);
  }

  .today-section-title {
    color: #172033;
    font-weight: 700;
    letter-spacing: 0;
  }

  .today-section-subtitle,
  .today-card-text {
    color: #52647a;
  }

  .today-card {
    border-radius: 8px;
    border-color: rgba(137, 172, 195, 0.32);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(31, 78, 107, 0.05);
  }

  .today-card:hover {
    background: #f8fcff;
    border-color: rgba(89, 151, 183, 0.42);
    box-shadow: 0 14px 30px rgba(31, 78, 107, 0.07);
  }

  .today-card-icon {
    border-radius: 8px;
    background: #e8f4ff;
    border: 1px solid #b9d9ec;
    color: #235675;
  }

  .today-section .row > [class*="col-"]:nth-child(2) .today-card-icon {
    background: #edf8f2;
    border-color: #bfdfcc;
    color: #276346;
  }

  .today-section .row > [class*="col-"]:nth-child(3) .today-card-icon {
    background: #fff4d8;
    border-color: #ead28e;
    color: #725112;
  }

  .today-card-title {
    color: #172033;
    letter-spacing: 0;
  }

  .today-card-link {
    color: #2f6f95;
    font-weight: 600;
  }

  .today-card-link:hover {
    color: #235675;
  }
  
  /* ------------------------------------------------------------------
   * ÇEREZ BANNER
   * ------------------------------------------------------------------ */
  .cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    background: rgba(15, 23, 42, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(148, 163, 184, 0.5);
    color: #E5E7EB;
    font-size: 0.9rem;
    /* Safe area: notch'lu cihazlarda kenarlardan taşmayı engelle */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .cookie-banner-inner {
    padding-block: 0.75rem;
  }
  .cookie-banner-title {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
  }
  .cookie-banner-text {
    color: #CBD5F5;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
  }
  .cookie-banner-text a {
    color: #93C5FD;
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
  .cookie-banner-text a:hover {
    color: #BFDBFE;
  }
  .cookie-banner-badges {
    font-size: 0.75rem;
    color: #9CA3AF;
  }
  .cookie-banner-badges span {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.25rem;
    margin-right: .75rem;
  }
  .cookie-banner-badges i {
    font-size: 0.9rem;
  }
  .cookie-banner-actions .btn {
    border-radius: var(--radius-2026-btn, 14px);
  }
  @media (max-width: 767.98px) {
    .cookie-banner-inner {
      padding-block: 0.9rem;
    }
  }
  
  /* ------------------------------------------------------------------
   * FOOTER (Minimal & Compact & Tam Lacivert)
   * ------------------------------------------------------------------ */
  .site-footer {
    margin-top: auto;
    background-color: #0F172A;
    color: var(--dp-footer-text);
    border-top: 1px solid rgba(51, 65, 85, 0.5);
  }
  
  .site-footer-inner {
    /* Dikey boşluklar ciddi oranda azaltıldı */
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
  }
  
  /* Başlıklar */
  .site-footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 0.5rem; /* Başlık altı boşluk azaldı */
  }
  
  .site-footer-brand {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
  }
  
  .site-footer-logo {
    width: 30px; /* Logo biraz küçüldü */
    height: 30px;
    border-radius: var(--radius-2026-btn, 14px);
    background: conic-gradient(from 0deg, var(--accent) 0deg 40deg, #020617 40deg 45deg, #1E293B 45deg 360deg);
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  
  .site-footer-logo span {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-2026-btn, 14px);
    border: 2px solid rgba(15,23,42,0.6);
  }
  
  .site-footer-title {
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    color: #fff;
  }
  
  .site-footer-tagline {
    color: var(--dp-footer-text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .site-footer-tagline.hover-effect:hover { color: #fff; }
  
  /* Link Listesi */
  .site-footer-nav {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  .site-footer-nav li + li {
    margin-top: 0.25rem; /* Liste arası boşluk sıkılaştırıldı */
  }
  .site-footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem; /* Font biraz küçüldü */
    text-decoration: none;
    -webkit-transition: color 0.18s ease, transform 0.18s ease;
    transition: color 0.18s ease, transform 0.18s ease;
  }
  .site-footer-nav a:hover {
    color: var(--accent);
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
  }
  
  /* Sosyal Medya */
  .social-links {
    display: -webkit-flex;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.8rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  .social-icon:hover {
    background-color: var(--accent);
    color: #fff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  
  /* 360 Bilgi Kutusu */
  .footer-knowledge-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2026, 20px);
    padding: 0.65rem 0.85rem; /* Padding azaldı */
    margin-bottom: 1rem;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    overflow: hidden;
  }
  .footer-knowledge-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(249, 115, 22, 0.4);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  .footer-knowledge-icon {
    width: 30px;
    height: 30px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent);
    border-radius: 6px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-size: 0.9rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  .footer-knowledge-text h6 {
    color: #fff;
    margin: 0 0 1px 0;
    font-size: 0.8rem;
    font-weight: 600;
  }
  .footer-knowledge-text p {
    color: var(--dp-footer-text-muted);
    margin: 0;
    font-size: 0.65rem;
    line-height: 1.1;
  }
  
  /* Bülten */
  .footer-newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding-inline: 0.6rem;
    padding-block: 0.3rem; /* Input yüksekliği azaldı */
    color: #fff;
    font-size: 0.8rem;
  }
  .footer-newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
  }
  .footer-newsletter-btn {
    border-radius: 6px;
    font-size: 0.8rem;
    padding-block: 0.3rem; /* Buton yüksekliği azaldı */
    background-color: var(--accent);
    border-color: var(--accent);
    font-weight: 500;
  }
  .footer-newsletter-btn:hover { background-color: #6d28d9; }
  
  /* Alt Bilgi */
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
  }
  .footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-bottom a:hover { color: #fff; }
