/* ==========================================================================
   Ruang Belajar - Dual View Controller (Desktop vs Mobile PWA)
   ========================================================================== */
.desktop-only-view {
}
.kolor-mobile-app-view,
.kolor-pwa-bottom-bar,
.kolor-pwa-drawer,
.kolor-pwa-drawer-backdrop,
.kolor-pwa-install-banner,
.kolor-pwa-only {
}

@media (max-width: 991px) {
    .desktop-only-view {
    }
    .kolor-mobile-app-view {
    }
    .kolor-pwa-bottom-bar {
    }
    .kolor-pwa-drawer,
    .kolor-pwa-drawer-backdrop {
    }
}

@media (min-width: 992px) {
    .desktop-only-view {
    }
    .kolor-mobile-app-view,
    .kolor-pwa-bottom-bar,
    .kolor-pwa-drawer,
    .kolor-pwa-drawer-backdrop,
    .kolor-pwa-install-banner,
    .kolor-pwa-only {
    }
}

/* ==========================================================================
   Ruang Belajar - KolorPWA Master Theme & Component System
   Inspired by Kolor Mobile PWA (Enableds)
   Responsive for Mobile (<768px), Tablet (768-1024px), and Desktop (>1024px)
   ========================================================================== */

:root {
    --kolor-primary: #1a3a6b;
    --kolor-primary-dark: #0f243e;
    --kolor-primary-glow: rgba(37, 99, 235, 0.4);
    --kolor-accent-orange: #f97316;
    
    --kolor-dock-bg: rgba(255, 255, 255, 0.98);
    --kolor-dock-border: rgba(226, 232, 240, 0.9);
    --kolor-dock-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.12);
    --kolor-text-dark: #1e293b;
    --kolor-text-muted: #64748b;
    
    --kolor-drawer-bg: #104468;
    --kolor-drawer-gradient: linear-gradient(180deg, #104468 0%, #0d2f4a 60%, #081c2d 100%);
    --kolor-drawer-text: #ffffff;
    --kolor-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* --- Mobile Navbar Clean Fixes (Prevent Collision) --- */
@media (max-width: 991px) {
    .uc-navbar-container {
        padding: 0 12px !important;
    }
    .uc-navbar {
        min-height: 60px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .uc-navbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    /* Hide colliding desktop auth buttons on mobile header */
    .uc-navbar-right #nav_login_btn,
    .uc-navbar-right .nav-login-link {
        display: none !important;
    }
    .uc-navbar-right #nav_signup_btn,
    .uc-navbar-right .btn-nav-signup {
        padding: 6px 14px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }
    
    /* Mobile Drawer Trigger Button in Navbar */
    .kolor-mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 12px !important;
        color: #ffffff !important;
        cursor: pointer;
        padding: 0 !important;
        margin-right: 6px;
        transition: background 0.2s ease;
    }
    .kolor-mobile-nav-toggle:active {
        background: rgba(255, 255, 255, 0.3) !important;
    }
}

@media (min-width: 992px) {
    .kolor-mobile-nav-toggle {
        display: none !important;
    }
}

/* --- Hide Kolor PWA UI on Desktop --- */
@media (min-width: 1025px) {
    .kolor-pwa-bottom-bar,
    .kolor-pwa-drawer,
    .kolor-pwa-drawer-backdrop,
    .kolor-pwa-install-banner,
    .kolor-pwa-only {
        display: none !important;
    }
}

/* --- Mobile & Tablet Bottom Padding --- */
@media (max-width: 1024px) {
    body {
        padding-bottom: calc(72px + var(--kolor-safe-bottom)) !important;
    }
}

/* ==========================================================================
   1. Floating Kolor Bottom Dock / Navigation Bar
   ========================================================================== */
.kolor-pwa-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + var(--kolor-safe-bottom));
    padding-bottom: var(--kolor-safe-bottom);
    background: var(--kolor-dock-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--kolor-dock-border);
    box-shadow: var(--kolor-dock-shadow);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1045;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

