/* ── YTWR Radio – style.css ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ══════════════════════════════════════════════
   LIGHT MODE (default)
══════════════════════════════════════════════ */
:root {
    --blue: #1976D2;
    --blue-dark: #1254a4;
    --blue-light: #e3f0ff;
    --red: #e53935;
    --red-light: #fff0f0;
    --green: #2e7d32;
    --green-bg: #e8f5e9;

    --bg: #f0f4f9;
    --card: #ffffff;
    --card-hover: #f8fbff;
    --text: #1a1a2e;
    --text-muted: #7a8399;
    --border: #e8edf5;
    --shadow: 0 2px 12px rgba(25, 118, 210, .09);
    --shadow-player: 0 -4px 24px rgba(25, 118, 210, 0.12);
    --shadow-footer: 0 -2px 10px rgba(0, 0, 0, .05);

    --radius: .85rem;
    --radius-sm: .5rem;
    --player-h: 82px;
    --footer-h: 56px;

    /* toggle */
    --toggle-bg: #dde3ee;
    --toggle-knob: #ffffff;
    --toggle-icon-color: #7a8399;

    /* transition semua warna */
    color-scheme: light;
}

/* ══════════════════════════════════════════════
   DARK MODE — aktif via [data-theme="dark"] di <html>
══════════════════════════════════════════════ */
[data-theme="dark"] {
    --bg: #0f1117;
    --card: #1a1d27;
    --card-hover: #21253300;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --border: #2a2f3d;
    --shadow: 0 2px 12px rgba(0, 0, 0, .35);
    --shadow-player: 0 -4px 24px rgba(0, 0, 0, 0.4);
    --shadow-footer: 0 -2px 10px rgba(0, 0, 0, .3);

    --blue-light: #1a2a3d;
    --red-light: #2a1515;
    --green-bg: #0d2010;

    --toggle-bg: #2a2f3d;
    --toggle-knob: #1976D2;
    --toggle-icon-color: #e8eaf0;

    color-scheme: dark;
}

/* ══════════════════════════════════════════════
   TRANSISI SMOOTH SAAT GANTI MODE
══════════════════════════════════════════════ */
body,
.section-card,
.sticky-player,
footer,
.day-tab,
.jadwal-item,
.chat-warning,
.section-header,
.player-inner {
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

/* ══════════════════════════════════════════════
   BASE
══════════════════════════════════════════════ */
body {
    font-family: 'Sora', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--player-h) + var(--footer-h));
}

/* ══════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════ */
.main-content {
    flex: 1;
    padding: 0.75rem 1rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: calc(100dvh - var(--player-h) - var(--footer-h) - 1.5rem);
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
}

/* ══════════════════════════════════════════════
   DESKTOP GRID 50:50
══════════════════════════════════════════════ */
@media (min-width: 768px) {
    .main-content {
        display: grid;
        grid-template-areas:
            "topbar topbar"
            "schedule chat";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.75rem;
        align-items: stretch;
    }

    .top-bar {
        grid-area: topbar;
    }

    .schedule-card {
        grid-area: schedule;
    }

    .chat-section {
        grid-area: chat;
    }
}

.schedule-card,
.chat-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* ══════════════════════════════════════════════
   DARK MODE TOGGLE BUTTON
══════════════════════════════════════════════ */
.theme-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 4px 6px;
    border-radius: 20px;
}

.theme-toggle:hover .toggle-track {
    opacity: 0.85;
}

.toggle-track {
    width: 42px;
    height: 24px;
    border-radius: 12px;
    background: var(--toggle-bg);
    position: relative;
    transition: background 0.3s ease;
    border: 1px solid var(--border);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--toggle-knob);
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), background 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

[data-theme="dark"] .toggle-knob {
    transform: translateX(18px);
}

.toggle-icon {
    font-size: 0.7rem;
    color: var(--toggle-icon-color);
    transition: color 0.3s ease;
    line-height: 1;
}

/* ══════════════════════════════════════════════
   BADGE ONLINE & LIVE
══════════════════════════════════════════════ */
.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}

.live-status-badge i {
    font-size: 0.75rem;
}

