/* ------------------------------ */
/* Banner Container */
/* ------------------------------ */
.prayer-times-banner-widget {
    --pt-bg: #f9fafb;
    --pt-text: #222;
    --pt-accent: #1e293b; /* navy accent */
    --pt-border: #e0e0e0;

    background-color: var(--pt-bg);
    color: var(--pt-text);
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

/* ------------------------------ */
/* Banner Title */
/* ------------------------------ */
.prayer-times-banner-widget h5 {
    text-align: center;
    font-weight: 600 !important;
    margin-bottom: 1rem;
}

/* .prayer-times-banner-widget h5::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    background-color: var(--pt-accent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
} */

/* ------------------------------ */
/* Horizontal Scroll Container */
/* ------------------------------ */
.ptb-times {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;           /* horizontal scroll */
    white-space: nowrap;        /* keep cells in one line */
    padding-bottom: 0.25rem;    /* space for scrollbar */
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

/* ------------------------------ */
/* Prayer Cells */
/* ------------------------------ */
.ptb-cell {
    flex: 0 0 auto; /* shrink to content width */
    background-color: #fff;
    border: 1px solid var(--pt-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
    cursor: default;
    display: inline-block;
}

/* Hover effect */
.ptb-cell:hover {
    border-color: var(--pt-accent);
}

.prayer-times-banner-widget .ptb-cell.next-prayer {
    border-color: #00a99d;
    background-color: #e6f7f7;
    box-shadow: 0 2px 12px rgba(0, 169, 157, 0.2);
    transition: all 0.3s ease;
}

.prayer-times-banner-widget .ptb-cell.next-prayer .ptb-prayer {
    color: #007a73;
    font-weight: 600;
}

.prayer-times-banner-widget .ptb-cell.next-prayer .ptb-time {
    font-weight: 600;
    color: #007a73;
}

/* ------------------------------ */
/* Prayer Name */
/* ------------------------------ */
.ptb-prayer {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pt-accent);
    margin-bottom: 0.4rem;
}

/* ------------------------------ */
/* Inline Labels & Times */
/* ------------------------------ */
.ptb-times-inline {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.ptb-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase; /* capitalize labels */
}

.ptb-time {
    font-size: 0.85rem;
    color: var(--pt-text);
}

.ptb-jamaa {
    font-size: 0.85rem;
    color: #555;
}


/* ------------------------------ */
/* Scrollbar Styling */
/* ------------------------------ */
.ptb-times::-webkit-scrollbar {
    height: 6px;
}

.ptb-times::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.ptb-times::-webkit-scrollbar-track {
    background: transparent;
}

/* ------------------------------ */
/* Responsive Adjustments for Mobile */
/* ------------------------------ */
@media (max-width: 480px) {
    .ptb-cell {
        padding: 0.6rem 0.8rem;
        min-width: 100px; /* maintain readability */
    }

    .ptb-prayer {
        font-size: 0.85rem;
    }

    .ptb-time, .ptb-jamaa, .ptb-label {
        font-size: 0.8rem;
    }
}
