/* ════════════════════════════════════════
   JADWAL IMSAKIYAH — global.css
   ════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --green: #0F9D58;
    --green-light: #34D399;
    --green-pale: #D9F99D;
    --green-soft: #A7F3D0;
    --green-mist: #E6F9F0;
    --gold-mist: #FEF9C3;
    --bg-warm: #F6F3E9;
    --bg-mid: #F8F5EE;
    --bg-deep: #F1ECE2;
    --text-dark: #1F2937;
    --text-mid: #4B5563;
    --text-light: #6B7280;
    --grad: linear-gradient(135deg, var(--gold-mist), var(--green-pale), var(--green-soft));
    --border: 1px solid rgba(15, 157, 88, 0.18);
    --shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

button,
[onclick] {
    -webkit-tap-highlight-color: transparent
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(12px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

@keyframes swipeAnim {

    0%,
    100% {
        transform: translateX(0)
    }

    30% {
        transform: translateX(6px)
    }

    60% {
        transform: translateX(-4px)
    }
}

@keyframes progressBar {
    from {
        width: 0%
    }

    to {
        width: 100%
    }
}

/* ── ENTRANCE ANIMATION HELPERS ── */
.anim-hidden {
    opacity: 0;
    transform: translateY(18px)
}

.anim-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity .6s ease, transform .6s ease;
}

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
header {
    border-bottom: var(--border)
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon {
    width: 56px;
    height: 56px;
    background: var(--grad);
    border: var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-title {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--green);
    line-height: 1.1;
    font-family: 'Rabento Personal Use Only', 'Poppins', sans-serif;
}

.header-sub {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px
}

/* ════════════════════════════════════════
   MAIN LAYOUT
   ════════════════════════════════════════ */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── SECTION HEAD ── */
.section-head {
    margin-bottom: 14px
}

.state-icon {
    font-size: 36px
}

/* ── CARD BOX ── */
.g-box {
    background: var(--grad);
    border: var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    overflow: visible;
}

#sectionKontrol {
    z-index: 100
}

.card-heading {
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--green);
    text-transform: uppercase;
}

/* ════════════════════════════════════════
   SEARCH BOX
   ════════════════════════════════════════ */
.search-wrap {
    position: relative
}

.search-input {
    width: 100%;
    height: 46px;
    border: var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 0 40px 0 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    transition: border-color .2s, box-shadow .2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(15, 157, 88, .12);
}

.search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    display: flex;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    display: none;
}

.search-clear.show {
    display: block
}

/* ════════════════════════════════════════
   CITY DROPDOWN
   ════════════════════════════════════════ */
.city-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    max-height: 260px;
    overflow-y: auto;
    z-index: 9999;
}

.city-dropdown.show {
    display: block;
    animation: slideDown .18s ease both
}

.city-dropdown::-webkit-scrollbar {
    width: 5px
}

.city-dropdown::-webkit-scrollbar-thumb {
    background: rgba(15, 157, 88, .3);
    border-radius: 99px
}

.cd-prov-label {
    padding: 8px 14px 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-light);
    background: #f9fafb;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
}

.cd-item {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background .12s;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
}

.cd-item:last-child {
    border-bottom: none
}

.cd-item:hover,
.cd-item.highlight {
    background: rgba(15, 157, 88, .07)
}

.cd-item.selected {
    background: rgba(15, 157, 88, .10);
    color: var(--green);
    font-weight: 600
}

.cd-item-kabkot {
    font-size: 10px;
    color: var(--text-light);
    margin-left: auto;
    white-space: nowrap;
    background: rgba(0, 0, 0, .05);
    padding: 2px 7px;
    border-radius: 4px;
}

.cd-item.selected .cd-item-kabkot {
    background: rgba(15, 157, 88, .15);
    color: var(--green)
}

.cd-empty {
    padding: 28px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light)
}

/* ════════════════════════════════════════
   KOTA CHIP
   ════════════════════════════════════════ */
.kota-chip {
    display: none;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 12px;
}

.kota-chip.show {
    display: flex;
    animation: fadeUp .3s ease both
}

.kota-badge {
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    white-space: nowrap;
}