.live-status-badge.live-muted {
    background: #b0bec5;
    color: #eeeeee;
}

[data-theme="dark"] .live-status-badge.live-muted {
    background: #2a2f3d;
    color: #6b7280;
}

#liveTimerBadge {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    margin-left: 2px;
}

/* ══════════════════════════════════════════════
   SECTION CARD
══════════════════════════════════════════════ */
.section-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem 0.65rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--text);
    flex-shrink: 0;
}

.section-header i {
    color: var(--blue);
    font-size: 1.05rem;
}

/* ══════════════════════════════════════════════
   DAY TABS
══════════════════════════════════════════════ */
.day-tabs {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem 0.75rem 0.35rem;
    gap: 6px;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.day-tabs::-webkit-scrollbar {
    display: none;
}

.day-tab {
    flex-shrink: 0;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    transition: 0.15s;
    white-space: nowrap;
}

.day-tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    font-weight: 600;
}

.day-tab:hover:not(.active) {
    background: var(--blue-light);
    border-color: var(--blue);
    color: var(--blue);
}

/* ══════════════════════════════════════════════
   ON AIR BANNER
══════════════════════════════════════════════ */
.onair-banner {
    margin: 0.7rem 0.75rem 0.4rem;
    padding: 0.75rem 1rem;
    background: var(--red-light);
    border: 1px solid #fecaca;
    border-left: 3px solid var(--red);
    border-radius: 0.6rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

[data-theme="dark"] .onair-banner {
    border-color: #3d1a1a;
}

.onair-banner.show {
    display: flex;
}

.onair-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fee2e2;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
}

[data-theme="dark"] .onair-avatar {
    background: #2a1515;
}

.onair-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.onair-body {
    flex: 1;
    min-width: 0;
}

.onair-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--red);
    color: #fff;
    font-size: 0.63rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 3px;
}

.onair-pill .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s infinite;
}

.onair-judul {
    font-size: 0.88rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onair-penyiar {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.onair-jam {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1px;
}

/* ══════════════════════════════════════════════
   JADWAL LIST
══════════════════════════════════════════════ */
#jadwalList {
    padding: 0.5rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

#jadwalList::-webkit-scrollbar {
    width: 4px;
}

#jadwalList::-webkit-scrollbar-track {
    background: transparent;
}

#jadwalList::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.jadwal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: var(--card);
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.jadwal-item.on-air {
    border-left: 3px solid var(--red);
    background: var(--red-light);
}

.jadwal-item:hover {
    border-color: #c7d9f5;
    background: var(--blue-light);
}

[data-theme="dark"] .jadwal-item:hover {
    border-color: #1976D2;
}

.jadwal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.jadwal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jadwal-body {
    flex: 1;
    min-width: 0;
}

.jadwal-judul {
    font-size: 0.86rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
}

.jadwal-penyiar {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.jadwal-right {
    text-align: right;
    flex-shrink: 0;
}

.jadwal-jam {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.jadwal-jam .sep {
    color: var(--border);
    margin: 0 0.2em;
}

.onair-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #ffebee;
    color: #b71c1c;
    font-size: 0.63rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 20px;
    margin-top: 3px;
}

[data-theme="dark"] .onair-tag {
    background: #2a1515;
    color: #ff6b6b;
}

.onair-tag .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.5s infinite;
}

.jadwal-empty,
.jadwal-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.tz-note {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-muted);
    padding-bottom: 0.6rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   CHAT SECTION + IFRAME
══════════════════════════════════════════════ */
.chat-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--blue-light);
    color: var(--text-muted);
    font-size: 0.67rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    margin: 0.5rem;
    text-align: center;
    flex-shrink: 0;
}

.translate-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blue);
    font-size: 0.85rem;
    padding: 0;
}

/* iframe — light mode normal */
.chat-section iframe {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    min-height: 300px;
    transition: filter 0.3s ease;
}

/* iframe — dark mode: invert + angkat brightness agar match warna card */
[data-theme="dark"] .chat-section iframe {
    filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9);
}

/* ══════════════════════════════════════════════
   STICKY PLAYER
══════════════════════════════════════════════ */
.sticky-player {
    position: fixed;
    bottom: var(--footer-h);
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-player);
    min-height: var(--player-h);
    display: flex;
    align-items: center;
}

