/* adabiyah.my.id
/* alwiefuad@live.com--- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a2e;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    min-height: 100vh;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.card-container {
    background: linear-gradient(120deg, #1b035b 0%, #771a63 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
    text-align: center;
}

/* --- PERBAIKAN HEADER --- */
.header-flex {
    display: flex;
    align-items: center;      /* Membuat logo & teks sejajar tengah secara vertikal */
    justify-content: flex-start; 
    gap: 12px;               
    padding: 5px 0 15px 0;
    text-align: left;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0,255,136,0.5));
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-text h1 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.1;
}

#lokasi {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: #00d2ff;
    opacity: 0.9;
}

#btnAktifkan {
    margin-left: auto; /* Mendorong tombol suara ke pojok kanan */
    font-size: 10px;
    padding: 6px 10px;
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid #00c853;
    color: #00ff88;
    border-radius: 8px;
    cursor: pointer;
}

/* --- PERBAIKAN TABEL JADWAL --- */
.prayer-table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.prayer-table td {
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prayer-table td:first-child {
    text-align: left;
    color: #ffffff; /* Nama sholat putih */
}

.prayer-table td:last-child {
    text-align: right;
    color: #00ff88; /* Jam sholat hijau */
    font-weight: bold;
}

/* --- VIDEO CONTAINER --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- COUNTDOWN BOX --- */
.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 15px;
    border-radius: 12px;
    margin: 15px auto;
}

#next-prayer-info {
    color: #00ff88;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}

.time-value {
    font-size: 20px;
    font-weight: bold;
    color: #00f2fe;
}

.time-unit {
    font-size: 10px;
    color: #00d2ff;
    text-transform: uppercase;
    margin-left: 2px;
}

.separator {
    border: 0.1px solid rgba(0,210,255,0.1);
    margin: 10px 0;
}

#current-time {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.7);
    margin: 10px 0;
}

/* --- BUTTONS & FOOTER --- */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.btn-custom {
    background: linear-gradient(120deg, #1b035b 0%, #771a63 100%);
    color: white;
    border: 1px solid #9575cd;
    border-radius: 25px;
    padding: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.audio-player-container {
    background: rgba(0, 210, 255, 0.05);
    border: 1px dashed rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
}

.select-doa {
    width: 100%;
    background: #1e0b36;
    color: white;
    border: 1px solid #512da8;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
}

.footer-copy {
    font-size: 9px;
    margin-top: 15px;
    color: #888;
}
/* Efek teks Arab bercahaya */
.swal2-html-container div {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    font-family: 'Amiri', serif; /* Jika Anda ingin font Arab khusus */
}
/* Menonjolkan Baris Imsak */
.prayer-table tr:first-child {
    background: rgba(255, 215, 0, 0.1); /* Warna emas transparan */
    border-radius: 10px;
}

.prayer-table tr:first-child td:first-child {
    color: #ffd700; /* Teks Imsak jadi warna emas */
    font-weight: bold;
}

/* Animasi sederhana untuk teks Arab di SweetAlert */
.swal2-html-container h2 {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88;
    }
    to {
        text-shadow: 0 0 15px #00ff88, 0 0 25px #00ff88;
    }
}

/* Mempercantik Scrollbar jika jadwal terlalu panjang */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-thumb {
    background: #512da8;
    border-radius: 10px;
}
.audio-player-container {
    background: rgba(0, 210, 255, 0.05);
    border: 1px dashed rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
}

.select-doa {
    width: 100%;
    background: #1e0b36;
    color: white;
    border: 1px solid #512da8;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}

/* Mempercantik tampilan audio player default */
audio::-webkit-media-controls-enclosure {
    background-color: rgba(81, 45, 168, 0.5);
}