/* Portal Publik Masyarakat — selaras trans-passenger Android */
.public-portal-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.25rem;
    height: 100%;
    min-height: 0;
    width: 100%;
}

.public-mobile-tabs {
    display: none;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.35rem;
    gap: 0.35rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.public-mobile-tabs::-webkit-scrollbar {
    display: none;
}

.public-mobile-tabs .mobile-tab-btn {
    flex: 1 1 0;
    min-width: 3.75rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0.4rem;
    margin: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    line-height: 1.2;
    box-shadow: none;
    outline: none;
}

.public-mobile-tabs .mobile-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.public-mobile-tabs .mobile-tab-btn:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.45);
    outline-offset: 1px;
}

.public-mobile-tabs .mobile-tab-btn i {
    font-size: 0.9rem;
    line-height: 1;
}

.public-mobile-tabs .mobile-tab-btn span {
    line-height: 1.15;
}

.public-mobile-tabs .mobile-tab-btn.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
    color: #06b6d4;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.12);
}

body.light-mode .public-mobile-tabs,
body.landing-page.light-mode .public-mobile-tabs {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .public-mobile-tabs .mobile-tab-btn,
body.landing-page.light-mode .public-mobile-tabs .mobile-tab-btn {
    color: #64748b;
}

body.light-mode .public-mobile-tabs .mobile-tab-btn:hover,
body.landing-page.light-mode .public-mobile-tabs .mobile-tab-btn:hover {
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
}

body.light-mode .public-mobile-tabs .mobile-tab-btn.active,
body.landing-page.light-mode .public-mobile-tabs .mobile-tab-btn.active {
    color: #0891b2;
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.28);
}

.public-left-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    height: 100%;
}

.public-right-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.floating-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

body.light-mode .floating-legend {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0,0,0,0.08);
    color: #0f172a;
}

.legend-toggle-icon { display: none !important; }
.legend-content { display: flex !important; flex-direction: column; gap: 0.4rem; }