/* Tablet floating pill dock (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .kolor-pwa-bottom-bar {
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 540px;
        border-radius: 36px;
        border: 1px solid var(--kolor-dock-border);
        box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.22);
        height: 68px;
        padding-bottom: 0;
    }
}

/* Dock Item styling & Reset */
.kolor-dock-item,
button.kolor-dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--kolor-text-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.kolor-dock-item:active {
    transform: scale(0.92);
}
.kolor-dock-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    margin-bottom: 3px;
    transition: transform 0.2s ease, fill 0.2s ease;
}
.kolor-dock-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}
.kolor-dock-item.active {
    color: var(--kolor-primary) !important;
}
.kolor-dock-item.active svg {
    fill: var(--kolor-primary) !important;
    transform: translateY(-2px);
}

/* Center Prominent Elevated Action Button (Signature Kolor Style) */
.kolor-dock-item.kolor-dock-center {
    flex: 1;
    position: relative;
}
.kolor-dock-center-btn {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    box-shadow: 0 8px 22px -4px rgba(37, 99, 235, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transform: translateY(-16px);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    border: 3.5px solid #ffffff;
}
.kolor-dock-center-btn:active {
    transform: translateY(-10px) scale(0.92);
}
.kolor-dock-center-btn svg {
    width: 26px;
    height: 26px;
    fill: #ffffff !important;
    margin-bottom: 0 !important;
}
.kolor-dock-center span {
    margin-top: -12px;
    font-weight: 800;
    color: var(--kolor-primary);
}

/* ==========================================================================
   2. Kolor Slide-out Off-Canvas Drawer Menu (Exact Kolor Theme)
   ========================================================================== */
.kolor-pwa-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 45, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.kolor-pwa-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.kolor-pwa-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 310px;
    max-width: 86vw;
    background: var(--kolor-drawer-gradient);
    color: var(--kolor-drawer-text);
    z-index: 1055;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.kolor-pwa-drawer.active {
    transform: translateX(0);
}

/* Drawer Header with Metallic Emblem */
.kolor-drawer-header {
    padding: 36px 20px 22px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.kolor-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
}
.kolor-drawer-close:active {
    background: rgba(255, 255, 255, 0.25);
}
.kolor-drawer-emblem {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 3px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.kolor-drawer-emblem-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    padding: 6px;
}
.kolor-drawer-emblem-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.kolor-drawer-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    word-break: break-word;
}
.kolor-drawer-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.kolor-drawer-emblem-inner svg {
    width: 34px;
    height: 34px;
    fill: #22c55e;
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.8));
}
.kolor-drawer-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
    color: #ffffff;
}
.kolor-drawer-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Drawer Section Label */
.kolor-drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px 20px 8px;
}

