        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :root {
            --primary: #6366f1;
            --secondary: #7c3aed;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --pink: #ec4899;
            --cyan: #06b6d4;
            --purple: #a855f7;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
            min-height: 100vh;
            overscroll-behavior: none;
            -webkit-overflow-scrolling: touch;
            padding-bottom: env(safe-area-inset-bottom);
        }

        /* ===== STATUS BAR ===== */
        .status-bar {
            display: none;
            /* Hidden as requested */
        }

        /* ===== APP BAR ===== */
        .app-bar {
            position: fixed;
            top: 0;
            /* Changed from 24px to 0 */
            left: 0;
            right: 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            z-index: 9998;
            padding: 16px;
        }

        .app-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
        }

        .app-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-wrap {
            width: 42px;
            height: 42px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }

        .title-text h1 {
            font-size: 19px;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        .title-text p {
            font-size: 12px;
            opacity: 0.9;
        }

        .admin-btn {
            width: 42px;
            height: 42px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            color: white;
            font-size: 18px;
        }

        .admin-btn:active {
            transform: scale(0.9);
            background: rgba(255, 255, 255, 0.3);
        }

        /* ===== MAIN CONTENT ===== */
        .main-content {
            margin-top: 62px;
            /* Only app bar, status bar removed */
            padding: 16px;
            padding-bottom: 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== SECTION ===== */
        .section {
            margin-bottom: 24px;
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .badge-count {
            background: var(--danger);
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 10px;
            margin-left: 6px;
        }

        /* ===== ANNOUNCEMENT CARDS (ENHANCED) ===== */
        .announcement-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .announcement-card {
            background: white;
            border-radius: 20px;
            padding: 16px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            border-left: 5px solid transparent;
            position: relative;
            overflow: hidden;
            animation: slideInLeft 0.5s ease-out;
            animation-fill-mode: both;
            z-index: 1;
            pointer-events: auto;
            -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
            user-select: none;
            -webkit-user-select: none;
        }

        .announcement-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .announcement-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .announcement-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .announcement-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .announcement-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .announcement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            z-index: -1;
        }

        .announcement-card:hover::before {
            opacity: 1;
        }

        .announcement-card:hover {
            transform: translateX(4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .announcement-card:active {
            transform: scale(0.98);
        }

        .announcement-card.high {
            border-left-color: var(--danger);
            background: linear-gradient(to right, #fee2e2 0%, white 10%);
        }

        .announcement-card.medium {
            border-left-color: var(--warning);
            background: linear-gradient(to right, #fef3c7 0%, white 10%);
        }

        .announcement-card.low {
            border-left-color: var(--primary);
            background: linear-gradient(to right, #dbeafe 0%, white 10%);
        }

        .announcement-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .priority-badge {
            padding: 5px 12px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .priority-badge.high {
            background: #fee2e2;
            color: var(--danger);
        }

        .priority-badge.medium {
            background: #fef3c7;
            color: var(--warning);
        }

        .priority-badge.low {
            background: #dbeafe;
            color: var(--primary);
        }

        .announcement-date {
            font-size: 12px;
            color: #94a3b8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .announcement-title {
            font-size: 16px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .announcement-excerpt {
            font-size: 14px;
            color: #64748b;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .announcement-footer {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .read-more {
            font-size: 13px;
            color: var(--primary);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ===== PHOTO SLIDER ===== */
        .photo-slider {
            position: relative;
            height: 220px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            margin-top: 0;
            transition: margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* animation: zoomIn 0.6s ease-out; */
            /* Removed for smoother UX on refresh */
        }

        /* Add spacing when maintenance banner is visible */
        .photo-slider.with-banner {
            margin-top: 90px;
        }

        .slider-wrapper {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            height: 100%;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            position: relative;
            background-size: cover;
            background-position: center;
        }

        .slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
        }

        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            color: white;
            z-index: 10;
        }

        .slide-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 6px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .slide-desc {
            font-size: 13px;
            opacity: 0.95;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        }

        .slider-controls {
            position: absolute;
            bottom: 16px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 8px;
            z-index: 20;
        }

        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s;
        }

        .slider-dot.active {
            width: 24px;
            border-radius: 4px;
            background: white;
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.3s;
            color: #1e293b;
        }

        .slider-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .slider-nav:active {
            transform: translateY(-50%) scale(0.95);
        }

        .slider-nav.prev {
            left: 12px;
        }

        .slider-nav.next {
            right: 12px;
        }

        /* ===== MARQUEE TICKER ===== */
        .marquee-ticker {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            padding: 14px 0;
            overflow: hidden;
            position: relative;
            margin-top: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
        }

        .marquee-content {
            display: flex;
            white-space: nowrap;
            animation: marquee 8s linear infinite;
            /* Re-enabled per user request */
        }

        .marquee-text {
            color: white;
            font-size: 15px;
            font-weight: 600;
            padding: 0 40px;
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }

        .marquee-text i {
            font-size: 18px;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }


        /* ===== QUICK STATS ===== */
        .stats-container {
            background: white;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        }

        .quick-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .stat-box {
            background: white;
            border-radius: 16px;
            padding: 14px 8px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: bounceIn 0.6s ease-out;
            animation-fill-mode: both;
        }

        .stat-box:nth-child(1) {
            animation-delay: 0.1s;
        }

        .stat-box:nth-child(2) {
            animation-delay: 0.2s;
        }

        .stat-box:nth-child(3) {
            animation-delay: 0.3s;
        }

        .stat-box:nth-child(4) {
            animation-delay: 0.4s;
        }

        .stat-box:active {
            transform: scale(0.95);
        }

        .stat-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            animation: pulse 2s ease-in-out infinite;
        }

        .stat-icon.blue {
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
        }

        .stat-icon.green {
            background: linear-gradient(135deg, var(--success), #059669);
        }

        .stat-icon.pink {
            background: linear-gradient(135deg, var(--pink), #f472b6);
        }

        .stat-icon.orange {
            background: linear-gradient(135deg, var(--warning), #fb923c);
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 11px;
            color: #64748b;
            font-weight: 600;
            line-height: 1.3;
        }


        /* ===== MENU GRID (Simple Clean Style) ===== */
        .menu-container {
            background: white;
            border-radius: 16px;
            padding: 20px 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .menu-section-title {
            font-size: 16px;
            font-weight: 700;
            color: #010f25ff;
            margin: 0 0 16px 0;
            padding: 0;
        }

        .menu-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px 12px;
        }

        .menu-item {
            background: transparent;
            border-radius: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            position: relative;
        }

        .menu-item:active {
            transform: scale(0.95);
        }

        .menu-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            background: transparent;
            box-shadow: none;
            transition: all 0.2s;
            position: relative;
        }

        /* Icon colors - softer tones */
        .menu-icon.blue {
            color: #6366f1;
        }

        .menu-icon.green {
            color: #10b981;
        }

        .menu-icon.pink {
            color: #ec4899;
        }

        .menu-icon.orange {
            color: #f59e0b;
        }

        .menu-icon.cyan {
            color: #06b6d4;
        }

        .menu-icon.purple {
            color: #a855f7;
        }

        .menu-icon.red {
            color: #ef4444;
        }


        .menu-label {
            font-size: 11px;
            font-weight: 500;
            color: #64748b;
            text-align: center;
            line-height: 1.2;
        }


        /* ===== LOGIN BUTTON HEADER (Top Right) ===== */
        .login-btn-header {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .login-btn-header:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.05);
        }

        .login-btn-header:active {
            transform: scale(0.95);
        }

        /* ===== MODAL DETAIL PENGUMUMAN (FIXED!) ===== */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            z-index: 10000;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.show {
            display: flex !important;
            opacity: 1;
        }

        .modal-overlay[style*="flex"] {
            display: flex !important;
            opacity: 1;
        }


        /* Modal Wrapper - contains content and close button */
        .modal-wrapper {
            position: relative;
            background: white;
            border-radius: 24px;
            padding: 32px;
            width: 90%;
            max-width: 600px;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px) scale(0.95);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Close Button - Top Right Corner */
        .modal-close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f1f5f9;
            border: none;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .modal-close-btn:hover {
            background: #ef4444;
            color: white;
            transform: rotate(90deg);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }

        .modal-close-btn:active {
            transform: rotate(90deg) scale(0.9);
        }

        /* Modal Content Inner */
        .modal-content-inner {
            /* Content styles are defined by JavaScript-injected HTML */
        }

        .modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            color: #64748b;
            font-size: 20px;
            flex-shrink: 0;
        }

        .modal-close:hover {
            background: #e2e8f0;
            transform: rotate(90deg);
        }

        .modal-title {
            font-size: 22px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 16px;
            line-height: 1.4;
            padding-right: 40px;
        }

        .modal-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f1f5f9;
        }

        .modal-body {
            font-size: 15px;
            color: #475569;
            line-height: 1.8;
        }

        .modal-body p {
            margin-bottom: 16px;
        }

        /* ===== LOGIN BOTTOM SHEET ===== */
        .bottom-sheet {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 28px 28px 0 0;
            padding: 28px 24px;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 10001;
            max-height: 85vh;
            overflow-y: auto;
            max-width: 600px;
            margin: 0 auto;
        }

        .bottom-sheet.show {
            transform: translateY(0);
        }

        .sheet-handle {
            width: 40px;
            height: 5px;
            background: #e2e8f0;
            border-radius: 3px;
            margin: 0 auto 24px;
        }

        .sheet-header {
            text-align: center;
            margin-bottom: 32px;
        }

        .sheet-icon {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
            margin-bottom: 16px;
        }

        .sheet-title {
            font-size: 26px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 6px;
        }

        .sheet-subtitle {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
        }

        /* Login Type Toggle */
        .login-type-toggle {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 24px;
            background: #f1f5f9;
            padding: 4px;
            border-radius: 12px;
        }

        .toggle-option {
            padding: 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            font-size: 14px;
            color: #64748b;
            background: transparent;
        }

        .toggle-option i {
            font-size: 16px;
        }

        .toggle-option.active {
            background: white;
            color: #6366f1;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
        }

        .toggle-option:not(.active):hover {
            color: #1e293b;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            margin-bottom: 8px;
        }

        .form-input-wrap {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 16px 16px 16px 48px;
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            font-size: 15px;
            transition: all 0.3s;
            background: #f8fafc;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .form-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 18px;
        }

        .form-hint {
            font-size: 12px;
            color: #64748b;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .btn-submit {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
        }

        .btn-submit:active {
            transform: scale(0.98);
        }

        /* ===== ANIMATIONS ===== */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }

            50% {
                opacity: 1;
                transform: scale(1.05);
            }

            70% {
                transform: scale(0.9);
            }

            100% {
                transform: scale(1);
            }
        }

        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.5);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        @keyframes pulseScale {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
            }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 374px) {
            .menu-grid {
                gap: 10px;
            }

            .menu-item {
                padding: 14px 8px;
            }

            .menu-icon {
                width: 48px;
                height: 48px;
                font-size: 24px;
            }
        }

        /* ===== MOBILE RESPONSIVE FOR SWAL MODALS ===== */
        @media (max-width: 768px) {

            /* Reduce SweetAlert2 modal padding and sizes for mobile */
            .swal2-popup {
                width: 95% !important;
                max-width: 400px !important;
                padding: 16px !important;
                font-size: 13px !important;
            }

            .swal2-title {
                font-size: 18px !important;
                padding: 8px 0 !important;
            }

            .swal2-html-container {
                font-size: 13px !important;
                max-height: 60vh !important;
                overflow-y: auto !important;
            }

            .swal2-confirm {
                font-size: 14px !important;
                padding: 10px 24px !important;
            }

            /* Reduce spacing in modal content */
            .swal2-html-container div[style*="padding: 20px"] {
                padding: 12px !important;
            }

            .swal2-html-container div[style*="padding: 18px"] {
                padding: 12px !important;
            }

            .swal2-html-container div[style*="padding: 15px"] {
                padding: 10px !important;
            }

            .swal2-html-container div[style*="margin-bottom: 20px"] {
                margin-bottom: 12px !important;
            }

            .swal2-html-container div[style*="margin-bottom: 15px"] {
                margin-bottom: 10px !important;
            }

            /* Reduce font sizes */
            .swal2-html-container div[style*="font-size: 18px"] {
                font-size: 16px !important;
            }

            .swal2-html-container div[style*="font-size: 16px"] {
                font-size: 14px !important;
            }

            .swal2-html-container div[style*="font-size: 15px"] {
                font-size: 13px !important;
            }

            .swal2-html-container div[style*="font-size: 14px"] {
                font-size: 12px !important;
            }

            /* Adjust icon sizes in modal headers */
            .swal2-html-container i.fas {
                font-size: 0.9em !important;
            }

            /* Make grid layouts single column on very small screens */
            .swal2-html-container div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
                gap: 8px !important;
            }

            /* Reduce height of placeholder boxes */
            .swal2-html-container div[style*="padding: 80px"] {
                padding: 40px 15px !important;
            }

            /* === LOGIN BOTTOM SHEET MOBILE === */
            .bottom-sheet {
                padding: 20px 16px !important;
                border-radius: 20px 20px 0 0 !important;
                max-height: 90vh !important;
            }

            .sheet-header {
                margin-bottom: 20px !important;
            }

            .sheet-icon {
                width: 56px !important;
                height: 56px !important;
                font-size: 24px !important;
                margin-bottom: 12px !important;
            }

            .sheet-title {
                font-size: 20px !important;
                margin-bottom: 4px !important;
            }

            .sheet-subtitle {
                font-size: 13px !important;
            }

            .login-type-toggle {
                margin-bottom: 16px !important;
            }

            .toggle-option {
                padding: 10px 8px !important;
                font-size: 13px !important;
            }

            .form-group {
                margin-bottom: 16px !important;
            }

            .form-label {
                font-size: 13px !important;
                margin-bottom: 6px !important;
            }

            .form-input {
                padding: 12px 12px 12px 40px !important;
                font-size: 14px !important;
            }

            .form-icon {
                left: 12px !important;
                font-size: 16px !important;
            }

            .form-hint {
                font-size: 11px !important;
                margin-top: 4px !important;
            }

            .btn-submit {
                padding: 14px !important;
                font-size: 15px !important;
            }
        }

        @media (max-width: 480px) {

            /* Extra small screens - more aggressive reduction */
            .swal2-popup {
                width: 98% !important;
                max-width: 360px !important;
                padding: 12px !important;
            }

            .swal2-title {
                font-size: 16px !important;
            }

            .swal2-html-container {
                font-size: 12px !important;
                max-height: 55vh !important;
            }

            /* Make all grids single column */
            .swal2-html-container div[style*="grid-template-columns: repeat(2, 1fr)"],
            .swal2-html-container div[style*="grid-template-columns: repeat(3, 1fr)"] {
                grid-template-columns: 1fr !important;
                gap: 6px !important;
            }

            /* Reduce padding even more */
            .swal2-html-container div[style*="padding: 12px"] {
                padding: 8px !important;
            }

            .swal2-html-container div[style*="padding: 10px"] {
                padding: 6px !important;
            }

            /* Reduce border radius for compact look */
            .swal2-html-container div[style*="border-radius: 12px"] {
                border-radius: 8px !important;
            }

            /* Extra compact login sheet */
            .bottom-sheet {
                padding: 16px 12px !important;
            }

            .sheet-icon {
                width: 48px !important;
                height: 48px !important;
                font-size: 20px !important;
            }

            .sheet-title {
                font-size: 18px !important;
            }

            .form-input {
                padding: 10px 10px 10px 36px !important;
                font-size: 13px !important;
            }

            .btn-submit {
                padding: 12px !important;
                font-size: 14px !important;
            }
        }


        font-size: 24px;
        }
        }

        /* ===== PWA INSTALL BANNER (ELEGANT & SIMPLE) ===== */
        .pwa-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 10001;
            display: none;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .pwa-overlay.show {
            display: block;
            opacity: 1;
        }

        .pwa-install-banner {
            display: none;
            background: white;
            padding: 24px;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            z-index: 10002;
            overflow: hidden;
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            width: 90%;
            max-width: 340px;
            /* Compact size for mobile */
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .pwa-install-banner.show {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Elegant gradient accent */
        .pwa-install-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
            border-radius: 22px 22px 0 0;
        }

        /* Subtle background decoration */
        .pwa-install-banner::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -50px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .banner-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f1f5f9;
            border: none;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            z-index: 10;
        }

        .banner-close:hover {
            background: #fee2e2;
            color: #ef4444;
            transform: rotate(90deg);
        }

        .banner-close:active {
            transform: rotate(90deg) scale(0.9);
        }

        .banner-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 16px;
            position: relative;
            z-index: 1;
            margin-bottom: 24px;
        }

        .banner-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: white;
            flex-shrink: 0;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
            padding: 14px;
            animation: none !important;
            transform: none !important;
        }

        .banner-icon img {
            animation: none !important;
            transform: none !important;
        }

        @keyframes floatIcon {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-8px);
            }
        }

        .banner-text {
            flex: 1;
        }

        .banner-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.3;
        }

        .banner-subtitle {
            font-size: 14px;
            color: #64748b;
            line-height: 1.6;
            font-weight: 500;
        }

        .banner-benefits {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
            flex-wrap: wrap;
        }

        .benefit-item {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
            padding: 10px 16px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #6366f1;
            border: 1px solid rgba(99, 102, 241, 0.1);
            transition: all 0.3s;
        }

        .benefit-item:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
        }

        .benefit-item i {
            font-size: 16px;
        }

        .btn-install {
            width: 100%;
            padding: 18px 24px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        .btn-install::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }

        .btn-install:hover::before {
            left: 100%;
        }

        .btn-install:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
        }

        .btn-install:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
        }

        /* Login Button */
        .login-btn {
            width: 100% !important;
            padding: 16px 24px !important;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
            color: white !important;
            border: none !important;
            border-radius: 16px !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px !important;
            margin-top: 32px !important;
            margin-bottom: 8px !important;
            position: relative !important;
            z-index: 10 !important;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
        }

        .login-btn:active {
            transform: translateY(0) scale(0.98);
        }

        .login-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Large Login Modal */
        .login-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: white;
            border-radius: 24px;
            width: 90%;
            max-width: 500px;
            max-height: 85vh;
            overflow-y: auto;
            padding: 32px;
            padding-bottom: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            z-index: 10001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Ensure scrollbar styling */
        .login-modal::-webkit-scrollbar {
            width: 8px;
        }

        .login-modal::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }

        .login-modal::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
        }

        .login-modal::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        .login-modal.show {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .login-modal-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f1f5f9;
        }

        .login-modal-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
        }

        .login-modal-title {
            font-size: 24px;
            font-weight: 800;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .login-modal-subtitle {
            font-size: 14px;
            color: #64748b;
        }

        /* Login Type Toggle */
        .login-type-toggle {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
            padding: 6px;
            background: #f1f5f9;
            border-radius: 12px;
        }

        .toggle-option {
            flex: 1;
            padding: 12px 16px;
            border-radius: 8px;
            text-align: center;
            font-weight: 600;
            font-size: 14px;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .toggle-option.active {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .toggle-option:hover:not(.active) {
            background: #e2e8f0;
            color: #475569;
        }

        /* Form Styling in Modal */
        .login-modal .form-group {
            margin-bottom: 20px;
        }

        .login-modal .form-label {
            display: block;
            font-weight: 600;
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .login-modal .form-input-wrap {
            position: relative;
        }

        .login-modal .form-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
        }

        .login-modal .form-input {
            width: 100%;
            padding: 14px 16px 14px 48px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 15px;
            transition: all 0.3s ease;
            background: #f8fafc;
        }

        .login-modal .form-input:focus {
            outline: none;
            border-color: #6366f1;
            background: white;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .login-modal .form-hint {
            font-size: 12px;
            color: #64748b;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .banner-note {
            text-align: center;
            font-size: 12px;
            color: #94a3b8;
            margin-top: 14px;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }

        /* ===== HERO WELCOME ===== */
        .hero-welcome {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
            border-radius: 20px;
            padding: 24px;
            text-align: center;
            margin-bottom: 24px;
            animation: fadeInUp 0.6s ease-out;
        }

        .hero-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: white;
            margin-bottom: 16px;
            animation: bounceIn 1s ease-out;
        }

        .hero-title {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .hero-subtitle {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 16px;
            line-height: 1.6;
        }

        .hero-features {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .hero-features span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: #059669;
            background: rgba(16, 185, 129, 0.1);
            padding: 6px 14px;
            border-radius: 20px;
        }

        .hero-features i {
            font-size: 14px;
        }

        /* ===== ADDITIONAL ANIMATIONS ===== */
        @keyframes pulseButton {

            0%,
            100% {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            }

            50% {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
            }
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes fadeInUp {
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
        }

        .swal2-title {
            font-size: 22px !important;
            font-weight: 700 !important;
            color: #1e293b !important;
            padding: 0 !important;
            margin-bottom: 16px !important;
        }

        .swal2-html-container {
            font-size: 15px !important;
            color: #475569 !important;
            line-height: 1.7 !important;
            margin: 0 !important;
        }

        .swal2-confirm {
            border-radius: 16px !important;
            padding: 12px 32px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3) !important;
            transition: all 0.3s ease !important;
        }

        .swal2-confirm:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
        }

        .swal2-confirm:active {
            transform: translateY(0) !important;
        }

        .swal2-cancel {
            border-radius: 16px !important;
            padding: 12px 32px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
        }

        .swal2-close {
            border-radius: 12px !important;
            width: 40px !important;
            height: 40px !important;
            font-size: 24px !important;
            transition: all 0.3s ease !important;
        }

        .swal2-close:hover {
            background: #fee2e2 !important;
            color: #ef4444 !important;
            transform: rotate(90deg) !important;
        }

        /* Toast notifications */
        .swal2-toast {
            border-radius: 16px !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
        }

        /* Icon styling */
        .swal2-icon {
            border-radius: 50% !important;
        }

        /* Input fields in modals */
        .swal2-input,
        .swal2-textarea {
            border-radius: 12px !important;
            border: 2px solid #e2e8f0 !important;
            padding: 12px 16px !important;
            font-size: 15px !important;
            transition: all 0.3s ease !important;
        }

        .swal2-input:focus,
        .swal2-textarea:focus {
            border-color: #6366f1 !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
        }

        /* Progress bar */
        .swal2-timer-progress-bar {
            border-radius: 0 0 24px 24px !important;
        }

        /* ===== ENHANCED MENU ITEMS ===== */
        .menu-item:hover .menu-icon {
            transform: scale(1.15) !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        /* ===== ENHANCED CARDS ===== */
        .announcement-card,
        .menu-container,
        .stats-container {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .announcement-card:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
        }

        /* ===== SMOOTH SCROLLBAR ===== */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
        }

        /* ===== ENHANCED BUTTONS ===== */
        button,
        .btn,
        .button {
            border-radius: 14px !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        button:hover,
        .btn:hover,
        .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        button:active,
        .btn:active,
        .button:active {
            transform: translateY(0);
        }