.kota-nama {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark)
}

.kota-daerah {
    font-size: 11px;
    color: var(--text-light)
}

/* ════════════════════════════════════════
   STATE BOXES
   ════════════════════════════════════════ */
.state-box {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 12px;
    text-align: center;
}

.state-box.show {
    display: flex;
    animation: fadeUp .35s ease both
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(15, 157, 88, .2);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.state-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--green)
}

.state-sub {
    font-size: 12px;
    color: var(--text-light)
}

.error-icon {
    font-size: 36px;
    animation: pulse 2s ease infinite
}

.state-box.error .state-title {
    color: #DC2626
}

.btn-retry {
    margin-top: 6px;
    padding: 9px 22px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
}

.btn-retry:hover {
    opacity: .88
}

.btn-retry:active {
    transform: scale(.96)
}

/* ════════════════════════════════════════
   TODAY BAR
   ════════════════════════════════════════ */
.today-bar {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(15, 157, 88, .07);
    border: var(--border);
    border-radius: 8px;
    padding: 9px 13px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
}

.today-bar.show {
    display: flex
}

/* ════════════════════════════════════════
   TABLE
   ════════════════════════════════════════ */
.table-wrap {
    display: none;
    overflow-x: auto;
    border-radius: 8px;
    border: var(--border);
    background: #fff;
    max-height: 480px;
    overflow-y: auto;
}

.table-wrap.show {
    display: block;
    animation: fadeUp .4s ease both
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 13px
}

thead tr {
    background: transparent
}

thead th {
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 12px 13px;
    text-align: center;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

thead th:first-child {
    text-align: left
}

tbody tr {
    border-bottom: 1px solid rgba(15, 157, 88, .07);
    transition: background .15s
}

tbody tr:last-child {
    border-bottom: none
}

tbody tr:hover {
    background: rgba(167, 243, 208, .18)
}

tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, .015)
}

tbody tr:nth-child(even):hover {
    background: rgba(167, 243, 208, .18)
}

tbody td {
    padding: 10px 13px;
    text-align: center;
    color: var(--text-mid);
    white-space: nowrap;
}

tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 12px;
}

tbody tr.today-row {
    background: rgba(15, 157, 88, .07) !important;
    border-left: 3px solid var(--green)
}

tbody tr.today-row td {
    color: var(--text-dark);
    font-weight: 600
}

tbody tr.today-row td:first-child {
    color: var(--green)
}

.time-badge {
    display: inline-block;
    background: rgba(0, 0, 0, .04);
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

tbody tr.today-row .time-badge {
    background: rgba(15, 157, 88, .1);
    color: var(--green)
}

/* ════════════════════════════════════════
   SWIPE HINT
   ════════════════════════════════════════ */
.swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
}

.swipe-hint.show {
    display: flex;
    animation: fadeIn .4s ease both
}

.swipe-hint-icon {
    font-size: 13px;
    animation: swipeAnim 1.4s ease-in-out infinite;
    display: inline-block
}

/* ════════════════════════════════════════
   API DOC LINK
   ════════════════════════════════════════ */
.api-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    background: #fff;
    border: var(--border);
    border-radius: 99px;
    padding: 8px 18px;
    box-shadow: var(--shadow);
    transition: color .18s, border-color .18s, background .18s, box-shadow .18s, transform .15s;
}

.api-doc-link:hover {
    color: var(--green);
    border-color: var(--green);
    background: var(--green-mist);
    box-shadow: 0 4px 14px rgba(15, 157, 88, .13);
    transform: translateY(-1px);
}

.api-doc-link svg {
    transition: transform .18s
}

.api-doc-link:hover svg {
    transform: translate(2px, -2px)
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
    border-top: var(--border)
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.footer-quote {
    font-size: 12px;
    font-style: italic;
    color: var(--text-light);
    max-width: 440px;
    margin: 0 auto 6px;
    line-height: 1.7;
}

.footer-copy {
    font-size: 11px;
    color: #9CA3AF
}

/* ════════════════════════════════════════
   GEO MODAL
   ════════════════════════════════════════ */
#geoModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#geoModal.show {
    display: flex;
    animation: fadeIn .25s ease both
}