.player-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-art {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    background: #1a1a2e url("vinyl-favicon.png") center/cover no-repeat;
}

.player-art.is-vinyl {
    animation: spin 6s linear infinite;
    animation-play-state: paused;
}

.player-art.is-photo {
    animation: none !important;
    border-radius: 0.55rem;
}

.player-art.is-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-penyiar {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
    margin-bottom: 3px;
}

.player-song-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
}

.now-playing-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.song-container {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.song-text {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: inline-block;
}

.song-container.marquee .song-text {
    animation: marquee 12s linear infinite;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--blue-dark);
    transform: scale(1.07);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    height: var(--footer-h);
    background: var(--card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-footer);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
}

.social-links a {
    color: var(--blue);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.15s, transform 0.15s;
}

.social-links a:hover {
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.footer-text {
    font-size: 0.58rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 767px) {
    .main-content {
        height: auto;
        min-height: calc(100dvh - var(--player-h) - var(--footer-h) - 1.5rem);
    }

    .chat-section iframe {
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .live-status-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
}

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ══════════════════════════════════════════════
   JADWAL DETAIL MODAL
══════════════════════════════════════════════ */

/* Cursor pointer + hint chevron pada jadwal item */
.jadwal-item {
    cursor: pointer;
}

.jadwal-detail-hint {
    display: flex;
    justify-content: flex-end;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-top: 3px;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.jadwal-item:hover .jadwal-detail-hint {
    opacity: 1;
    color: var(--blue);
}

/* Backdrop */
.jmodal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.jmodal-backdrop.show {
    opacity: 1;
    pointer-events: all;
}

/* Modal panel — bottom sheet di mobile, centered card di desktop */
.jmodal {
    position: relative;
    background: var(--card);
    width: 100%;
    max-width: 520px;
    border-radius: 1.4rem 1.4rem 0 0;
    padding: 1.25rem 1.25rem 2rem;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, .25);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(.22, 1, .36, 1);
    max-height: 90dvh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.jmodal-backdrop.show .jmodal {
    transform: translateY(0);
}

@media (min-width: 560px) {
    .jmodal-backdrop {
        align-items: center;
        padding: 1rem;
    }

    .jmodal {
        border-radius: 1.2rem;
        transform: translateY(20px) scale(0.97);
        max-height: 85dvh;
    }

    .jmodal-backdrop.show .jmodal {
        transform: translateY(0) scale(1);
    }
}

/* Drag handle (decorative) */
.jmodal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 1rem;
}

@media (min-width: 560px) {
    .jmodal::before {
        display: none;
    }
}

/* Close button */
.jmodal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.jmodal-close:hover {
    background: var(--blue);
    color: #fff;
}

/* Hero: foto besar + judul */
.jmodal-hero {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.jmodal-foto {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    background: var(--border);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.8rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.jmodal-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jmodal-hero-body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.jmodal-onair-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--red-light);
    color: var(--red);
    font-size: 0.67rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 5px;
    border: 1px solid #fecaca;
}

[data-theme="dark"] .jmodal-onair-badge {
    border-color: #3d1a1a;
}

.jmodal-onair-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.5s infinite;
}

.jmodal-judul {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 4px;
    word-break: break-word;
}

.jmodal-penyiar {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Meta row: hari + jam */
.jmodal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.jmodal-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    padding: 0.6rem 0.75rem;
}

.jmodal-meta-item>i {
    color: var(--blue);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.jmodal-meta-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jmodal-meta-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'DM Mono', monospace;
    word-break: break-word;
}

/* Deskripsi */
.jmodal-desc-wrap {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
}

.jmodal-desc-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.jmodal-desc {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Prevent body scroll saat modal buka */
body.jmodal-open {
    overflow: hidden;
}

/* Desktop: override overflow hidden agar modal tetap bisa scroll */
@media (min-width: 768px) {
    body:not(.jmodal-open) {
        height: 100dvh;
        overflow: hidden;
    }

    .main-content {
        overflow: hidden;
    }

    .schedule-card {
        overflow: hidden;
    }
}