/* Base Banner Design - Slim Horizontal Rectangular */
.rjs-prayer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 10px 16px;
    margin: 20px auto;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    gap: 12px;
}

/* Ukuran Variations */
.rjs-prayer-banner.rjs-size-small { max-width: 540px; padding: 8px 12px; }
.rjs-prayer-banner.rjs-size-medium { max-width: 760px; padding: 10px 16px; }
.rjs-prayer-banner.rjs-size-large { max-width: 960px; padding: 14px 20px; }
.rjs-prayer-banner.rjs-size-full { width: 100%; max-width: 100%; padding: 12px 18px; }

/* Section Left: Info & Jam */
.rjs-banner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 130px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 12px;
}

.rjs-banner-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #38bdf8;
    white-space: nowrap;
}

.rjs-location-tag {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
}

.rjs-live-clock {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Section Center: Grid Horizontal Persegi Panjang */
.rjs-banner-center {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 6px;
    overflow-x: auto;
}

.rjs-prayer-box {
    flex: 1;
    min-width: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    transition: all 0.2s ease;
}

.rjs-prayer-box.active-next {
    background: #0284c7;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.rjs-prayer-box .p-label {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.rjs-prayer-box.active-next .p-label {
    color: #e0f2fe;
}

.rjs-prayer-box .p-time {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1px;
}

/* Section Right: Countdown Horizontal */
.rjs-banner-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    min-width: 140px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
    text-align: right;
}

.rjs-countdown-tag {
    font-size: 0.68rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rjs-countdown-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    margin-top: 2px;
    white-space: nowrap;
}

/* Responsive Handling */
@media (max-width: 768px) {
    .rjs-prayer-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .rjs-banner-left, .rjs-banner-right {
        border: none;
        padding: 0;
        align-items: center;
        text-align: center;
    }
    .rjs-banner-center {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 4px;
    }
    .rjs-prayer-box {
        min-width: unset;
        padding: 4px 2px;
    }
    .rjs-prayer-box .p-label { font-size: 0.62rem; }
    .rjs-prayer-box .p-time { font-size: 0.82rem; }
}