.geo-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 28px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    animation: scaleIn .3s ease both;
    text-align: center;
}

.geo-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--grad);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(15, 157, 88, .18);
}

.geo-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px
}

.geo-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px
}

.geo-btns {
    display: flex;
    gap: 10px
}

.btn-geo-allow {
    flex: 1;
    padding: 12px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
}

.btn-geo-allow:hover {
    opacity: .88
}

.btn-geo-allow:active {
    transform: scale(.97)
}

.btn-geo-skip {
    flex: 1;
    padding: 12px;
    background: transparent;
    color: var(--text-light);
    border: var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.btn-geo-skip:hover {
    background: rgba(107, 114, 128, .06)
}

/* ════════════════════════════════════════
   PAGE LOADER
   ════════════════════════════════════════ */
@keyframes mascotBounce {

    0%,
    100% {
        transform: translateY(0) scaleX(1) scaleY(1)
    }

    30% {
        transform: translateY(-28px) scaleX(.96) scaleY(1.04)
    }

    60% {
        transform: translateY(-10px) scaleX(.98) scaleY(1.02)
    }
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: .35
    }

    30% {
        transform: scaleX(.55);
        opacity: .15
    }

    60% {
        transform: scaleX(.75);
        opacity: .22
    }
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-8px)
    }
}

#pageLoader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(246, 243, 233, .94);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

#pageLoader.show {
    display: flex;
    animation: fadeIn .2s ease both
}

.loader-mascot-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(14px, 3vw, 28px);
}

.loader-mascot {
    width: clamp(80px, 18vw, 200px);
    height: clamp(80px, 18vw, 200px);
    object-fit: contain;
    animation: mascotBounce .8s cubic-bezier(.36, .07, .19, .97) infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .2));
}

.loader-shadow {
    width: clamp(50px, 12vw, 130px);
    height: clamp(8px, 1.5vw, 16px);
    background: radial-gradient(ellipse, rgba(0, 0, 0, .25) 0%, transparent 70%);
    border-radius: 50%;
    margin-top: -4px;
    animation: shadowPulse .8s cubic-bezier(.36, .07, .19, .97) infinite;
}

.loader-text {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 600;
    color: var(--green);
    letter-spacing: .04em;
    margin-bottom: clamp(10px, 2vw, 18px);
}

.loader-dots {
    display: flex;
    gap: clamp(5px, 1vw, 10px);
    align-items: center;
}

.loader-dots span {
    width: clamp(7px, 1.2vw, 12px);
    height: clamp(7px, 1.2vw, 12px);
    background: var(--green);
    border-radius: 50%;
    animation: dotBounce .7s ease infinite;
}

.loader-dots span:nth-child(1) {
    animation-delay: 0s
}

.loader-dots span:nth-child(2) {
    animation-delay: .12s
}

.loader-dots span:nth-child(3) {
    animation-delay: .24s
}

.loader-ring {
    display: none
}

.loader-bar-wrap {
    display: none
}

.loader-bar {
    display: none
}

/* ════════════════════════════════════════
   COUNTDOWN WIDGET
   ════════════════════════════════════════ */

@keyframes cdtPop {
    0% {
        transform: scale(1.12);
        opacity: .7
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

/* ── Animasi jarum jam berputar ── */
@keyframes clockHandSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ── Shimmer progress bar ── */
@keyframes progressShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ─────────────────────────────
   Section head: heading kiri + tanggal kanan
───────────────────────────── */
#sectionCountdown .section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

/* Tanggal pill — muncul di pojok kanan section head */
.cdt-date-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
}

.cdt-date-day {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1;
}

.cdt-date-full {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: .01em;
    white-space: nowrap;
}

/* ─────────────────────────────
   Grid utama
───────────────────────────── */
.cdt-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}

/* ─────────────────────────────
   Kolom kiri — periode aktif
───────────────────────────── */
.cdt-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, .55);
    border: var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    min-width: 80px;
    text-align: center;
}

.cdt-period-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 4px;
}

.cdt-period-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.3;
}

.cdt-period-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

