/**
 * Birim Brifingi - Sunum Modu Stilleri
 * PowerPoint tarzı 16:9 sunum formatı
 * Sabit font boyutları ile otomatik sayfa devamı
 */

/* ==========================================
   SUNUM KONTEYNER
   ========================================== */

.presentation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    overflow: hidden;
}

.presentation-overlay.active {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   SLAYT ALANI - 16:9 FORMAT
   ========================================== */

.presentation-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.slide-container {
    /* 16:9 Aspect Ratio */
    width: min(90vw, calc(90vh * 16 / 9));
    height: min(calc(90vw * 9 / 16), 90vh);
    max-width: 1600px;
    max-height: 900px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

/* ==========================================
   SLAYT İÇERİĞİ
   ========================================== */

.slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: 48px 64px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.slide.active {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   KAPAK SLAYTI
   ========================================== */

/* ==========================================
   KAPAK SLAYTI - GRAFİKSEL ARKA PLAN
   ========================================== */

.slide.cover-slide {
    background: #0d2137;
    background-image:
        radial-gradient(at 0% 0%, rgba(30, 58, 95, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 58, 95, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(13, 33, 55, 0.5) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(13, 33, 55, 0.5) 0px, transparent 50%);
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Zarif Arka Plan Deseni (Çapraz Çizgiler) */
.slide.cover-slide,
.slide.final-slide,
.slide.section-slide {
    background-color: #0d2137;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
        radial-gradient(circle at 50% 50%, rgba(30, 58, 95, 0.6), #0d2137);
    position: relative;
    overflow: hidden;
}

/* Şık İç Çerçeve (Frame) */
.slide.cover-slide::before,
.slide.final-slide::before,
.slide.section-slide::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}

/* Köşe Vurguları */
.slide.cover-slide::after,
.slide.final-slide::after,
.slide.section-slide::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid transparent;
    border-image: radial-gradient(circle at center, rgba(96, 165, 250, 0.5), transparent) 1;
    /* Köşelerde daha belirgin çizgiler için alternatif: */
    background:
        linear-gradient(to right, #60a5fa 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #60a5fa 2px, transparent 2px) 0 0,
        linear-gradient(to left, #60a5fa 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #60a5fa 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #60a5fa 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #60a5fa 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #60a5fa 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #60a5fa 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

/* İçeriklerin çerçeve üstünde kalması için */
.slide.cover-slide *,
.slide.final-slide *,
.slide.section-slide * {
    position: relative;
    z-index: 5;
}

.slide.cover-slide .cover-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 32px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.4);
    background: white;
    padding: 10px;
}

.slide.cover-slide .cover-institution {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide.cover-slide .cover-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.85);
}

.slide.cover-slide .cover-subtitle {
    font-size: 34px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

.slide.cover-slide .cover-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.slide.cover-slide .cover-year {
    font-size: 84px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.07);
    position: absolute;
    bottom: 40px;
    right: 64px;
}

.slide.cover-slide .cover-date {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: 48px;
    left: 64px;
}

/* İlçe Modu Kapak Logosu Gizleme */
.slide.cover-slide.is-district .cover-logo {
    display: none !important;
}

.slide.cover-slide.is-district .cover-title,
.slide.cover-slide.is-district .cover-subtitle {
    display: none !important;
}

.slide.cover-slide.is-district .cover-institution {
    font-size: 64px !important;
    margin-top: 40px !important;
}

/* ==========================================
   BÖLÜM BAŞLIK SLAYTI
   ========================================== */

.slide.section-slide {
    background: #0d2137;
    background-image:
        radial-gradient(at 100% 0%, rgba(30, 58, 95, 0.4) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(30, 58, 95, 0.3) 0px, transparent 50%);
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

.slide.section-slide .section-icon {
    font-size: 64px;
    opacity: 1;
    flex-shrink: 0;
    color: #60a5fa;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.4));
}

/* ==========================================
   SON SLAYT (ARZ EDERİM)
   ========================================== */

.slide.final-slide {
    background: #0d2137;
    background-image:
        radial-gradient(at 50% 50%, rgba(30, 58, 95, 0.5) 0px, transparent 70%);
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.slide.final-slide .final-text {
    font-size: 84px;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide.final-slide .final-user {
    font-size: 32px;
    font-weight: 500;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Bölüm başlık container - simge ve başlık yan yana */
.slide.section-slide .section-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.section-slide .section-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.slide.section-slide .section-number {
    position: absolute;
    bottom: 48px;
    right: 64px;
    font-size: 200px;
    font-weight: 900;
    opacity: 0.1;
    line-height: 1;
}

/* ==========================================
   İÇERİK SLAYTI - SABİT FONT BOYUTLARI
   ========================================== */

.slide.content-slide {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* İçerik Slaytı İç Çerçeve */
.slide.content-slide::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* İçerik Slaytı Köşe Vurguları */
.slide.content-slide::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background:
        linear-gradient(to right, #1e3a5f 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #1e3a5f 2px, transparent 2px) 0 0,
        linear-gradient(to left, #1e3a5f 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #1e3a5f 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #1e3a5f 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #1e3a5f 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #1e3a5f 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #1e3a5f 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

/* İçeriklerin üstte kalması */
.slide.content-slide .slide-header,
.slide.content-slide .slide-content,
.slide.content-slide .slide-footer {
    position: relative;
    z-index: 5;
}

/* Slayt Başlığı - Kart Başlığı */
.slide-header {
    flex-shrink: 0;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1e3a5f;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slide-header .header-icon {
    font-size: 28px;
    color: #1e3a5f;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 12px;
}

.slide-header .header-title {
    font-size: 32px;
    /* SABİT: Başlık font boyutu */
    font-weight: 700;
    color: #1e3a5f;
    margin: 0;
    line-height: 1.3;
}

/* Devam İşareti */
.slide-header .continuation-badge {
    margin-left: auto;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* İçerik Alanı */
.slide-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   SABİT TİPOGRAFİ - METİN
   ========================================== */

.slide-content p,
.slide-content li,
.slide-content span {
    font-size: 20px;
    /* SABİT: Metin font boyutu */
    line-height: 1.6;
    color: #334155;
    margin: 0 0 12px 0;
}

.slide-content ul,
.slide-content ol {
    margin: 0 0 16px 0;
    padding-left: 28px;
}

.slide-content li {
    margin-bottom: 8px;
}

.slide-content strong,
.slide-content b {
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================
   SABİT TİPOGRAFİ - BAŞLIKLAR (İçerik içi)
   ========================================== */

.slide-content h1 {
    font-size: 28px;
    /* SABİT: H1 */
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.slide-content h2 {
    font-size: 24px;
    /* SABİT: H2 */
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.slide-content h3 {
    font-size: 22px;
    /* SABİT: H3 */
    font-weight: 600;
    color: #334155;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.slide-content h4 {
    font-size: 20px;
    /* SABİT: H4 */
    font-weight: 600;
    color: #475569;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* ==========================================
   SABİT TİPOGRAFİ - TABLOLAR
   ========================================== */

.slide-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    /* SABİT: Tablo font boyutu */
    margin: 0 0 16px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #1e3a5f;
}

.slide-content table th {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    /* SABİT: Tablo başlık */
    padding: 14px 16px;
    text-align: left;
    border: none;
    border-bottom: 2px solid #0d2137;
    border-left: 2px solid #1e3a5f;
}

.slide-content table th:first-child {
    border-left: none;
}

/* Tablo başlık içindeki tüm metinler beyaz */
.slide-content table th,
.slide-content table th *,
.slide-content table thead td,
.slide-content table thead td * {
    color: #ffffff !important;
}

.slide-content table td {
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #dbeafe;
    border-left: 2px solid #1e3a5f;
    font-size: 16px;
    /* SABİT: Tablo hücre */
    color: #1e293b;
    background: #ffffff;
}

.slide-content table td:first-child {
    border-left: none;
}

/* Varsayılan tema - mavi tonlarında zebra deseni */
.slide-content table tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.slide-content table tbody tr:nth-child(even) td {
    background: #eff6ff;
}

.slide-content table tbody tr:last-child td {
    border-bottom: none;
}

.slide-content table tbody tr:hover td {
    background: #dbeafe;
}

/* ==========================================
   ALT BİLGİ ÇUBUĞU
   ========================================== */

.slide-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #94a3b8;
}

.slide-footer .footer-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slide-footer .page-indicator {
    background: #1e3a5f;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* ==========================================
   NAVİGASYON KONTROLLARI
   ========================================== */

.presentation-controls {
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pres-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.pres-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.pres-btn:active {
    transform: scale(0.95);
}

.pres-btn.exit-btn {
    background: rgba(239, 68, 68, 0.3);
}

.pres-btn.exit-btn:hover {
    background: rgba(239, 68, 68, 0.5);
}

.slide-counter {
    color: white;
    font-size: 16px;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
}

.slide-counter .current {
    font-size: 24px;
    font-weight: 700;
}

/* Progress bar */
.presentation-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.presentation-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

/* ==========================================
   SLAYT GEÇİŞ ANİMASYONLARI
   ========================================== */

.slide {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   KLAVYE KILAVUZU
   ========================================== */

.keyboard-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.presentation-overlay:hover .keyboard-hint {
    opacity: 0.8;
}

.keyboard-hint kbd {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    margin-right: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   RESPONSIVE AYARLAMALAR
   ========================================== */

@media (max-width: 1200px) {
    .slide {
        padding: 36px 48px;
    }

    .slide-header .header-title {
        font-size: 28px;
    }

    .slide-content p,
    .slide-content li,
    .slide-content span {
        font-size: 18px;
    }

    .slide-content table,
    .slide-content table th,
    .slide-content table td {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 900px) {
    .slide {
        padding: 24px 32px;
    }

    .slide-header .header-title {
        font-size: 24px;
    }

    .slide-content p,
    .slide-content li,
    .slide-content span {
        font-size: 16px;
    }

    .slide.cover-slide .cover-title {
        font-size: 36px;
    }

    .slide.section-slide .section-title {
        font-size: 40px;
    }
}

/* ==========================================
   TEMA VARYASYONLARI
   ========================================== */

/* --- KIRMIZI TEMA --- */
.presentation-overlay[data-theme="red"] .slide.cover-slide,
.presentation-overlay[data-theme="red"] .slide.final-slide,
.presentation-overlay[data-theme="red"] .slide.section-slide {
    background-color: #7f0000;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
        radial-gradient(circle at 50% 50%, #b71c1c, #7f0000);
}

.presentation-overlay[data-theme="red"] .slide.cover-slide::before,
.presentation-overlay[data-theme="red"] .slide.final-slide::before,
.presentation-overlay[data-theme="red"] .slide.section-slide::before {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.presentation-overlay[data-theme="red"] .slide.cover-slide::after,
.presentation-overlay[data-theme="red"] .slide.final-slide::after,
.presentation-overlay[data-theme="red"] .slide.section-slide::after {
    background:
        linear-gradient(to right, #f87171 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #f87171 2px, transparent 2px) 0 0,
        linear-gradient(to left, #f87171 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #f87171 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #f87171 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #f87171 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #f87171 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #f87171 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.presentation-overlay[data-theme="red"] .slide-header {
    border-bottom-color: #d32f2f;
}

.presentation-overlay[data-theme="red"] .slide-header .header-icon {
    color: #d32f2f;
    background: rgba(211, 47, 47, 0.1);
}

.presentation-overlay[data-theme="red"] .slide-header .header-title {
    color: #d32f2f;
}

.presentation-overlay[data-theme="red"] .slide-content table {
    border: 2px solid #d32f2f;
}

.presentation-overlay[data-theme="red"] .slide-content table th {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
    border-bottom: 2px solid #7f0000;
    border-left: 2px solid #d32f2f;
}

.presentation-overlay[data-theme="red"] .slide-content table th,
.presentation-overlay[data-theme="red"] .slide-content table th * {
    color: #ffffff !important;
}

.presentation-overlay[data-theme="red"] .slide-content table td {
    border-left: 2px solid #d32f2f;
    border-bottom-color: #ffcdd2;
}

.presentation-overlay[data-theme="red"] .slide-content table tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.presentation-overlay[data-theme="red"] .slide-content table tbody tr:nth-child(even) td {
    background: #ffebee;
}

.presentation-overlay[data-theme="red"] .slide-content table tbody tr:hover td {
    background: #ffcdd2;
}

.presentation-overlay[data-theme="red"] .slide-footer .page-indicator {
    background: #d32f2f;
}

.presentation-overlay[data-theme="red"] .cover-subtitle {
    color: #ef9a9a;
}

/* --- KIRMIZI TEMA İÇERİK SAYFASI --- */
.presentation-overlay[data-theme="red"] .slide.content-slide::after {
    background:
        linear-gradient(to right, #d32f2f 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #d32f2f 2px, transparent 2px) 0 0,
        linear-gradient(to left, #d32f2f 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #d32f2f 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #d32f2f 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #d32f2f 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #d32f2f 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #d32f2f 2px, transparent 2px) 100% 100%;
    opacity: 0.2;
}

.presentation-overlay[data-theme="red"] .slide.content-slide::before {
    border-color: rgba(211, 47, 47, 0.1);
}

/* --- FÜME (DARK-GRAY) TEMA --- */
.presentation-overlay[data-theme="dark-gray"] .slide.cover-slide,
.presentation-overlay[data-theme="dark-gray"] .slide.final-slide,
.presentation-overlay[data-theme="dark-gray"] .slide.section-slide {
    background-color: #263238;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
        radial-gradient(circle at 50% 50%, #37474f, #263238);
}

.presentation-overlay[data-theme="dark-gray"] .slide.cover-slide::before,
.presentation-overlay[data-theme="dark-gray"] .slide.final-slide::before,
.presentation-overlay[data-theme="dark-gray"] .slide.section-slide::before {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.presentation-overlay[data-theme="dark-gray"] .slide.cover-slide::after,
.presentation-overlay[data-theme="dark-gray"] .slide.final-slide::after,
.presentation-overlay[data-theme="dark-gray"] .slide.section-slide::after {
    background:
        linear-gradient(to right, #94a3b8 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #94a3b8 2px, transparent 2px) 0 0,
        linear-gradient(to left, #94a3b8 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #94a3b8 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #94a3b8 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #94a3b8 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #94a3b8 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #94a3b8 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.presentation-overlay[data-theme="dark-gray"] .slide-header {
    border-bottom-color: #546e7a;
}

.presentation-overlay[data-theme="dark-gray"] .slide-header .header-icon {
    color: #546e7a;
    background: rgba(84, 110, 122, 0.1);
}

.presentation-overlay[data-theme="dark-gray"] .slide-header .header-title {
    color: #546e7a;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table {
    border: 2px solid #546e7a;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table th {
    background: linear-gradient(135deg, #546e7a 0%, #37474f 100%) !important;
    border-bottom: 2px solid #263238;
    border-left: 2px solid #546e7a;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table th,
.presentation-overlay[data-theme="dark-gray"] .slide-content table th * {
    color: #ffffff !important;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table td {
    border-left: 2px solid #546e7a;
    border-bottom-color: #cfd8dc;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table tbody tr:nth-child(even) td {
    background: #eceff1;
}

.presentation-overlay[data-theme="dark-gray"] .slide-content table tbody tr:hover td {
    background: #cfd8dc;
}

.presentation-overlay[data-theme="dark-gray"] .slide-footer .page-indicator {
    background: #546e7a;
}

.presentation-overlay[data-theme="dark-gray"] .cover-subtitle {
    color: #90a4ae;
}

/* --- FÜME TEMA İÇERİK SAYFASI --- */
.presentation-overlay[data-theme="dark-gray"] .slide.content-slide::after {
    background:
        linear-gradient(to right, #546e7a 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #546e7a 2px, transparent 2px) 0 0,
        linear-gradient(to left, #546e7a 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #546e7a 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #546e7a 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #546e7a 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #546e7a 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #546e7a 2px, transparent 2px) 100% 100%;
    opacity: 0.2;
}

.presentation-overlay[data-theme="dark-gray"] .slide.content-slide::before {
    border-color: rgba(84, 110, 122, 0.1);
}