/* Import font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F4F6F7; /* Abu-abu terang yang soft */
    color: #2C3E50; /* Midnight Blue untuk teks utama */
    margin: 0;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2C3E50, #6C7983); /* Gradasi biru tua & abu-abu */
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    font-weight: 600;
}

/* Jam Digital */
.jam {
    position: absolute;
    right: 20px;
    font-size: 16px;
    font-weight: bold;
    background: #D4AF37; /* Gold Accent */
    color: #2C3E50;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Menu */
.menu {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #2C3E50; /* Midnight Blue */
    color: white;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

/* Container */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Kotak Ruang Sidang */
.ruang {
    width: 45%;
    background: #ffffff; /* Putih yang soft */
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #6C7983; /* Slate Gray */
    text-align: center;
}

.ruang:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Antrian Sedang Dipanggil */
.antrian-sedang-dipanggil {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #2C3E50, #6C7983); /* Biru tua ke abu */
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    animation: blinkSoft 2s infinite alternate;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
    margin-top: 8px;
    max-width: 90%;
}

/* Animasi Berkedip */
@keyframes blinkSoft {
    0% { background: #2C3E50; color: white; }
    50% { background: #6C7983; color: white; }
    100% { background: #2C3E50; color: white; }
}

/* Nomor Perkara */
.nomor-perkara {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37; /* Soft Gold */
    display: block;
    margin-top: 8px;
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
}

/* Header Tabel */
th {
    background: #2C3E50;
    color: white;
    padding: 10px;
    text-align: center;
}

/* Isi Tabel */
td {
    padding: 10px;
    text-align: center;
    color: #2C3E50;
}

/* Warna Selang-Seling */
tr:nth-child(even) {
    background: #F8F9FA;
}

/* Efek Hover */
tr:hover {
    background: #EAEDED;
    transition: 0.3s;
}

/* Responsif */
@media screen and (max-width: 768px) {
    .ruang {
        width: 100%;
    }

    .jam {
        position: static;
        display: block;
        text-align: center;
        margin-top: 8px;
    }

    .antrian-sedang-dipanggil {
        font-size: clamp(2rem, 5vw, 3rem);
        max-width: 80%;
    }
}
