/* =========================================
   TEMA 7 (SALAFI - HITAM LEMBUT)
   Base Layout from Theme 2
   ========================================= */

body.theme-7 .content {
    display: grid !important;
    grid-template-columns: 30vw 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 2vw;
    row-gap: 3vh !important;
    padding: 2vh 2vw 11vh 2vw !important;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden !important;
}

body.theme-7 .top-bar-modern {
    grid-column: 1 / 3;
    grid-row: 1;
    margin: 0 !important;
    width: 100% !important;
    background: rgba(18, 18, 18, 0.95) !important;
    border-bottom: 4px solid #1e293b !important;
    border-radius: 0 0 15px 15px;
}

body.theme-7 #masjid-name,
body.theme-7 #hijri-date,
body.theme-7 #current-date,
body.theme-7 #masjid-address {
    color: #f1f5f9 !important;
}

/* TAMBAHAN: Memastikan jam di kanan atas berwarna putih bersih */
body.theme-7 #current-time,
body.theme-7 #clock,
body.theme-7 .time,
body.theme-7 #jam {
    color: #ffffff !important;
}

body.theme-7 .header-divider {
    background-color: #334155 !important;
}

body.theme-7 .prayer-grid {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    justify-content: space-between !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    background: rgba(24, 24, 27, 0.9) !important;
    border: 2px solid #3f3f46 !important;
}

body.theme-7 #slideshow-container {
    grid-column: 2;
    grid-row: 2;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
}

body.theme-7 .tv-slide {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
}

/* Styling Slide Kartu agar matching */
body.theme-7 #slide-2 > div,
body.theme-7 #slide-3 > div,
body.theme-7 #slide-4 > div {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: rgba(24, 24, 27, 0.95) !important;
    border: 4px solid #3f3f46 !important;
    color: #f8fafc !important;
}

body.theme-7 #slide-2 h2,
body.theme-7 #slide-3 h2,
body.theme-7 #slide-4 h2 {
    color: #f1f5f9 !important;
    /* TAMBAHAN: Garis bawah pada judul agar lebih rapi */
    border-bottom: 2px solid #3f3f46 !important;
    padding-bottom: 1vh;
    margin-bottom: 2vh;
}

body.theme-7 #slide-2 table,
body.theme-7 #slide-2 td,
body.theme-7 #slide-2 th,
body.theme-7 #slide-3 ul,
body.theme-7 #slide-4 div {
    color: #cbd5e1 !important;
}

/* =========================================================
   TAMBAHAN BARU: Memaksa warna elemen spesifik menjadi terang
   ========================================================= */

/* Slide Keuangan */
body.theme-7 #kas-awal { color: #e2e8f0 !important; }
body.theme-7 #kas-masuk { color: #4ade80 !important; } /* Hijau lembut */
body.theme-7 #kas-keluar { color: #f87171 !important; } /* Merah lembut */
body.theme-7 #kas-total { color: #ffffff !important; font-weight: 900 !important; }

/* Slide Info Kegiatan */
body.theme-7 #slide-3 ul li span { color: #ffffff !important; }

/* Slide Petugas Jumat */
body.theme-7 #slide-4 strong { color: #94a3b8 !important; } /* Warna label (KHATIB/IMAM) jadi abu-abu terang */
body.theme-7 #slide-4 span[id^="nama-"] { color: #ffffff !important; font-weight: 900 !important; } /* Nama jadi putih bersih */
body.theme-7 #slide-4 div[style*="dashed"] { border-bottom: 2px dashed #3f3f46 !important; } /* Warna garis pemisah disamakan dengan border */

/* ========================================================= */

body.theme-7 .prayer-card {
    border-right: none !important;
    border-bottom: 1px solid #3f3f46 !important;
    padding: 0 1.5vw !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body.theme-7 .prayer-card:last-child {
    border-bottom: none !important;
}

body.theme-7 .prayer-card h4 {
    color: #a1a1aa !important;
    font-size: clamp(1rem, 1.5vw, 1.8rem) !important;
    margin: 0 !important;
    text-align: left;
    flex: 1;
}

body.theme-7 .prayer-card p {
    color: #f4f4f5 !important;
    font-size: clamp(1.5rem, 2.5vw, 2.8rem) !important;
    margin: 0 !important;
}

body.theme-7 .active-prayer {
    border-right: none !important;
    border-bottom: 1px solid #52525b !important;
    background: #18181b !important;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05) !important;
}

body.theme-7 .active-prayer h4 {
    color: #ffffff !important;
    font-weight: 900 !important;
}

body.theme-7 .active-prayer p {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3) !important;
}

body.theme-7 .countdown {
    font-size: clamp(1rem, 1.2vw, 1.5rem) !important;
    margin: 0 0 0 1vw !important;
    color: #ffffff !important;
}

body.theme-7 footer {
    background: #09090b !important;
    border-top: 4px solid #27272a !important;
}

body.theme-7 #running-text {
    color: #f4f4f5 !important;
}

body.theme-7 #digital-clock {
    font-size: clamp(6rem, 14vw, 16rem) !important;
    color: #ffffff !important;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

body.theme-7 #mini-clock {
    color: #ffffff !important;
}