/* Drawer Menu Items with Kolor Colorful Badges */
.kolor-drawer-nav {
    list-style: none;
    padding: 0 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.kolor-drawer-item a,
.kolor-drawer-item button {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 16px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    background: transparent !important;
    border: none !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.kolor-drawer-item a:active,
.kolor-drawer-item button:active {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(0.98);
}
.kolor-drawer-item.active a {
    background: rgba(255, 255, 255, 0.18) !important;
    font-weight: 700;
}

/* Circular Color Badges (Exact Kolor Reference) */
.kolor-icon-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.kolor-icon-badge svg {
    width: 19px;
    height: 19px;
    fill: #ffffff;
}
.kolor-icon-red { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.kolor-icon-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.kolor-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.kolor-icon-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.kolor-icon-gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.kolor-icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.kolor-icon-sky { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.kolor-icon-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.kolor-icon-slate { background: linear-gradient(135deg, #64748b, #475569); }

.kolor-drawer-label {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
}
.kolor-drawer-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin-left: 8px;
}
.kolor-drawer-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
}
.kolor-drawer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    margin-left: 8px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Drawer Footer */
.kolor-drawer-footer {
    margin-top: auto;
    padding: 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ==========================================================================
   3. PWA Install Bottom Banner
   ========================================================================== */
.kolor-pwa-install-banner {
    position: fixed;
    bottom: calc(76px + var(--kolor-safe-bottom));
    left: 14px;
    right: 14px;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    z-index: 1044;
    display: none;
    align-items: center;
    gap: 12px;
    animation: kolorSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) and (max-width: 1024px) {
    .kolor-pwa-install-banner {
        bottom: 96px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
    }
}
@keyframes kolorSlideUp {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.kolor-install-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #1a3a6b;
    padding: 5px;
    object-fit: contain;
}
.kolor-install-content { flex: 1; }
.kolor-install-title { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.kolor-install-desc { font-size: 11px; color: #64748b; line-height: 1.3; }
.kolor-install-btn {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff !important;
    border: none !important;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.kolor-install-close {
    background: transparent !important;
    border: none !important;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   DEDICATED KOLOR PWA MOBILE APP VIEW (Active on Mobile & Tablet <992px)
   ========================================================================== */
@media (max-width: 991px) {
    /* Hide bulky desktop header & sections */
    .desktop-only-view {
        display: none !important;
    }
    .kolor-mobile-app-view {
        display: block !important;
        background: #0d3b66 radial-gradient(circle at 50% 10%, #155e96 0%, #0d3b66 60%, #082440 100%);
        min-height: 100vh;
        padding-bottom: 20px;
    }
    .uc-header.header-default {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .kolor-mobile-app-view {
        display: none !important;
    }
    .desktop-only-view {
        display: block !important;
    }
}

/* Mobile App Top Header */
.kolor-app-header {
    height: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.kolor-app-header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 20px;
    cursor: pointer;
    border-radius: 12px;
    padding: 0;
}
.kolor-app-header-btn:active {
    background: #f1f5f9;
}
.kolor-app-header-btn svg {
    width: 22px;
    height: 22px;
    fill: #1e293b;
}
.kolor-app-brand-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1a3a6b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kolor-app-brand-title img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* Mobile Hero Card (Exact Kolor PWA Reference) */
.kolor-hero-card {
    position: relative;
    margin: 18px 16px 36px;
    height: 300px;
    border-radius: 26px;
    background-size: cover;
    background-position: center top;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px 32px;
    color: #ffffff;
    overflow: visible;
}
.kolor-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}
.kolor-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.kolor-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.25;
}
.kolor-hero-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.kolor-hero-cta {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 10px 22px -4px rgba(225, 29, 72, 0.55);
    white-space: nowrap;
    transition: transform 0.2s ease;
}
.kolor-hero-cta:active {
    transform: translateX(-50%) scale(0.95);
}

/* Kolor Category Quick Pills */
.kolor-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 16px 20px;
}
.kolor-quick-pill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: transform 0.15s ease, background 0.15s ease;
}
.kolor-quick-pill:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.2);
}
.kolor-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.kolor-quick-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}
.kolor-quick-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Kolor Content Card (White Card with Rounded Corners & Star) */
.kolor-app-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px;
    margin: 0 16px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.kolor-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.kolor-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.kolor-card-star {
    color: #f59e0b;
    font-size: 18px;
}
.kolor-card-body-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 18px;
}
.kolor-card-footer-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.kolor-card-footer-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.kolor-card-footer-action:hover svg,
.kolor-card-footer-action:active svg {
    transform: translateX(4px);
}

/* Event Showcase Item */
.kolor-event-badge-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.kolor-event-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
}
.kolor-event-info {
    flex: 1;
}
.kolor-event-name {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
}
.kolor-event-org {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* ─── Global Mobile Container & Navbar Hardening (PWA & Mobile) ─── */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    #wrapper, .wrap, .uc-header, .hero-header, .section-outer, .container, .section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .uc-navbar-center,
    .uc-navbar-nav,
    #navbar-menu-list {
        display: none !important;
    }
    .uc-navbar {
        min-height: 56px !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .uc-navbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .uc-navbar-left img,
    #header-logo-light,
    #header-logo-dark,
    #header-logo-img,
    .light-logo img,
    .dark-logo img {
        max-height: 36px !important;
        max-width: 160px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .uc-navbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .uc-navbar-right #btn-masuk,
    .uc-navbar-right [data-uc-navbar-toggle-icon] {
        display: none !important;
    }
    .uc-navbar-right .btn,
    .uc-navbar-right #btn-daftar,
    .uc-navbar-right #header-register-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    #hero-title, .hero-header h1, h1.display-4 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
    #hero-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}
@media (min-width: 992px) {
    #kolor-nav-hamburger,
    .kolor-mobile-nav-toggle {
        display: none !important;
    }
}


/* ==========================================================================
   ENHANCED PWA NAVIGATION & INTERACTION STYLES (MOBILE-FIRST)
   ========================================================================== */
.kolor-pwa-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(8, 28, 45, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 9990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.kolor-pwa-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.kolor-pwa-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    background: linear-gradient(180deg, #0b2545 0%, #133a68 100%) !important;
    color: #ffffff !important;
    z-index: 9995 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.45) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: auto !important;
}

.kolor-pwa-drawer.active {
    transform: translateX(0) !important;
}

.kolor-pwa-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(64px + var(--kolor-safe-bottom, 0px)) !important;
    padding-bottom: var(--kolor-safe-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 9980 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

.kolor-dock-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
}

.kolor-dock-item * {
    pointer-events: none !important;
}

.kolor-dock-item.active {
    color: #1d4ed8 !important;
}

.kolor-dock-item.active svg {
    fill: #1d4ed8 !important;
}

.kolor-quick-pill {
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}

body.pwa-drawer-open {
    overflow: hidden !important;
}


/* ==========================================================================
   KOLOR PWA V3.0.0 - BULLETPROOF SIDEBAR & DRAWER SYSTEM
   ========================================================================== */
#kolor-pwa-backdrop,
.kolor-pwa-drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 28, 45, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

#kolor-pwa-backdrop.active,
.kolor-pwa-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#kolor-pwa-drawer,
.kolor-pwa-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: linear-gradient(180deg, #0b2545 0%, #133a68 100%) !important;
    color: #ffffff !important;
    z-index: 99995 !important;
    transform: translateX(-100%) !important;
    -webkit-transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: auto !important;
}

#kolor-pwa-drawer.active,
.kolor-pwa-drawer.active {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}

#kolor-pwa-bottom-bar,
.kolor-pwa-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(64px + var(--kolor-safe-bottom, 0px)) !important;
    padding-bottom: var(--kolor-safe-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 99980 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

.kolor-dock-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
}

.kolor-dock-item * {
    pointer-events: none !important;
}

body.pwa-drawer-open {
    overflow: hidden !important;
    touch-action: none !important;
}


/* ==========================================================================
   STRICT RESPONSIVE PWA RULES: HIDE ON DESKTOP, SHOW ONLY ON MOBILE (<=991px)
   ========================================================================== */
@media (min-width: 992px) {
    #kolor-pwa-bottom-bar,
    .kolor-pwa-bottom-bar,
    #kolor-pwa-drawer,
    .kolor-pwa-drawer,
    #kolor-pwa-backdrop,
    .kolor-pwa-drawer-backdrop,
    .kolor-pwa-install-banner,
    .kolor-pwa-only,
    .kolor-mobile-app-view {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 991px) {
    #kolor-pwa-bottom-bar,
    .kolor-pwa-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(64px + var(--kolor-safe-bottom, 0px)) !important;
        padding-bottom: var(--kolor-safe-bottom, 0px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
        align-items: center !important;
        justify-content: space-around !important;
        z-index: 99980 !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    #kolor-pwa-drawer,
    .kolor-pwa-drawer {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 310px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, #0b2545 0%, #133a68 100%) !important;
        color: #ffffff !important;
        z-index: 99995 !important;
        transform: translateX(-100%) !important;
        -webkit-transform: translateX(-100%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: auto !important;
    }

    #kolor-pwa-drawer.active,
    .kolor-pwa-drawer.active {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
    }

    #kolor-pwa-backdrop,
    .kolor-pwa-drawer-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(8, 28, 45, 0.75) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        z-index: 99990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    #kolor-pwa-backdrop.active,
    .kolor-pwa-drawer-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}