.public-home-slider { position: relative; border-radius: 14px; overflow: hidden; min-height: 168px; border: 1px solid rgba(255,255,255,0.08); }
.public-slide { display: none; min-height: 168px; padding: 1rem; align-items: flex-end; }
.public-slide.active { display: flex; }
.public-slide-body { max-width: 92%; }
.public-slide-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; }
.public-slide-sub { font-size: 0.72rem; color: #cbd5e1; margin: 0 0 0.65rem; line-height: 1.4; }
.public-slide-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.public-slide-dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.25); padding: 0; cursor: pointer; }
.public-slide-dot.active { background: var(--accent-cyan, #06b6d4); }
.public-welcome-banner { padding: 0.85rem 1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(15,23,42,0.6)); border: 1px solid rgba(6,182,212,0.2); }
.public-running-ticker { overflow: hidden; white-space: nowrap; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2); border-radius: 8px; padding: 0.4rem 0.65rem; font-size: 0.72rem; color: #fbbf24; }
.public-ticker-text { display: inline-block; animation: publicTicker 18s linear infinite; }
@keyframes publicTicker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.public-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.public-stat-pill { text-align: center; padding: 0.5rem; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.public-stat-pill .val { font-weight: 800; font-size: 1.1rem; color: var(--accent-cyan); }
.public-stat-pill .lbl { font-size: 0.62rem; color: #94a3b8; text-transform: uppercase; }

.public-brand-header { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.15rem 0 0.35rem; }
.public-portal-logo { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(6,182,212,0.15)); }

.public-home-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.public-menu-card {
    display: flex; align-items: flex-start; gap: 0.55rem; width: 100%; text-align: left;
    padding: 0.65rem 0.7rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04); color: #e2e8f0; cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.public-menu-card:hover { border-color: rgba(6,182,212,0.35); background: rgba(6,182,212,0.08); transform: translateY(-1px); }
.public-menu-icon {
    flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6,182,212,0.12); color: var(--accent-cyan, #06b6d4); font-size: 0.85rem;
}
.public-menu-text { min-width: 0; }
.public-menu-title { font-size: 0.72rem; font-weight: 700; color: #f8fafc; line-height: 1.25; margin-bottom: 0.15rem; }
.public-menu-sub { font-size: 0.62rem; color: #94a3b8; line-height: 1.35; }

body.light-mode .public-menu-card { background: rgba(15,23,42,0.04); border-color: rgba(15,23,42,0.08); color: #0f172a; }
body.light-mode .public-menu-title { color: #0f172a; }
body.light-mode .public-menu-sub { color: #64748b; }

.public-announce-item { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.public-announce-item:last-child { border-bottom: none; }

#public_portal { overflow: hidden !important; }

/* Maintenance overlay */
.public-maintenance-overlay {
    position: absolute;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    text-align: center;
}
.public-maintenance-overlay .maint-icon { font-size: 2.5rem; color: #fbbf24; margin-bottom: 1rem; }
.public-maintenance-overlay h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.public-maintenance-overlay p { font-size: 0.85rem; color: #94a3b8; max-width: 360px; margin: 0 auto; }

/* Shell masyarakat — full width tanpa sidebar admin */
body.role-masyarakat-app .sidebar { display: none !important; }
body.role-masyarakat-app .app-container { grid-template-columns: 1fr !important; }
body.role-masyarakat-app .main-content { width: 100%; max-width: 100%; }
body.role-masyarakat-app .header-title h2 { font-size: 1rem; }
body.role-masyarakat-app #public_portal.view-panel.active { padding: 0.75rem; }

.masyarakat-logout-btn { display: none !important; }
body.role-masyarakat-app .masyarakat-logout-btn { display: inline-flex !important; }

.public-logout-btn {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #f87171 !important;
    white-space: nowrap;
}
.public-logout-btn:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #fca5a5 !important;
}

.public-embedded-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
}
.public-embedded-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
}
.public-embedded-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
}
body.light-mode .public-embedded-title { color: #0f172a; }

/* Portal tertanam di landing page — layout tab, bukan dashboard SPA */
.landing-portal-wrap .public-portal-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
}

.landing-portal-wrap .public-mobile-tabs {
    display: flex !important;
    flex-shrink: 0;
    margin-bottom: 0.5rem !important;
}

.landing-portal-wrap .public-left-panel {
    display: none !important;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 520px;
    overflow-y: auto;
    height: auto !important;
    padding-right: 0.35rem;
}

.landing-portal-wrap .public-left-panel.active {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
}
    display: none !important;
    flex: 1 1 auto;
    min-height: 420px;
    height: auto !important;
}

.landing-portal-wrap .public-right-panel.active {
    display: flex !important;
}

.landing-portal-wrap .public-right-panel .map-container-wrapper {
    min-height: 420px;
    flex: 1;
}

.landing-portal-wrap #publicMap,
.landing-portal-wrap .map-element {
    min-height: 420px;
    height: 100%;
    border-radius: 12px;
}

.landing-portal-wrap #publicMobileHomeSection,
.landing-portal-wrap #publicMobileBoardingSection,
.landing-portal-wrap #publicMobileTariffSection,
.landing-portal-wrap #publicMobileScheduleSection {
    display: none !important;
}

.landing-portal-wrap .public-left-panel.show-home #publicMobileHomeSection,
.landing-portal-wrap .public-left-panel.show-boarding #publicMobileBoardingSection,
.landing-portal-wrap .public-left-panel.show-tariff #publicMobileTariffSection,
.landing-portal-wrap .public-left-panel.show-schedule #publicMobileScheduleSection {
    display: block !important;
}

.landing-portal-wrap .glass-card {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}

body.landing-page.light-mode .landing-portal-wrap .glass-card {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

@media (min-width: 768px) {
    .landing-portal-wrap .public-right-panel.active .map-container-wrapper,
    .landing-portal-wrap .public-right-panel.active #publicMap {
        min-height: 480px;
    }

    .landing-portal-wrap .public-left-panel.active {
        max-height: 560px;
    }
}

body.light-mode .public-logout-btn {
    border-color: rgba(220, 38, 38, 0.35) !important;
    color: #dc2626 !important;
}

@media (min-width: 769px) {
    body.app-shell #publicMobileHomeSection,
    body.app-shell #publicMobileBoardingSection,
    body.app-shell #publicMobileTariffSection,
    body.app-shell #publicMobileScheduleSection { display: block !important; }
}

@media (max-width: 768px) {
    .public-portal-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        height: 100%;
        position: relative;
    }

    .public-mobile-tabs {
        display: flex;
        margin-bottom: 0.5rem;
    }

    .public-left-panel { display: none !important; padding-right: 0; }
    .public-left-panel.active { display: flex !important; height: calc(100% - 52px); overflow-y: auto; }
    .public-right-panel { display: none !important; }
    .public-right-panel.active { display: flex !important; height: calc(100% - 52px); }

    .public-left-panel.active #publicMobileHomeSection,
    .public-left-panel.active #publicMobileBoardingSection,
    .public-left-panel.active #publicMobileTariffSection,
    .public-left-panel.active #publicMobileScheduleSection { display: none !important; }

    .public-left-panel.active.show-home #publicMobileHomeSection { display: block !important; }
    .public-left-panel.active.show-boarding #publicMobileBoardingSection { display: block !important; }
    .public-left-panel.active.show-tariff #publicMobileTariffSection { display: block !important; }
    .public-left-panel.active.show-schedule #publicMobileScheduleSection { display: block !important; }

    .public-left-panel .glass-card { padding: 1rem; }

    .floating-legend {
        bottom: 10px !important;
        right: 10px !important;
        max-width: 220px;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.7rem !important;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }

    .legend-toggle-icon { display: inline-block !important; }
    .floating-legend.collapsed .legend-content { display: none !important; }
    .floating-legend.collapsed .legend-toggle-icon { transform: rotate(-90deg); }
    .floating-legend.collapsed .legend-header { border-bottom: none !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
}

/* Picker halte — mengganti native select (rusak di dalam overflow landing) */
.public-stop-picker {
    position: relative;
    width: 100%;
}

.public-stop-picker-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

.public-stop-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.35);
    background: rgba(0, 0, 0, 0.25);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.public-stop-picker-trigger:hover {
    border-color: rgba(6, 182, 212, 0.55);
    background: rgba(6, 182, 212, 0.06);
}

.public-stop-picker-trigger.open,
.public-stop-picker-trigger:focus-visible {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.public-stop-picker-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-stop-picker-label.is-placeholder {
    color: #94a3b8;
}

.public-stop-picker-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #06b6d4;
    transition: transform 0.2s ease;
}

.public-stop-picker-trigger.open .public-stop-picker-chevron {
    transform: rotate(180deg);
}

.public-stop-picker-panel {
    display: none;
    position: fixed;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.public-stop-picker-panel.public-stop-picker-panel--open {
    display: block;
}

.public-stop-picker-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(3, 7, 18, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.public-stop-picker-active {
    overflow: hidden;
}

#publicMobileBoardingSection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#publicMobileBoardingSection > .glass-card {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.public-stop-picker.is-open {
    position: relative;
    z-index: 2;
}

.public-stop-picker-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
}

.public-stop-picker-search {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
}

.public-stop-picker-search::placeholder {
    color: #64748b;
}

.public-stop-picker-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 0.35rem;
}

.public-stop-picker-group {
    padding: 0.45rem 0.65rem 0.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #06b6d4;
}

.public-stop-picker-item {
    display: block;
    width: 100%;
    padding: 0.55rem 0.65rem;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.public-stop-picker-item:hover,
.public-stop-picker-item:focus-visible {
    outline: none;
    background: rgba(6, 182, 212, 0.12);
    color: #fff;
}

.public-stop-picker-empty {
    margin: 0;
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}

body.landing-page.light-mode .public-stop-picker-trigger,
body.light-mode .public-stop-picker-trigger {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-color: rgba(6, 182, 212, 0.35);
}

body.landing-page.light-mode .public-stop-picker-label.is-placeholder,
body.light-mode .public-stop-picker-label.is-placeholder {
    color: #64748b;
}

body.landing-page.light-mode .public-stop-picker-panel,
body.light-mode .public-stop-picker-panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

body.landing-page.light-mode .public-stop-picker-search-wrap,
body.light-mode .public-stop-picker-search-wrap {
    border-bottom-color: rgba(15, 23, 42, 0.08);
    color: #64748b;
}

body.landing-page.light-mode .public-stop-picker-search,
body.light-mode .public-stop-picker-search {
    color: #0f172a;
}

body.landing-page.light-mode .public-stop-picker-item,
body.light-mode .public-stop-picker-item {
    color: #334155;
}

body.landing-page.light-mode .public-stop-picker-item:hover,
body.landing-page.light-mode .public-stop-picker-item:focus-visible,
body.light-mode .public-stop-picker-item:hover,
body.light-mode .public-stop-picker-item:focus-visible {
    background: rgba(6, 182, 212, 0.1);
    color: #0f172a;
}

/* Tab Tarif & Jadwal — layout + kontras mode terang landing */
#publicMobileTariffSection,
#publicMobileScheduleSection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#publicMobileTariffSection > .glass-card,
#publicMobileScheduleSection > .glass-card {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.public-tariff-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 0.85rem;
}

.public-tariff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-tariff-row:last-child {
    border-bottom: none;
}

.public-tariff-name {
    flex: 1;
    min-width: 0;
    color: #e2e8f0;
    font-weight: 500;
}

.public-tariff-price {
    flex-shrink: 0;
    font-weight: 700;
    white-space: nowrap;
}

.public-tariff-price.text-purple {
    color: #c084fc;
}

.public-departure-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.25rem;
    font-size: 0.82rem;
}

