       :root {
            --bg-body: #000000;
            --bg-sidebar: #0a0a0a;
            --bg-card: #111111;
            --bg-hover: #1f1f1f;
            --border: #333333;
            --text-primary: #ffffff;
            --text-secondary: #a1a1a1;
            --text-muted: #555555;
            --accent: #3b82f6;
            --accent-hover: #2563eb;
            --accent-glow: rgba(59, 130, 246, 0.4);
            --danger: #ef4444;
            --success: #10b981;
            --magic: #8b5cf6; 
            --audio: #f59e0b;
            --doc: #ec4899; /* Warna baru untuk dokumen */
            --sidebar-width: 260px;
            --header-height: 70px;
            --radius-md: 12px;
            --bottom-nav-height: 65px;
        }

        .modal-loader-overlay {
            position: absolute; inset: 0;
            background: #000;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            z-index: 10;
        }
        .modal-progress-bg {
            width: 200px; height: 6px; background: #333;
            border-radius: 3px; margin-bottom: 10px; overflow: hidden;
        }
        .modal-progress-fill {
            height: 100%; width: 0%; background: var(--accent);
            transition: width 0.1s linear;
        }
        .modal-progress-text { font-size: 14px; color: var(--text-secondary); font-family: 'Outfit', sans-serif; }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-primary);
            overflow-x: hidden;
            height: 100vh;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-body); }
        ::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 10px; }

        .hidden { display: none !important; }
        .fade-in { animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
        }
        .btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 15px var(--accent-glow); }
        .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
        
        .btn-magic { background: var(--magic); color: white; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); }
        .btn-magic:hover { background: #7c3aed; transform: translateY(-1px); }

        .btn-health { background: #059669; color: white; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
        .btn-health:hover { background: #047857; }

        .btn-loading {
            pointer-events: none;
            opacity: 0.8;
            position: relative;
            color: transparent !important;
        }
        .btn-loading::after {
            content: "";
            position: absolute;
            width: 18px; height: 18px;
            border: 2px solid white;
            border-top-color: transparent;
            border-radius: 50%;
            animation: btnSpin 0.8s linear infinite;
            left: 50%; top: 50%;
            margin-left: -9px; margin-top: -9px;
        }
        @keyframes btnSpin { to { transform: rotate(360deg); } }

        .btn-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid var(--danger); }
        .btn-danger:hover { background: var(--danger); color: white; }
        .btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid var(--border); }
        .btn-secondary:hover { background: rgba(255,255,255,0.2); }
        
        .btn-icon {
            width: 32px; height: 32px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            color: white; border: none; cursor: pointer;
            transition: 0.2s;
        }
        .btn-icon:hover { background: var(--accent); }

        .filter-group { display: flex; gap: 10px; margin-bottom: 20px; }
        .filter-btn {
            background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary);
            padding: 8px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; transition: 0.2s;
        }
        .filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
        .filter-btn:hover:not(.active) { background: var(--bg-hover); color: white; }

        .login-container {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), 
                        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .login-box {
            background: rgba(20, 20, 20, 0.6);
            backdrop-filter: blur(25px);
            padding: 50px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            width: 90%;
            max-width: 420px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.8);
        }

        .btn-google {
            background: white; color: #000;
            width: 100%; justify-content: center;
            padding: 14px; margin-top: 30px;
            font-weight: 600; font-size: 15px;
            border-radius: 30px;
            transition: transform 0.2s;
        }
        .btn-google:hover { transform: scale(1.02); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }

        .dashboard-container { display: flex; height: 100vh; overflow: hidden; }

        .sidebar {
            width: var(--sidebar-width);
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border);
            display: flex; flex-direction: column;
            z-index: 50;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sidebar-header {
            height: var(--header-height);
            display: flex; align-items: center;
            padding: 0 24px;
            font-family: 'Outfit', sans-serif;
            font-size: 22px;
            font-weight: 700;
            color: white;
            border-bottom: 1px solid var(--border);
        }

        .nav-links { padding: 20px 12px; flex: 1; }
        .nav-item {
            width: 100%; padding: 12px 16px; margin-bottom: 4px;
            color: var(--text-secondary); background: transparent;
            border: none; border-radius: 8px; cursor: pointer;
            text-align: left; display: flex; align-items: center; gap: 12px;
            font-size: 15px; transition: all 0.2s;
        }
        .nav-item:hover { background: var(--bg-hover); color: white; }
        .nav-item.active { background: var(--bg-hover); color: var(--accent); font-weight: 600; border-left: 3px solid var(--accent); }
        .nav-item.active i { color: var(--accent); }

        .storage-info {
            padding: 24px;
            background: #0f0f0f;
            border-top: 1px solid var(--border);
        }

        .main-content {
            flex: 1; display: flex; flex-direction: column;
            background: var(--bg-body); position: relative; overflow: hidden;
        }

        .main-header {
            height: var(--header-height);
            display: flex; align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            border-bottom: 1px solid var(--border);
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 40;
            transition: transform 0.3s ease;
        }

        .search-bar {
            position: relative; max-width: 500px; width: 100%; margin: 0 20px;
        }
        .search-input {
            width: 100%; background: var(--bg-hover);
            border: 1px solid transparent;
            padding: 12px 16px 12px 45px;
            border-radius: 8px; color: white;
            font-family: inherit; font-size: 14px;
        }
        .search-input:focus { outline: none; border-color: var(--border); background: #1a1a1a; }
        .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

        .bottom-nav {
            display: none; 
            position: fixed; bottom: 0; left: 0; right: 0;
            height: var(--bottom-nav-height);
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            border-top: 1px solid var(--border);
            z-index: 100;
            justify-content: space-around;
            align-items: center;
            padding-bottom: 5px; 
            transition: transform 0.3s ease;
        }
        
        .bottom-nav-item {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            color: var(--text-secondary); background: none; border: none;
            font-size: 10px; gap: 4px; width: 100%; height: 100%; cursor: pointer;
        }
        .bottom-nav-item i { font-size: 20px; margin-bottom: 2px; transition: 0.2s; }
        .bottom-nav-item.active { color: var(--accent); }
        .bottom-nav-item.active i { transform: translateY(-2px); }

        /* Dropup Menu for Mobile */
        .mobile-dropup-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.8);
            z-index: 99; display: none; opacity: 0; transition: opacity 0.2s;
        }
        .mobile-dropup-overlay.show { display: block; opacity: 1; }
        .mobile-dropup-menu {
            position: fixed; bottom: var(--bottom-nav-height); right: 10px;
            width: 200px; background: var(--bg-card);
            border: 1px solid var(--border); border-radius: 12px;
            padding: 8px; transform: translateY(20px); opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 101; pointer-events: none;
        }
        .mobile-dropup-menu.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
        
        .dropup-item {
            display: flex; align-items: center; gap: 12px;
            padding: 12px; width: 100%; text-align: left;
            background: none; border: none; color: var(--text-primary);
            font-size: 14px; border-radius: 8px; cursor: pointer;
        }
        .dropup-item:hover { background: var(--bg-hover); }
        .dropup-item i { width: 20px; text-align: center; }

        .user-profile-container { position: relative; }
        .user-profile {
            display: flex; align-items: center; gap: 10px;
            padding: 6px 12px; background: var(--bg-hover);
            border-radius: 30px; cursor: pointer; transition: 0.2s;
            border: 1px solid transparent;
        }
        .user-profile:hover, .user-profile.active { background: #2a2a2a; border-color: var(--border); }
        .user-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
        
        .dropdown-menu {
            position: absolute; top: 120%; right: 0;
            width: 200px; background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px; padding: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            display: none; z-index: 100;
            animation: slideDown 0.2s ease;
        }
        .dropdown-menu.show { display: block; }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        .dropdown-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; width: 100%; background: none; border: none;
            color: var(--text-secondary); text-align: left;
            cursor: pointer; border-radius: 6px; font-size: 14px;
        }
        .dropdown-item:hover { background: var(--bg-hover); color: white; }
        .dropdown-item.danger { color: var(--danger); }
        .dropdown-item.danger:hover { background: rgba(239, 68, 68, 0.1); }

        .content-wrapper { flex: 1; overflow-y: auto; padding: 24px; padding-bottom: 100px; }
        
        .gallery-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 16px; margin-top: 20px;
        }
        .gallery-item {
            background: var(--bg-card); border-radius: 12px;
            overflow: hidden; border: 1px solid var(--border);
            transition: transform 0.2s, border-color 0.2s;
            position: relative; aspect-ratio: 1;
        }
        .gallery-item:hover { transform: translateY(-4px); border-color: var(--accent); }
        .media-container { width: 100%; height: 100%; position: relative; }
        .media-container img, .media-container video {
            width: 100%; height: 100%; object-fit: cover; cursor: pointer;
        }
        /* Style untuk Audio Placeholder */
        .audio-placeholder {
            width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #222, #111);
            color: var(--audio); font-size: 40px; cursor: pointer;
        }
        .doc-placeholder {
            width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #222, #111);
            color: var(--doc); font-size: 40px; cursor: pointer;
        }
        .audio-placeholder i, .doc-placeholder i { margin-bottom: 10px; }

        .file-overlay {
            position: absolute; bottom: 0; left: 0; right: 0;
            padding: 40px 12px 12px;
            background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
            opacity: 0; transition: 0.3s; pointer-events: none;
            display: flex; flex-direction: column; justify-content: flex-end;
            z-index: 2;
        }
        .gallery-item:hover .file-overlay { opacity: 1; pointer-events: auto; }
        .file-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; font-weight: 500; }
        .file-size-badge { font-size: 10px; color: var(--text-secondary); background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; align-self: flex-start; }

        .img-loading-overlay {
            position: absolute; inset: 0;
            background: #111;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            z-index: 1;
        }
        .mini-progress-bar-bg {
            width: 60%; height: 4px; background: #333;
            border-radius: 2px; margin-bottom: 5px; overflow: hidden;
        }
        .mini-progress-bar-fill {
            height: 100%; width: 0%; background: var(--accent);
            transition: width 0.2s;
        }
        .loading-percent-text { font-size: 10px; color: var(--text-secondary); }

        .fab-wrapper {
            position: fixed; bottom: 30px; right: 30px;
            z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
            transition: transform 0.3s ease;
        }
        
        .fab-main {
            width: 56px; height: 56px; border-radius: 16px;
            background: var(--accent); color: white; border: none;
            box-shadow: 0 4px 20px var(--accent-glow);
            font-size: 24px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.2s;
        }
        .fab-main:hover { transform: scale(1.05) rotate(90deg); }

        .fab-menu {
            display: flex; flex-direction: column; gap: 10px;
            margin-bottom: 5px; opacity: 0; transform: translateY(20px); pointer-events: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .fab-menu.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

        .fab-item {
            display: flex; align-items: center; gap: 10px;
            background: var(--bg-card); color: white;
            padding: 10px 16px; border-radius: 12px;
            border: 1px solid var(--border);
            cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: 0.2s;
        }
        .fab-item:hover { background: var(--bg-hover); transform: translateX(-5px); }

        .upload-progress-container {
            position: fixed; top: 80px; right: 20px; width: 300px;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 12px; padding: 16px;
            z-index: 200; display: none;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            animation: slideInRight 0.3s;
        }
        .upload-progress-container.show { display: block; }
        @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

        .progress-bar-bg {
            height: 8px; width: 100%; background: #333;
            border-radius: 4px; overflow: hidden; margin-top: 8px;
        }
        .progress-bar-fill {
            height: 100%; width: 0%; background: var(--accent);
            transition: width 0.3s ease;
            background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
            background-size: 1rem 1rem;
            animation: progress-bar-stripes 1s linear infinite;
        }
        @keyframes progress-bar-stripes { from { background-position: 1rem 0; } to { background-position: 0 0; } }

        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.95);
            backdrop-filter: blur(10px); z-index: 2000;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: 0.3s;
            padding: 20px;
        }
        .modal.show { opacity: 1; visibility: visible; }
        
        .modal-content {
            background: var(--bg-card); width: 100%; max-width: 800px;
            border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
            animation: zoomIn 0.3s; display: flex; flex-direction: column;
            max-height: 90vh;
        }
        @keyframes zoomIn { from { transform: scale(0.95); } to { transform: scale(1); } }
        
        .preview-body {
            background: black; flex: 1; display: flex; align-items: center; justify-content: center;
            overflow: hidden; position: relative; min-height: 200px; /* Adjusted for audio */
        }
        .preview-media { max-width: 100%; max-height: 60vh; object-fit: contain; }

        .modal-actions {
            padding: 16px; background: var(--bg-card); border-top: 1px solid var(--border);
            display: grid; grid-template-columns: 1fr; gap: 10px;
        }
        
        .modal-btn-row {
            display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%;
        }
        
        .modal-actions.read-only #btn-edit,
        .modal-actions.read-only #btn-delete,
        .modal-actions.read-only #btn-analyze {
            display: none !important;
        }

        /* --- STYLES UNTUK ANIMASI KESEHATAN --- */
        .scan-overlay {
            position: absolute; inset: 0;
            background: rgba(0,0,0,0.8);
            z-index: 20;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
        }
        .scan-line {
            width: 100%; height: 2px;
            background: var(--success);
            box-shadow: 0 0 15px var(--success), 0 0 5px white;
            position: absolute; top: 0; left: 0;
            animation: scanMove 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }
        @keyframes scanMove { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
        
        .health-status-box {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid var(--success);
            padding: 20px; border-radius: 12px;
            text-align: center; backdrop-filter: blur(10px);
            animation: popIn 0.3s;
            max-width: 80%;
        }
        @keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        
        .health-percent { font-size: 40px; font-weight: 700; color: var(--success); margin: 10px 0; font-family: 'Outfit'; }
        .scan-text { font-family: monospace; color: var(--success); font-size: 12px; margin-top: 10px; }
        
        .log-list { max-height: 400px; overflow-y: auto; text-align: left; }
        .log-item { 
            padding: 10px; border-bottom: 1px solid var(--border); font-size: 12px; 
            display: flex; justify-content: space-between; align-items: center; 
        }
        .log-item:last-child { border-bottom: none; }
        .badge { padding: 3px 6px; border-radius: 4px; font-size: 10px; font-weight: bold; }
        .badge-safe { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid var(--success); }
        .badge-warn { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }
        /* -------------------------------------- */

        .custom-alert-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 4000;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: 0.2s;
            backdrop-filter: blur(5px);
        }
        .custom-alert-overlay.show { opacity: 1; visibility: visible; }
        .custom-alert-box {
            background: #151515; width: 90%; max-width: 350px;
            padding: 25px; border-radius: 20px; border: 1px solid var(--border);
            text-align: center; transform: scale(0.8); transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
        }
        .custom-alert-overlay.show .custom-alert-box { transform: scale(1); }
        .alert-icon-box {
            width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 15px;
            display: flex; align-items: center; justify-content: center; font-size: 24px;
            border: 2px solid;
        }
        .alert-icon-box.success { border-color: var(--success); color: var(--success); }
        .alert-icon-box.error { border-color: var(--danger); color: var(--danger); }
        .alert-icon-box.warning { border-color: #f59e0b; color: #f59e0b; }
        .alert-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: white; }
        .alert-message { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
        .alert-btn-group { display: flex; gap: 10px; justify-content: center; }
        .alert-btn { flex: 1; padding: 10px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; }
        .alert-btn.confirm { background: var(--accent); color: white; }
        .alert-btn.cancel { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }

        .toast {
            position: fixed; bottom: 30px; left: 30px;
            background: #1f1f1f; color: white;
            padding: 14px 20px; border-radius: 10px;
            display: flex; align-items: center; gap: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            border: 1px solid var(--border);
            transform: translateY(100px); opacity: 0;
            transition: all 0.3s; z-index: 5000;
        }
        .toast.show { transform: translateY(0); opacity: 1; }

        .loading-spinner {
            display: inline-block; width: 30px; height: 30px;
            border: 3px solid rgba(255,255,255,0.1);
            border-radius: 50%; border-top-color: var(--accent);
            animation: spin 1s ease-in-out infinite; margin: 20px auto;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* --- WEB ENGINE STYLES --- */
        .web-card-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        .web-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.2s ease;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        .web-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .web-card-cover {
            height: 160px;
            width: 100%;
            object-fit: cover;
            border-bottom: 1px solid var(--border);
            background: #222;
        }
        .web-card-body {
            padding: 16px;
            flex: 1;
        }
        .web-card-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
            color: white;
            display: block;
            text-decoration: none;
        }
        .web-card-link {
            font-size: 12px;
            color: var(--text-secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
        }
        .web-card-actions {
            position: absolute;
            top: 10px;
            right: 10px;
            display: flex;
            gap: 8px;
            opacity: 0;
            transition: 0.2s;
        }
        .web-card:hover .web-card-actions { opacity: 1; }
        .action-btn-mini {
            width: 30px; height: 30px;
            border-radius: 50%;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(5px);
            color: white;
            border: 1px solid rgba(255,255,255,0.2);
            display: flex; align-items: center; justify-content: center;
            font-size: 12px;
            cursor: pointer;
        }
        .action-btn-mini:hover { background: var(--accent); border-color: var(--accent); }
        .action-btn-mini.delete:hover { background: var(--danger); border-color: var(--danger); }

        /* Fullscreen Web View Overlay */
        .web-view-overlay {
            position: fixed; inset: 0;
            background: #000;
            z-index: 9999;
            display: flex; flex-direction: column;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .web-view-overlay.active { transform: translateY(0); }
        .web-view-header {
            height: 50px;
            background: #111;
            display: flex; align-items: center;
            padding: 0 15px;
            border-bottom: 1px solid var(--border);
            justify-content: space-between;
        }
        .web-view-frame {
            flex: 1; width: 100%; border: none; background: white;
        }
        
        .web-form-group { margin-bottom: 15px; }
        .web-form-label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
        .web-form-input {
            width: 100%; background: #1a1a1a; border: 1px solid var(--border);
            color: white; padding: 10px; border-radius: 8px; font-family: inherit;
        }
        .web-form-input:focus { border-color: var(--accent); outline: none; }

        @media (max-width: 768px) {
            .sidebar { display: none !important; } /* Sidebar hilang di mobile */
            .mobile-menu-btn { display: none; } /* Hamburger tidak dibutuhkan karena ada bottom nav */
            
            /* Tampilkan Search Bar di Header Mobile */
            .search-bar { 
                display: block !important; 
                margin: 0; 
                flex: 1; 
                margin-right: 15px; 
            }
            .page-title { display: none; } /* Sembunyikan judul halaman di mobile agar search muat */
            
            .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .fab-wrapper { bottom: 90px; right: 20px; } 
            .bottom-nav { display: flex; }
            .content-wrapper { padding: 16px; padding-bottom: 120px; }
            
            .modal-content { max-height: 95vh; margin: 0; border-radius: 12px; }
            .preview-media { max-height: 50vh; }
            .modal-btn-row { gap: 8px; }
            .modal-actions { gap: 8px; }
            .web-card-actions { opacity: 1; top: auto; bottom: 10px; right: 10px; }
        }