:root {
    --navy: #172f61;
    --deep-navy: #081f50;
    --hero-blue: #103873;
    --hero-blue-2: #173e7c;
    --gold: #ffce31;
    --coral: #ff5b47;
    --orange: #ff7b3d;
    --page: #f3f6fc;
    --white: #ffffff;
    --text: #102650;
    --muted: #6c7f9f;
    --line: #d8e3f5;
    --sidebar-width: 330px;
    --header-height: 72px;
    --shadow: 0 16px 38px rgba(20, 55, 114, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--page);
    font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Header */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    color: #fff;
    background: linear-gradient(135deg, darkblue, blue);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 8px 28px rgba(8, 31, 80, .2);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 250px; }
.brand-logo {
    width: 58px;
    height: 48px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    padding: 4px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(5, 18, 45, .18);
}
.brand-name strong { display: block; font-size: 17px; letter-spacing: .04em; }
.brand-name small {
    display: block;
    margin-top: 3px;
    color: #b8caf0;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.topnav { align-self: stretch; display: flex; align-items: stretch; gap: 4px; }
.nav-link,
.nav-summary {
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    color: rgba(255, 255, 255, .82);
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.nav-link:hover,
.nav-summary:hover,
.nav-link.active,
.nav-summary.active,
details[open] > .nav-summary {
    color: #fff;
    background: rgba(255, 255, 255, .05);
    border-bottom-color: var(--gold);
}
.nav-dropdown { position: relative; height: 100%; }
.nav-summary::-webkit-details-marker { display: none; }
.dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 9px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(8, 31, 80, .18);
}
.dropdown-panel a { display: flex; gap: 10px; padding: 10px 11px; border-radius: 9px; font-weight: 700; }
.dropdown-panel a:hover { background: #eef4ff; }
.user-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    font-weight: 800;
}
.user-menu i { color: var(--gold); }
.mobile-toggle { display: none; color: #fff; background: transparent; border: 0; font-size: 20px; cursor: pointer; }

/* Leftpage */
.sidebar {
    position: fixed;
    z-index: 900;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--line);
    box-shadow: 8px 0 30px rgba(25, 62, 120, .05);
}
.sidebar-scroll { flex: 1; overflow-y: auto; padding: 24px 18px; }
.identity-card {
    padding: 18px;
    color: blue;
    background: white;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(8, 31, 80, .22);
}
.identity-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    margin-bottom: 18px;
}
.identity-logo-wrap {
    width: 100%;
    height: 100px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 4px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 14px;
    box-shadow: none;
}
.identity-logo1 {
    display: block;
    width: 95%;
    height: 95%;
    object-fit: contain;
    object-position: center;
}
.identity-logo2 {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.identity-logo3 {
    display: block;
    width: 110%;
    height: 120%;
    object-fit: contain;
    object-position: center;
}
.identity-card small {
    color: #c6d7f6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    line-height: 1.8;
    text-transform: uppercase;
}
.identity-card h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.25; }
.identity-audio-player {
    margin-top: 18px;
    padding: 11px;
    background: rgba(255, 206, 49, .12);
    border: 1px solid rgba(255, 206, 49, .55);
    border-radius: 15px;
    box-shadow: 0 9px 20px rgba(5, 18, 45, .2);
}
.identity-audio-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.identity-audio-title i {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: var(--deep-navy);
    background: var(--gold);
    border-radius: 50%;
    font-size: 11px;
}
.identity-audio {
    width: 100%;
    height: 38px;
    display: block;
    margin-top: 9px;
    accent-color: var(--gold);
}
.event-info { margin: 18px 5px 20px; }
.event-row { display: flex; gap: 12px; padding: 10px; border-radius: 12px; }
.event-row:hover { background: #eef4ff; }
.event-row i { margin-top: 2px; color: #174fae; }
.event-row.location i { color: #e64a3b; }
.event-row strong { display: block; font-size: 14px; }
.event-row small { display: block; margin-top: 4px; color: var(--muted); }
.divider { height: 1px; margin: 14px 5px 26px; background: var(--line); }
.countdown {
    padding: 19px;
    color: #fff;
    background: linear-gradient(135deg, darkblue, blue);
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(255, 91, 71, .23);
}
.countdown-title { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.countdown > small { display: block; margin-top: 7px; color: rgba(255, 255, 255, .85); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 18px; }
.time-box { padding: 12px 3px 10px; text-align: center; background: var(--deep-navy); border-radius: 15px; }
.time-box strong { display: block; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.time-box span { display: block; margin-top: 7px; color: rgba(255, 255, 255, .74); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.sidebar-footer { padding: 22px 18px; background: #f8faff; border-top: 1px solid var(--line); }
.sidebar-footer strong { display: block; color: #0c449c; font-style: italic; line-height: 1.5; }
.sidebar-footer small { display: block; margin-top: 14px; color: #7d8fac; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.overlay { display: none; position: fixed; inset: var(--header-height) 0 0 0; z-index: 850; padding: 0; background: rgba(4, 14, 35, .55); border: 0; }

/* Main dan hero */
.main { min-height: 100vh; margin-left: var(--sidebar-width); padding: calc(var(--header-height) + 30px) 40px 36px; }
.hero {
    position: relative;
    overflow: hidden;
    max-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 46px;
    color: #fff;
    background: linear-gradient(135deg, darkblue, darkblue);
    border-radius: 32px;
    box-shadow: 0 24px 58px rgba(12, 46, 103, .2);
}
.hero-compact { min-height: 265px; }
.hero::before {
    position: absolute;
    inset: 0;
    content: '';
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to right, #000, transparent 72%);
}
.hero::after {
    position: absolute;
    right: 2%;
    top: -70px;
    content: '14';
    color: rgba(255, 255, 255, .05);
    font-size: clamp(200px, 22vw, 390px);
    font-weight: 900;
    line-height: 1;
}
.hero-copy, .clock-card { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 16px 0 13px; font-size: clamp(39px, 4vw, 64px); line-height: .98; letter-spacing: -.025em; }
.hero-compact h1 { text-transform: uppercase; }
.hero p { max-width: 790px; margin: 0; color: #d7e4fb; font-size: 17px; line-height: 1.7; }
.clock-card { flex: 0 0 250px; padding: 20px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.19); border-radius: 20px; backdrop-filter: blur(8px); }
.clock-card small { color: #b8c9ea; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.clock-card .date { margin-top: 10px; font-size: 14px; font-weight: 800; text-transform: capitalize; }
.clock-card .time { margin-top: 10px; color: var(--gold); font-size: 27px; font-weight: 900; font-variant-numeric: tabular-nums; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 31px 0 20px; }
.section-head .kicker { color: #f05a3e; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-head h2 { margin: 6px 0 0; font-size: 30px; }
.pill { padding: 8px 14px; color: #617493; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; }

/* Dashboard */
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 27px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 27px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.module-card::after { position: absolute; inset: auto 0 0; height: 4px; content: ''; background: linear-gradient(90deg, var(--hero-blue), var(--gold), var(--coral)); transform: scaleX(0); transform-origin: left; transition: .22s ease; }
.module-card:hover { transform: translateY(-5px); border-color: #b9cdec; box-shadow: 0 24px 48px rgba(25, 63, 125, .16); }
.module-card:hover::after { transform: scaleX(1); }
.module-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.module-icon { width: 70px; height: 70px; display: grid; place-items: center; color: #fff; border-radius: 20px; font-size: 30px; box-shadow: 0 12px 22px rgba(12, 31, 70, .15); }
.module-stat { text-align: right; }
.module-stat strong { display: block; color: var(--deep-navy); font-size: 36px; line-height: 1; }
.module-stat small { display: block; margin-top: 8px; color: #8090aa; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.module-card h3 { margin: 34px 0 12px; color: var(--deep-navy); font-size: 20px; text-transform: uppercase; }
.module-card p { min-height: 50px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.module-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: #0c449c; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.lower-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 20px; }
.timeline-card, .spirit-card { padding: 28px; border-radius: 27px; }
.timeline-card { background: #fff; border: 1px solid #dce6f6; box-shadow: var(--shadow); }
.timeline-heading { display: flex; align-items: center; justify-content: space-between; }
.timeline-heading small { color: #0c449c; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.timeline-heading h3 { margin: 6px 0 0; font-size: 21px; }
.timeline-heading i { color: #194fba; font-size: 27px; }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 23px; }
.timeline-item { padding: 15px; background: #f8faff; border: 1px solid #dce6f6; border-radius: 16px; }
.timeline-date { display: inline-flex; padding: 6px 8px; color: #0c449c; background: #e6eeff; border-radius: 8px; font-size: 11px; font-weight: 900; }
.timeline-item p { margin: 13px 0 0; color: #385276; font-size: 13px; font-weight: 800; line-height: 1.5; }
.spirit-card { color: #fff; background: linear-gradient(135deg, var(--hero-blue), var(--hero-blue-2)); box-shadow: 0 18px 38px rgba(12, 46, 103, .2); }
.spirit-card > i { color: var(--gold); font-size: 30px; }
.spirit-card small { display: block; margin-top: 25px; color: #c5d7f7; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.spirit-card h3 { margin: 8px 0 12px; font-size: 24px; line-height: 1.18; }
.spirit-card p { margin: 0; color: #d7e4fb; font-size: 14px; }

/* Jadual zon */
.table-card { overflow: hidden; background: #fff; border: 1px solid #dce6f6; border-radius: 27px; box-shadow: var(--shadow); }
.table-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; color: #fff; background: linear-gradient(135deg, var(--deep-navy), #12356f); border-bottom: 4px solid var(--gold); }
.table-titlebar strong { display: block; font-size: 15px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.table-titlebar small { display: block; margin-top: 5px; color: #bdd0f3; }
.table-titlebar > i { color: var(--gold); font-size: 27px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-corp { width: 100%; min-width: 760px; border-collapse: collapse; }
.table-corp th { padding: 15px 18px; color: #657795; background: #f5f8fd; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table-corp td { padding: 16px 18px; background: #fff; border-bottom: 1px solid #e5edf8; font-size: 13px; vertical-align: middle; }
.table-corp tbody tr:last-child td { border-bottom: 0; }
.table-corp tbody tr:hover td { background: #fffaf0; }
.col-number { width: 76px; }
.col-zone { width: 190px; }
.col-colour { width: 210px; }
.t-center { text-align: center !important; }
.number-cell { color: #174fae; font-size: 15px; font-weight: 900; }
.zone-name { display: flex; align-items: center; gap: 10px; font-weight: 900; text-transform: uppercase; }
.zone-dot { flex: 0 0 11px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(8, 31, 80, .16); }
.agency-name { color: #385276; font-weight: 700; }
.badge-zon { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; padding: 8px 14px; border: 2px solid rgba(255,255,255,.64); border-radius: 999px; box-shadow: 0 8px 18px rgba(8,31,80,.15); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.empty-state { padding: 54px 20px !important; color: var(--muted); text-align: center; }
.empty-state i { display: block; margin-bottom: 12px; color: #aebdd4; font-size: 34px; }

/* Halaman sukan */
.search-panel {
    position: relative;
    z-index: 5;
    display: block !important;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3ebf7;
}
.search-panel-head strong {
    display: block;
    margin-top: 4px;
    color: var(--deep-navy);
    font-size: 16px;
}
.search-panel-kicker {
    color: var(--coral);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.filter-feedback {
    flex: 0 0 auto;
    padding: 7px 12px;
    color: #174fae;
    background: #edf4ff;
    border: 1px solid #ccdcf5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}
.search-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
    align-items: end;
    gap: 14px;
}
.search-field > span {
    display: block;
    margin-bottom: 8px;
    color: #536989;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.search-field > span i { margin-right: 6px; color: #174fae; }
.search-field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--text);
    background: #f8faff;
    border: 1px solid #cfdbed;
    border-radius: 13px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-field input:focus {
    background: #fff;
    border-color: #2b64bd;
    box-shadow: 0 0 0 4px rgba(21, 87, 192, .12);
}
.reset-button {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    color: #fff;
    background: var(--deep-navy);
    border: 0;
    border-radius: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}
.reset-button:hover { background: #123d80; transform: translateY(-1px); }
.sport-card[hidden] { display: none !important; }
.filter-empty {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 36px 20px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed #b8c9e1;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}
.filter-empty[hidden] { display: none !important; }
.filter-empty > i { color: #9bb0cf; font-size: 38px; }
.filter-empty > strong { margin-top: 14px; color: var(--deep-navy); font-size: 19px; }
.filter-empty > span { margin: 7px 0 17px; font-size: 13px; }

/* Halaman venue */
.venue-search-fields {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: end;
    gap: 14px;
}
.venue-map-card {
    overflow: hidden;
    padding: 18px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 26px;
    box-shadow: var(--shadow);
}
.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.map-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #536989;
    font-size: 12px;
    font-weight: 800;
}
.map-status i { color: #1a57b1; }
.map-status[data-state="success"] i { color: #168447; }
.map-status[data-state="warning"] i { color: #e05932; }
.location-button {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(135deg, #1557c0, #173e7c);
    border: 0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.location-button:disabled { cursor: wait; opacity: .68; }
.location-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #355276;
    background: #edf4ff;
    border: 1px solid #cbdcf6;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}
.location-message[hidden] { display: none !important; }
.location-message[data-state="success"] { color: #12623b; background: #e8f8ef; border-color: #b9e6cb; }
.location-message[data-state="warning"] { color: #7a5100; background: #fff8dc; border-color: #f1d27a; }
.location-message[data-state="error"] { color: #8a2b18; background: #fff0ec; border-color: #ffc5b8; }
#venueMap {
    width: 100%;
    height: clamp(440px, 61vh, 680px);
    overflow: hidden;
    background: #e9f0fa;
    border: 1px solid #ccd9ed;
    border-radius: 19px;
    z-index: 1;
}
.venue-marker-shell,
.user-marker-shell { background: transparent; border: 0; }
.venue-marker-dot {
    position: relative;
    width: 22px;
    height: 22px;
    display: block;
    background: var(--coral);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 91, 71, .22), 0 7px 15px rgba(8, 31, 80, .25);
}
.venue-marker-dot::after {
    position: absolute;
    inset: -5px;
    content: '';
    border: 2px solid var(--coral);
    border-radius: 50%;
    animation: venueRipple 1.9s ease-out infinite;
}
@keyframes venueRipple {
    from { opacity: .8; transform: scale(.75); }
    to { opacity: 0; transform: scale(2.1); }
}
.user-marker-dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #1557c0;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(21, 87, 192, .2), 0 8px 17px rgba(8, 31, 80, .3);
    font-size: 12px;
}
.leaflet-tooltip.venue-label,
.leaflet-tooltip.user-label {
    padding: 6px 9px;
    color: #fff;
    background: var(--deep-navy);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 7px 16px rgba(8, 31, 80, .22);
    font-size: 10px;
    font-weight: 900;
}
.leaflet-tooltip.user-label { background: #1557c0; }
.leaflet-tooltip.venue-label::before,
.leaflet-tooltip.user-label::before { display: none; }
.venue-popup { min-width: 245px; color: #385276; font-family: Arial, Helvetica, sans-serif; }
.venue-popup h3 { margin: 0 0 10px; color: var(--deep-navy); font-size: 16px; line-height: 1.3; }
.venue-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 8px 10px;
    color: #fff !important;
    background: #1557c0;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
}
.venue-schedule { display: grid; gap: 5px; margin-top: 9px; padding-top: 9px; border-top: 1px solid #dce6f6; }
.venue-schedule strong { color: #12623b; font-size: 13px; text-transform: uppercase; }
.venue-schedule span { font-size: 11px; }
.venue-schedule i { width: 15px; color: #1a57b1; text-align: center; }
.venue-no-schedule { margin-top: 9px; padding-top: 9px; color: #a33c24; border-top: 1px solid #ffd0c4; font-size: 11px; font-style: italic; }

/* Halaman jadual */
.schedule-filter-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}
.print-button {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    color: #0c449c;
    background: #edf4ff;
    border: 1px solid #ccdcf5;
    border-radius: 13px;
    font-weight: 900;
    cursor: pointer;
}
.print-button:hover { color: #fff; background: #174fae; border-color: #174fae; }
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.schedule-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 365px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.schedule-card[hidden] { display: none !important; }
.schedule-card:hover { transform: translateY(-5px); border-color: #b9cdec; box-shadow: 0 24px 48px rgba(25, 63, 125, .16); }
.schedule-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    content: '';
    background: linear-gradient(90deg, var(--hero-blue), var(--gold), var(--coral));
}
.schedule-media {
    position: relative;
    flex: 0 0 165px;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #e1eaf6;
}
.schedule-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 86%;
    max-height: 138px;
    object-fit: contain;
    object-position: center;
}
.schedule-badge {
    position: absolute;
    left: 16px;
    bottom: 10px;
    max-width: calc(100% - 32px);
    overflow: hidden;
    padding: 7px 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep-navy), #173e7c);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(8, 32, 79, .2);
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.schedule-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px;
    background: rgb(252, 252, 217);
}
.schedule-body h3 { margin: 0 0 2px; color: var(--deep-navy); font-size: 18px; line-height: 1.25; text-transform: uppercase; }
.schedule-detail { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; color: #536989; font-size: 12px; line-height: 1.45; }
.schedule-detail i { margin-top: 2px; color: #1a57b1; text-align: center; }
.schedule-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    color: #385276;
    background: #fdfdf5;
    border: 1px solid #dce6f6;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
}
.schedule-meta i { color: #1a57b1; }
.schedule-actions { margin-top: auto; padding-top: 14px; border-top: 1px dashed #d6e1f0; }
.schedule-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    color: #a33c24;
    background: #fff1ed;
    border: 1px solid #ffd0c4;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}
.schedule-map-link:hover { color: #fff; background: var(--coral); border-color: var(--coral); }

/* Halaman penyelaras */
.coordinator-search-fields {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 10px;
}
.coordinator-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.coordinator-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}
.coordinator-table th {
    padding: 14px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep-navy), #173e7c);
    border-bottom: 3px solid var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.table-sort {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}
.table-sort i { color: #a9bde3; }
.table-sort.active i { color: var(--gold); }
.coordinator-table td {
    padding: 15px 18px;
    color: #385276;
    background: #fff;
    border-bottom: 1px solid #e5edf8;
    font-size: 12px;
    vertical-align: middle;
}
.coordinator-table tbody tr:nth-child(even):not(.coordinator-no-results) td { background: #f8faff; }
.coordinator-table tbody tr:hover:not(.coordinator-no-results) td { background: #fffaf0; }
.coordinator-table tbody tr:last-child td { border-bottom: 0; }
.coordinator-number { width: 80px; text-align: right !important; }
.coordinator-number-cell { color: #174fae !important; font-size: 14px !important; font-weight: 900; text-align: right; }
.coordinator-phone { width: 185px; text-align: center !important; }
.coordinator-phone-cell { text-align: center; }
.coordinator-phone-cell a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0c449c;
    font-weight: 900;
}
.coordinator-phone-cell a:hover { color: var(--coral); }
.coordinator-sport { color: var(--deep-navy); text-transform: uppercase; }
.muted-value { color: #9aabc3; }
.coordinator-table tr[hidden] { display: none !important; }
.coordinator-no-results[hidden] { display: none !important; }
.coordinator-no-results td {
    padding: 42px 20px;
    color: #6c7f9f;
    text-align: center;
}
.coordinator-no-results i { display: block; margin-bottom: 10px; color: #9bb0cf; font-size: 27px; }

/* Halaman statistik penyertaan */
.participant-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.participant-summary article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.participant-summary i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1557c0, #173e7c);
    border-radius: 14px;
    font-size: 19px;
}
.participant-summary span { color: #6c7f9f; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.participant-summary strong { color: var(--deep-navy); font-size: 27px; }
.participant-search-fields {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 10px;
}
.participant-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.participant-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
}
.participant-table thead th {
    position: static;
    padding: 13px 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep-navy), #173e7c);
    border-bottom: 3px solid var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.participant-table td {
    padding: 13px 11px;
    color: #385276;
    background: #fff;
    border-bottom: 1px solid #e5edf8;
    font-size: 12px;
    vertical-align: middle;
}
.participant-table tbody tr:nth-child(even):not(.participant-no-results) td { background: #f8faff; }
.participant-table tbody tr:hover:not(.participant-no-results) td { background: #fffaf0; }
.participant-number { width: 70px; text-align: right !important; }
.participant-number-cell { color: #174fae !important; font-size: 14px !important; font-weight: 900; text-align: right; }
.participant-sport { min-width: 210px; text-align: left !important; }
.participant-zone { width: 72px; }
.participant-total { width: 85px; }
.participant-value,
.participant-row-total { text-align: center; font-variant-numeric: tabular-nums; }
.participant-value.has-value {
    color: #0c449c;
    background: #edf4ff !important;
    font-weight: 900;
}
.participant-row-total { color: var(--deep-navy) !important; background: #fff7d6 !important; font-size: 14px !important; }
.participant-table tfoot th {
    color: var(--deep-navy);
    background: #fff4c3;
    border-top: 2px solid var(--gold);
    border-bottom: 0;
    font-size: 12px;
}
.participant-table tfoot th:first-child { text-align: right; }
.participant-table tr[hidden],
.participant-no-results[hidden] { display: none !important; }
.participant-no-results td {
    padding: 42px 20px;
    color: #6c7f9f;
    text-align: center;
}
.participant-no-results i { display: block; margin-bottom: 10px; color: #9bb0cf; font-size: 27px; }

/* Halaman keputusan dan pungutan pingat */
.medal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.medal-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    color: #385276;
    background: #fff;
    border: 1px solid #d3dff0;
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(11, 31, 58, .06);
    font-size: 12px;
    font-weight: 900;
}
.medal-tab:hover,
.medal-tab.active { color: #fff; background: linear-gradient(135deg, var(--deep-navy), #174886); border-color: transparent; }
.medal-tab.active { box-shadow: 0 12px 24px rgba(10, 42, 96, .2); }
.medal-tab.active i { color: var(--gold); }
.medal-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.medal-summary article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 17px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.medal-summary i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #f4f7fc;
    border-radius: 14px;
    font-size: 21px;
}
.medal-summary .gold i { color: #c58b08; background: #fff6d7; }
.medal-summary .silver i { color: #73829a; background: #edf1f6; }
.medal-summary .bronze i { color: #a85c2b; background: #fff0e7; }
.medal-summary .total i { color: #fff; background: linear-gradient(135deg, var(--deep-navy), #174886); }
.medal-summary span { color: #6c7f9f; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.medal-summary strong { color: var(--deep-navy); font-size: 25px; font-variant-numeric: tabular-nums; }
.medal-search-fields {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 10px;
}
.medal-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.medal-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}
.medal-table thead th {
    position: static;
    padding: 14px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep-navy), #173e7c);
    border-bottom: 3px solid var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.medal-table td {
    padding: 14px 16px;
    color: #385276;
    background: #fff;
    border-bottom: 1px solid #e5edf8;
    font-size: 12px;
    vertical-align: middle;
}
.medal-table tbody tr:nth-child(even):not(.medal-no-results) td { background: #f8faff; }
.medal-table tbody tr:hover:not(.medal-no-results) td { background: #fffaf0; }
.medal-table tbody tr:last-child td { border-bottom: 0; }
.medal-number { width: 70px; text-align: right !important; }
.medal-number-cell { color: #174fae !important; font-size: 14px !important; font-weight: 900; text-align: right; }
.medal-event { min-width: 260px; text-align: left !important; }
.medal-column { width: 180px; }
.medal-heading { display: inline-flex; align-items: center; gap: 7px; }
.medal-heading i { font-size: 17px; }
.medal-heading.gold i { color: #ffd047; }
.medal-heading.silver i { color: #d9e0eb; }
.medal-heading.bronze i { color: #e8975e; }
.medal-winners { text-align: center; }
.medal-zone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    margin: 2px;
    padding: 6px 10px;
    color: var(--zone-text);
    background: var(--zone-bg);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    box-shadow: 0 6px 12px rgba(11, 31, 58, .13);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}
.medal-empty { color: #a2b1c7; }
.medal-rank { width: 115px; }
.medal-rank-cell,
.medal-value { text-align: center; font-size: 14px !important; font-variant-numeric: tabular-nums; }
.medal-rank-cell { color: #174fae !important; }
.medal-value-gold { color: #9b6900 !important; background: #fff8dc !important; font-weight: 900; }
.medal-value-total { color: var(--deep-navy) !important; background: #edf4ff !important; }
.medal-table tr[hidden],
.medal-no-results[hidden] { display: none !important; }
.medal-no-results td {
    padding: 42px 20px;
    color: #6c7f9f;
    text-align: center;
}
.medal-no-results i { display: block; margin-bottom: 10px; color: #9bb0cf; font-size: 27px; }
.alert-message {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding: 15px 18px;
    color: #8a2b18;
    background: #fff0ec;
    border: 1px solid #ffc5b8;
    border-radius: 16px;
    font-weight: 700;
}
.alert-message i { color: var(--coral); }
.sport-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.sport-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 360px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sport-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    content: '';
    background: linear-gradient(90deg, var(--hero-blue), var(--gold), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.sport-card:hover {
    transform: translateY(-5px);
    border-color: #b9cdec;
    box-shadow: 0 24px 48px rgba(25, 63, 125, .16);
}
.sport-card:hover::after { transform: scaleX(1); }
.sport-media {
    position: relative;
    isolation: isolate;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    flex: 0 0 220px !important;
    overflow: hidden;
    display: block;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e1eaf6;
}
.sport-image-frame {
    position: absolute !important;
    inset: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}
.sport-card .sport-image-frame img,
.sport-card > .sport-media > img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}
.sport-badge {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: inline-block;
    width: auto;
    max-width: calc(100% - 32px);
    overflow: hidden;
    padding: 9px 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep-navy), #173e7c);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(8, 32, 79, .2);
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}
.sport-body {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: rgb(252, 252, 217);
}
.sport-body h3 {
    margin: 0 0 3px;
    color: var(--deep-navy);
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
}
.sport-detail {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    color: #536989;
    font-size: 12px;
    line-height: 1.45;
}
.sport-detail i { margin-top: 2px; color: #1a57b1; text-align: center; }
.sport-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #d6e1f0;
}
.sport-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    color: #0c449c;
    background: #edf4ff;
    border: 1px solid #ccdcf5;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}
.sport-action:hover { color: #fff; background: #174fae; border-color: #174fae; }
.sport-action-disabled {
    color: #8a5a00;
    background: #fff8dc;
    border-color: #efd889;
    cursor: not-allowed;
}
.sport-action-disabled:hover { color: #8a5a00; background: #fff8dc; border-color: #efd889; }
.sport-action-map { color: #a33c24; background: #fff1ed; border-color: #ffd0c4; }
.sport-action-map:hover { background: var(--coral); border-color: var(--coral); }
.empty-card {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 30px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed #bccce2;
    border-radius: 24px;
    text-align: center;
}
.empty-card i { color: #aebdd4; font-size: 38px; }
.empty-card strong { margin-top: 12px; color: var(--deep-navy); }
.empty-card span { margin-top: 6px; font-size: 13px; }
.main-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; padding: 24px 0 4px; color: #7183a1; border-top: 1px solid var(--line); font-size: 12px; }
.main-footer strong { color: #0c449c; }

/* Halaman hotel / B&B */
.hotel-hero-total {
    margin-top: 8px;
    color: var(--gold);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
.hotel-hero-meta { margin-top: 8px; color: #e7efff; font-size: 12px; font-weight: 800; }
.hotel-search-fields {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 14px;
}
.hotel-radius-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e0e9f6;
}
.hotel-radius-panel label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--deep-navy);
    font-size: 11px;
    font-weight: 900;
}
.hotel-radius-panel label i { color: #1557c0; }
.hotel-radius-panel select {
    min-height: 40px;
    padding: 0 34px 0 12px;
    color: var(--deep-navy);
    background: #fff;
    border: 1px solid #cbd8eb;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}
.hotel-radius-panel select:disabled { cursor: not-allowed; opacity: .55; }
.hotel-radius-status { color: #6a7f9f; font-size: 10px; font-weight: 800; }
.hotel-radius-status[data-state="success"] { color: #12623b; }
.hotel-radius-status[data-state="warning"] { color: #8a5a00; }
.hotel-alert[data-state="success"] { color: #12623b; background: #e8f8ef; border-color: #b9e6cb; }
.hotel-alert[data-state="success"] i { color: #168447; }
.hotel-map-card {
    overflow: hidden;
    margin-bottom: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 26px;
    box-shadow: var(--shadow);
}
#hotelMap {
    width: 100%;
    height: clamp(400px, 53vh, 600px);
    overflow: hidden;
    background: #e9f0fa;
    border: 1px solid #ccd9ed;
    border-radius: 19px;
    z-index: 1;
}
.hotel-marker-shell { background: transparent; border: 0; }
.hotel-marker-dot {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--coral);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 91, 71, .2), 0 8px 17px rgba(8, 31, 80, .28);
    font-size: 11px;
}
.hotel-marker-dot::after {
    position: absolute;
    inset: -6px;
    content: '';
    border: 2px solid var(--coral);
    border-radius: 50%;
    animation: venueRipple 1.9s ease-out infinite;
}
.leaflet-tooltip.hotel-marker-label {
    padding: 6px 9px;
    color: #fff;
    background: var(--deep-navy);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 7px 16px rgba(8, 31, 80, .22);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}
.leaflet-tooltip.hotel-marker-label::before { display: none; }
.hotel-popup { min-width: 240px; color: #385276; font-family: Arial, Helvetica, sans-serif; }
.hotel-popup h3 { margin: 0 0 7px; color: var(--deep-navy); font-size: 16px; line-height: 1.3; text-transform: uppercase; }
.hotel-popup p { margin: 0 0 9px; font-size: 11px; line-height: 1.45; }
.hotel-popup dl { display: grid; gap: 5px; margin: 0 0 10px; font-size: 11px; }
.hotel-popup dl div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 8px; }
.hotel-popup dt { color: #6a7f9f; font-weight: 800; }
.hotel-popup dd { margin: 0; color: var(--deep-navy); font-weight: 800; }
.hotel-popup-map {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: #fff !important;
    background: #1557c0;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
}
.hotel-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.hotel-table-card[hidden] { display: none !important; }
.hotel-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hotel-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    border: 1px solid #b9c9df;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}
.hotel-table th {
    padding: 14px 13px;
    color: #fff;
    background: #102f63;
    border: 1px solid #294d83;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .4px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.hotel-table td {
    padding: 13px;
    color: #4f6689;
    border: 1px solid #cbd8e9;
    font-size: 11px;
    line-height: 1.45;
    vertical-align: middle;
}
.hotel-table tbody tr:nth-child(odd) td { background: #ffffff; }
.hotel-table tbody tr:nth-child(even) td { background: #eaf2ff; }
.hotel-table tbody tr:hover td { background: #dceaff; }
.hotel-table tr[hidden] { display: none !important; }
.hotel-editable { cursor: pointer; }
.hotel-editable:focus { outline: 3px solid rgba(21, 87, 192, .25); outline-offset: -3px; }
.hotel-col-number, .hotel-row-number { width: 64px; text-align: center !important; }
.hotel-col-small { width: 75px; text-align: center !important; }
.hotel-col-distance { width: 105px; text-align: center !important; }
.hotel-col-action { width: 100px; text-align: center !important; }
.hotel-table th:nth-child(2), .hotel-table td:nth-child(2) { min-width: 360px; }
.hotel-table th:nth-child(3), .hotel-table td:nth-child(3) { min-width: 190px; }
.hotel-table th:nth-child(5), .hotel-table td:nth-child(5) { min-width: 145px; }
.hotel-table th:nth-child(6), .hotel-table td:nth-child(6) { min-width: 125px; }
.hotel-cell-center { text-align: center; }
.hotel-name { display: block; color: var(--deep-navy); font-size: 12px; text-transform: uppercase; }
.hotel-address { display: block; margin-top: 5px; color: #6e819f; font-size: 10px; }
.hotel-map-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: #a33c24;
    background: #fff1ed;
    border: 1px solid #ffd0c4;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
}
.hotel-map-button:hover { color: #fff; background: var(--coral); border-color: var(--coral); }
.hotel-unavailable { color: #9aa9be; }
.hotel-distance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 67px;
    padding: 5px 8px;
    color: #0c449c;
    background: #edf4ff;
    border: 1px solid #ccdcf5;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}
.hotel-empty { display: grid; place-items: center; min-height: 220px; color: var(--muted); text-align: center; }
.hotel-empty i { color: #aebdd4; font-size: 34px; }
.hotel-empty strong { margin-top: 12px; color: var(--deep-navy); }
.hotel-empty span { margin-top: 6px; }
.hotel-secondary-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }

@media (max-width: 1450px) {
    .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sport-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
    :root { --sidebar-width: 290px; }
    .brand { min-width: 220px; }
    .nav-link, .nav-summary { padding-inline: 10px; }
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-fields { grid-template-columns: 1fr 1fr; }
    .participant-summary { grid-template-columns: 1fr; }
    .medal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .medal-search-fields .reset-button { grid-column: auto; }
    .reset-button { grid-column: 1 / -1; }
    .hero { align-items: flex-start; flex-direction: column; }
    .clock-card { flex-basis: auto; width: 100%; }
    .lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .topbar { padding-inline: 15px; }
    .mobile-toggle { display: block; }
    .brand { min-width: 0; }
    .brand-name { display: none; }
   /*  .topnav { display: none; } */
    .user-menu span { display: none; }
    .sidebar { transform: translateX(-101%); transition: transform .25s ease; }
    body.sidebar-open { overflow: hidden; }
    body.sidebar-open .sidebar { transform: translateX(0); }
    body.sidebar-open .overlay { display: block; }
    .main { margin-left: 0; padding: calc(var(--header-height) + 18px) 18px 28px; }
    .hero { min-height: 0; padding: 30px 25px; border-radius: 25px; }
    .hero h1 { font-size: clamp(35px, 9vw, 48px); }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); }
    .table-corp th, .table-corp td { padding: 12px 13px; font-size: 11px; white-space: nowrap; }
    .search-fields { grid-template-columns: 1fr; }
    .venue-search-fields { grid-template-columns: 1fr; }
    .coordinator-search-fields { grid-template-columns: 1fr; }
    .participant-search-fields { grid-template-columns: 1fr; }
    .medal-search-fields { grid-template-columns: 1fr; }
    .hotel-search-fields { grid-template-columns: 1fr; }
    .reset-button { grid-column: auto; }
    .coordinator-search-fields .reset-button,
    .coordinator-search-fields .print-button { width: 100%; }
    .participant-search-fields .reset-button,
    .participant-search-fields .print-button { width: 100%; }
    .medal-search-fields .reset-button,
    .medal-search-fields .print-button { width: 100%; }
    .hotel-search-fields .reset-button,
    .hotel-search-fields .print-button { width: 100%; }
    .hotel-radius-panel { align-items: stretch; flex-direction: column; }
    .hotel-radius-panel select { width: 100%; }
    .schedule-filter-actions { align-items: stretch; flex-direction: column; }
    .schedule-filter-actions .reset-button,
    .schedule-filter-actions .print-button { width: 100%; }
    .map-toolbar { align-items: stretch; flex-direction: column; }
    .location-button { width: 100%; }
    #venueMap { height: 500px; }
    #hotelMap { height: 480px; }
}
@media (max-width: 560px) {
    .module-grid { grid-template-columns: 1fr; }
    .sport-grid { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: 1fr; }
    .module-card { min-height: 270px; }
    .section-head { align-items: flex-start; }
    .search-panel-head { align-items: flex-start; flex-direction: column; }
    .venue-map-card { padding: 10px; border-radius: 19px; }
    #venueMap { height: 470px; border-radius: 14px; }
    .pill { display: none; }
    .timeline-grid { grid-template-columns: 1fr; }
    .main-footer { flex-direction: column; }
    .medal-summary { grid-template-columns: 1fr; }
    .medal-tabs { display: grid; grid-template-columns: 1fr; }
    .medal-tab { justify-content: center; }
    .hotel-map-card { padding: 10px; border-radius: 19px; }
    #hotelMap { height: 440px; border-radius: 14px; }
    .hotel-secondary-actions { align-items: flex-start; flex-direction: column; }
}
@media print {
    .topbar, .sidebar, .overlay, .main-footer, .search-panel { display: none !important; }
    .main { margin: 0; padding: 0; }
    .hero { min-height: 0; padding: 20px; border: 2px solid var(--deep-navy); border-radius: 0; box-shadow: none; }
    .table-card { border-radius: 0; box-shadow: none; }
    .table-corp { min-width: auto; }
    .schedule-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .schedule-card { min-height: 0; break-inside: avoid; border-radius: 0; box-shadow: none; }
    .schedule-media { height: 110px; flex-basis: 110px; }
    .schedule-actions { display: none; }
    .coordinator-table-card { border-radius: 0; box-shadow: none; }
    .coordinator-table { min-width: 0; }
    .participant-summary { display: none; }
    .participant-table-card { border-radius: 0; box-shadow: none; }
    .participant-table { min-width: 0; }
    .participant-table th,
    .participant-table td { padding: 7px 5px; font-size: 8px; }
    .medal-tabs, .medal-summary { display: none; }
    .medal-table-card { border-radius: 0; box-shadow: none; }
    .medal-table { min-width: 0; }
    .medal-table th,
    .medal-table td { padding: 7px 6px; font-size: 8px; }
    .medal-zone-badge { min-width: 0; padding: 3px 5px; font-size: 7px; box-shadow: none; }
    .hotel-map-card, .hotel-secondary-actions { display: none !important; }
    .hotel-table-card { border-radius: 0; box-shadow: none; }
    .hotel-table { min-width: 0; }
    .hotel-table th, .hotel-table td { padding: 7px 6px; font-size: 8px; }
    .hotel-map-button { color: #000; background: transparent; border: 0; padding: 0; }
}