.public-departure-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-departure-item:last-child {
    border-bottom: none;
}

.public-departure-left {
    flex: 1;
    min-width: 0;
}

.public-departure-route {
    display: block;
    font-weight: 700;
    color: #f1f5f9;
    border-left: 3px solid var(--route-color, #06b6d4);
    padding-left: 0.45rem;
    line-height: 1.3;
}

.public-departure-bus {
    display: block;
    margin-top: 0.15rem;
    padding-left: 0.6rem;
    font-size: 0.72rem;
    color: #94a3b8;
}

.public-departure-right {
    flex-shrink: 0;
    text-align: right;
    min-width: 5.5rem;
}

.public-departure-time {
    display: block;
    color: #f8fafc;
    font-size: 0.82rem;
    line-height: 1.25;
}

.public-departure-status {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.public-departure-status--coming { color: #22d3ee; }
.public-departure-status--running { color: #34d399; }
.public-departure-status--cancel { color: #f87171; }
.public-departure-status--scheduled { color: #94a3b8; }

.public-portal-field,
.landing-portal-wrap .form-control-glass,
.landing-portal-wrap .form-select.form-control-glass {
    color: #e2e8f0;
}

.public-portal-field::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Landing mode terang — teks & form terbaca di kartu putih */
body.landing-page.light-mode .landing-portal-wrap .text-light {
    color: #334155 !important;
}

body.landing-page.light-mode .landing-portal-wrap .bg-dark-glass {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

body.landing-page.light-mode .landing-portal-wrap .public-tariff-row {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.landing-page.light-mode .landing-portal-wrap .public-tariff-name {
    color: #334155;
}

body.landing-page.light-mode .landing-portal-wrap .public-departure-item {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.landing-page.light-mode .landing-portal-wrap .public-departure-route {
    color: #0f172a;
}

body.landing-page.light-mode .landing-portal-wrap .public-departure-bus {
    color: #64748b;
}

body.landing-page.light-mode .landing-portal-wrap .public-departure-time {
    color: #0f172a;
}

body.landing-page.light-mode .landing-portal-wrap .public-departure-status--coming { color: #0891b2; }
body.landing-page.light-mode .landing-portal-wrap .public-departure-status--running { color: #059669; }
body.landing-page.light-mode .landing-portal-wrap .public-departure-status--cancel { color: #dc2626; }
body.landing-page.light-mode .landing-portal-wrap .public-departure-status--scheduled { color: #64748b; }

body.landing-page.light-mode .landing-portal-wrap .public-portal-field,
body.landing-page.light-mode .landing-portal-wrap .form-control-glass,
body.landing-page.light-mode .landing-portal-wrap .form-select.form-control-glass {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.landing-page.light-mode .landing-portal-wrap .public-portal-field::placeholder,
body.landing-page.light-mode .landing-portal-wrap .form-control-glass::placeholder {
    color: #64748b !important;
    opacity: 1;
}

body.landing-page.light-mode .landing-portal-wrap select.public-portal-field option,
body.landing-page.light-mode .landing-portal-wrap select.form-control-glass option {
    color: #0f172a;
    background: #fff;
}

body.landing-page.light-mode .landing-portal-wrap #publicEcardUidInput {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.landing-page.light-mode .landing-portal-wrap #publicEcardUidInput::placeholder {
    color: #64748b !important;
}

/* Dashboard staff mode terang — portal publik */
body.light-mode #public_portal .public-tariff-name,
body.light-mode #public_portal .public-departure-route,
body.light-mode #public_portal .public-departure-time {
    color: #0f172a;
}

body.light-mode #public_portal .public-departure-bus {
    color: #64748b;
}

body.light-mode #public_portal .public-tariff-row,
body.light-mode #public_portal .public-departure-item {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.light-mode #public_portal .public-portal-field,
body.light-mode #public_portal .form-control-glass,
body.light-mode #public_portal .form-select.form-control-glass,
body.light-mode #public_portal #publicEcardUidInput {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.light-mode #public_portal .public-portal-field::placeholder,
body.light-mode #public_portal .form-control-glass::placeholder,
body.light-mode #public_portal #publicEcardUidInput::placeholder {
    color: #64748b !important;
    opacity: 1;
}
