/* =========================================
   TEMA 6 (NUANSA BIRU KHAS MUHAMMADIYAH)
   Layout: Berbasis Theme 2 (Jadwal di Kiri)
   ========================================= */

body.theme-6 .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;
    background: transparent !important;
}

body.theme-6 .top-bar-modern {
    grid-column: 1 / 3;
    grid-row: 1;
    margin: 0 !important;
    width: 100% !important;
    background: rgba(0, 91, 159, 0.9) !important; /* Biru Muhammadiyah */
    border-bottom: 4px solid #ffcd00 !important; /* Kuning Matahari */
    border-radius: 15px;
}

body.theme-6 #masjid-name { color: #ffffff !important; }
body.theme-6 #masjid-address { color: #f0f0f0 !important; }
body.theme-6 #hijri-date, body.theme-6 #current-date { color: #ffcd00 !important; }

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

body.theme-6 .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(0, 68, 122, 0.8) !important; /* Biru lebih gelap */
    border: 2px solid #ffcd00 !important;
}

body.theme-6 #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-6 .tv-slide {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
}

body.theme-6 #slide-2 > div,
body.theme-6 #slide-3 > div,
body.theme-6 #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(0, 50, 90, 0.9) !important; /* Biru pekat untuk kontras teks putih */
    border: 2px solid #ffcd00 !important;
    border-radius: 15px !important;
    padding: 3vh 3vw !important;
}

body.theme-6 .clock-container {
    height: 100% !important;
}

body.theme-6 .prayer-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 205, 0, 0.3);
    padding: 0 1.5vw !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: transparent !important;
}

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

body.theme-6 .active-prayer {
    border-right: none !important;
    border-bottom: 2px solid #ffcd00 !important;
    background: #0073cc !important; /* Biru lebih terang untuk aktif */
    box-shadow: inset 0 0 20px rgba(255, 205, 0, 0.2);
}

body.theme-6 .active-prayer h4, body.theme-6 .active-prayer p {
    color: #ffcd00 !important;
}

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

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

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

body.theme-6 #digital-clock {
    font-size: clamp(6rem, 14vw, 16rem) !important;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.3); /* Glow biru langit */
}

/* KONTEN SLIDESHOW */
body.theme-6 .tv-slide h2 {
    color: #ffcd00 !important;
    border-bottom: 3px solid #ffcd00 !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 3vh !important;
}

body.theme-6 .tv-slide table th {
    color: #ffcd00 !important;
    border-bottom: 2px solid rgba(255, 205, 0, 0.3) !important;
}

body.theme-6 .tv-slide table td {
    color: #ffffff !important;
}

body.theme-6 #kas-masuk { color: #00ff88 !important; }
body.theme-6 #kas-keluar { color: #ff6b6b !important; }

body.theme-6 #slide-3 ul li {
    color: #ffffff !important;
    border-left: 5px solid #ffcd00;
    background: rgba(255,255,255,0.05);
}

body.theme-6 #slide-4 strong { color: #ffffff !important; }
body.theme-6 #slide-4 span[id^="nama-"] { color: #ffcd00 !important; }

/* Footer */
body.theme-6 footer {
    background: #004b87 !important; /* Biru gelap untuk footer */
    border-top: 4px solid #ffcd00 !important;
}

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