/* ─────────────────────────────
   Kolom tengah — hitung mundur
───────────────────────────── */
.cdt-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cdt-next-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--text-light);
}

/* ── Wrapper icon + digits ── */
.cdt-timer-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Icon jam SVG ── */
.cdt-clock-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--green);
    opacity: .85;
}

/* Jarum menit berputar — target elemen #clockMinuteHand di dalam SVG */
.cdt-clock-icon .clock-hand-minute {
    transform-origin: 12px 12px;
    animation: clockHandSpin 60s linear infinite;
}

/* Jarum jam berputar lebih lambat */
.cdt-clock-icon .clock-hand-hour {
    transform-origin: 12px 12px;
    animation: clockHandSpin 720s linear infinite;
}

.cdt-digits {
    font-size: clamp(32px, 7vw, 52px);
    font-weight: 700;
    color: var(--green);
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
    background: rgba(255, 255, 255, .7);
    border: var(--border);
    border-radius: 12px;
    padding: 10px 20px;
    line-height: 1;
    box-shadow: 0 2px 12px rgba(15, 157, 88, .1);
    animation: cdtPop .15s ease both;
}

.cdt-next-time {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* ─────────────────────────────
   Progress bar — smooth animated
───────────────────────────── */
.cdt-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(15, 157, 88, .12);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 2px;
    /* Subtle inset shadow biar keliatan "slot"-nya */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
}

.cdt-progress-fill {
    height: 100%;
    border-radius: 99px;
    /* Gradient base warna */
    background: linear-gradient(90deg,
            var(--green-light) 0%,
            var(--green) 50%,
            var(--green-light) 100%);
    background-size: 200% 100%;
    /* Smooth width via JS, shimmer via CSS */
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: progressShimmer 2.4s ease-in-out infinite;
    /* Kilap tipis di atas */
    box-shadow: 0 1px 4px rgba(15, 157, 88, .35),
        inset 0 1px 0 rgba(255, 255, 255, .4);
    position: relative;
}

.cdt-progress-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 2px;
}

/* ─────────────────────────────
   Kolom kanan — 1 item: waktu berikutnya
───────────────────────────── */
.cdt-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, .55);
    border: var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    min-width: 100px;
    text-align: center;
}

/* Label kecil "berikutnya" di atas */
.cdt-right-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-light);
    line-height: 1;
}

.cdt-prayer-icon {
    font-size: 26px;
    line-height: 1;
}

.cdt-prayer-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.cdt-prayer-time {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1;
}

/* ── RESPONSIVE COUNTDOWN ── */
@media (max-width: 640px) {
    #sectionCountdown .section-head {
        flex-direction: row;
        align-items: center;
    }

    .cdt-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cdt-left {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 10px 16px;
    }

    .cdt-period-icon {
        font-size: 24px;
        margin-bottom: 0;
    }

    /* Di mobile, right jadi row sejajar center */
    .cdt-right {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 18px;
        min-width: unset;
        gap: 10px;
    }

    .cdt-right-label {
        display: none;
    }

    .cdt-prayer-icon {
        font-size: 22px;
    }

    .cdt-prayer-time {
        font-size: 18px;
    }

    .cdt-digits {
        font-size: clamp(28px, 10vw, 42px);
        padding: 8px 16px;
    }

    .cdt-clock-icon {
        width: 22px;
        height: 22px;
    }
}

/* ════════════════════════════════════════
   RESPONSIVE (original)
   ════════════════════════════════════════ */
@media (min-width: 481px) and (max-width: 900px) {
    .loader-mascot-wrap {
        margin-bottom: clamp(16px, 3vw, 24px)
    }
}

@media (min-width: 1280px) {
    .loader-mascot {
        width: 200px;
        height: 200px
    }

    .loader-shadow {
        width: 130px;
        height: 16px
    }

    .loader-text {
        font-size: 16px;
        margin-bottom: 18px
    }

    .loader-dots span {
        width: 12px;
        height: 12px
    }

    .loader-dots {
        gap: 10px
    }
}

@media (max-width: 600px) {

    thead th,
    tbody td {
        padding: 9px 9px;
        font-size: 11px
    }
}