:root {
            --bg-obsidian: #07080a;
            --bg-panel-dark: rgba(16, 18, 24, 0.92);
            --bg-workspace: #f4f6f9;
            --bg-card-light: #ffffff;
            --bg-input-light: #ffffff;
            --text-dark-primary: #0f172a;
            --text-dark-secondary: #475569;
            --silver-bright: #f8fafc;
            --silver-metallic: #94a3b8;
            --silver-border-dark: rgba(226, 232, 240, 0.22);
            --silver-border-light: #cbd5e1;
            --silver-glow: 0 0 18px rgba(226, 232, 240, 0.28);
        }

        * {
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-obsidian);
            color: var(--silver-bright);
            font-family: 'Plus Jakarta Sans', sans-serif;
            min-height: 100vh;
            margin: 0;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            position: relative;
        }

        /* ========================================================
           LATAR BELAKANG HITAM DENGAN GARIS ABSTRAK SILVER BERKILAU
           (Untuk Login Screen, Navbar, Sidebar & Footer)
           ======================================================== */
        .silver-abstract-bg {
            position: fixed;
            inset: 0;
            z-index: -1;
            background: radial-gradient(circle at 18% 15%, #171b24 0%, #07080a 58%, #040507 100%);
            overflow: hidden;
            pointer-events: none;
        }

        .silver-abstract-bg svg {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0.78;
        }

        .silver-line-glow {
            stroke-dasharray: 1200;
            stroke-dashoffset: 1200;
            animation: traceSilver 9s ease-in-out infinite alternate;
            filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65));
        }

        .silver-line-glow-delay {
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: traceSilver 12s ease-in-out 2s infinite alternate;
            filter: drop-shadow(0 0 8px rgba(203, 213, 225, 0.55));
        }

        @keyframes traceSilver {
            0% { stroke-dashoffset: 900; opacity: 0.35; }
            50% { opacity: 0.95; }
            100% { stroke-dashoffset: 0; opacity: 0.45; }
        }

        /* ========================================================
           KARTU LOGIN GELAP & GARIS PEMISAH
           ======================================================== */
        .card-login-dark {
            background: var(--bg-panel-dark);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--silver-border-dark);
            border-radius: 16px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }

        .silver-divider-dark {
            height: 1px;
            border: none;
            background: linear-gradient(90deg, transparent, rgba(241, 245, 249, 0.55), transparent);
            margin: 1.15rem 0;
        }

        .text-silver-gradient {
            background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 55%, #94a3b8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* ========================================================
           AREA ISI MENU (MAIN WORKSPACE PUTIH BERSIH)
           ======================================================== */
        .main-workspace-light {
            background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
            color: var(--text-dark-primary);
            border-top-left-radius: 18px;
            box-shadow: inset 0 2px 12px rgba(15, 23, 42, 0.04);
            position: relative;
        }

        @media (max-width: 991.98px) {
            .main-workspace-light {
                border-top-left-radius: 0;
            }
        }

        .card-futuristic {
            background: var(--bg-card-light);
            border: 1px solid #dce3ec;
            border-radius: 14px;
            color: var(--text-dark-primary);
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);
            position: relative;
            overflow: hidden;
        }

        /* Aksen garis kilau silver tipis di bagian atas kartu putih */
        .card-futuristic::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #94a3b8 0%, #e2e8f0 50%, #64748b 100%);
        }

        .silver-divider {
            height: 1px;
            border: none;
            background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
            margin: 1.15rem 0;
        }

        .workspace-heading {
            color: #0f172a;
            letter-spacing: -0.01em;
        }

        /* ========================================================
           FORM CONTROLS (LOGIN GELAP vs WORKSPACE PUTIH)
           ======================================================== */
        #loginScreen .form-control,
        #loginScreen .form-select {
            background-color: #0c0e13 !important;
            border: 1px solid var(--silver-border-dark);
            color: #f8fafc !important;
            border-radius: 8px;
            font-size: 0.92rem;
        }

        #loginScreen .form-control:focus,
        #loginScreen .form-select:focus {
            border-color: rgba(248, 250, 252, 0.5);
            box-shadow: var(--silver-glow);
        }

        .main-workspace-light .form-control,
        .main-workspace-light .form-select,
        #modalEditComment .form-control {
            background-color: var(--bg-input-light) !important;
            border: 1px solid #cbd5e1;
            color: #0f172a !important;
            border-radius: 8px;
            font-size: 0.92rem;
            transition: all 0.2s ease;
        }

        .main-workspace-light .form-control:focus,
        .main-workspace-light .form-select:focus,
        #modalEditComment .form-control:focus {
            border-color: #475569;
            box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
        }

        .main-workspace-light .form-control:disabled,
        .main-workspace-light .form-control[readonly] {
            background-color: #f1f5f9 !important;
            color: #64748b !important;
            border-style: dashed;
            border-color: #cbd5e1;
            cursor: not-allowed;
        }

        /* ========================================================
           BUTTONS METALIK SILVER & DARK OBSIDIAN
           ======================================================== */
        .btn-silver {
            background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 48%, #94a3b8 100%);
            color: #07080a;
            font-weight: 700;
            border: none;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(226, 232, 240, 0.25);
            transition: all 0.25s ease;
        }

        .btn-silver:hover {
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            color: #000000;
            box-shadow: 0 0 22px rgba(255, 255, 255, 0.55);
            transform: translateY(-1px);
        }

        .main-workspace-light .btn-silver {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
            color: #f8fafc;
            border: 1px solid #475569;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
        }

        .main-workspace-light .btn-silver:hover {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            color: #ffffff;
            box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
            transform: translateY(-1px);
        }

        .btn-outline-silver {
            border: 1px solid rgba(226, 232, 240, 0.42);
            color: #e2e8f0;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .main-workspace-light .btn-outline-silver {
            border: 1px solid #94a3b8;
            color: #334155;
            background: #ffffff;
        }

        .main-workspace-light .btn-outline-silver:hover {
            background: #f1f5f9;
            color: #0f172a;
            border-color: #475569;
        }

        /* ========================================================
           TOP NAVBAR & SIDEBAR FUTURISTIK (HITAM & SILVER)
           ======================================================== */
        .navbar-imi {
            background: rgba(10, 12, 16, 0.96);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--silver-border-dark);
            height: 64px;
            z-index: 1030;
        }

        .app-wrapper {
            display: flex;
            flex: 1;
            min-height: calc(100vh - 64px);
        }

        .sidebar-imi {
            width: 272px;
            background: rgba(10, 12, 17, 0.97);
            border-right: 1px solid var(--silver-border-dark);
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .sidebar-imi .nav-link {
            color: var(--silver-metallic);
            padding: 0.68rem 1rem;
            border-radius: 8px;
            margin: 2px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.92rem;
            font-weight: 500;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .sidebar-imi .nav-link:hover,
        .sidebar-imi .nav-link.active {
            color: #ffffff;
            background: linear-gradient(90deg, rgba(241, 245, 249, 0.16) 0%, rgba(241, 245, 249, 0.03) 100%);
            border-left: 3px solid #f8fafc;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
        }

        .sidebar-submenu .nav-link {
            font-size: 0.86rem;
            padding: 0.48rem 0.85rem;
        }

        @media (max-width: 991.98px) {
            .sidebar-imi {
                position: fixed;
                top: 64px;
                bottom: 0;
                left: 0;
                z-index: 1025;
                transform: translateX(-100%);
            }
            .sidebar-imi.show-mobile {
                transform: translateX(0);
                box-shadow: 10px 0 30px rgba(0,0,0,0.85);
            }
        }

        /* ========================================================
           TABEL MODERN ZEBRA & DATATABLES (LATAR PUTIH BERSIH)
           ======================================================== */
        .table-futuristic {
            --bs-table-bg: #ffffff;
            --bs-table-color: #1e293b;
            --bs-table-striped-bg: #f8fafc;
            --bs-table-hover-bg: #eef2f6;
            border-color: #e2e8f0;
            font-size: 0.88rem;
        }

        .table-futuristic thead th {
            background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
            color: #0f172a;
            text-transform: uppercase;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            border-bottom: 2px solid #cbd5e1;
            padding: 0.85rem 0.75rem;
        }

        .dataTables_wrapper .dataTables_filter label {
            color: #334155;
            font-weight: 600;
            font-size: 0.85rem;
        }

        .dataTables_wrapper .dataTables_filter input {
            background-color: #ffffff !important;
            border: 1px solid #cbd5e1 !important;
            color: #0f172a !important;
            border-radius: 8px;
            padding: 0.35rem 0.75rem;
            margin-left: 0.5rem;
        }

        .dataTables_wrapper .dataTables_info {
            color: #475569;
            font-size: 0.84rem;
            font-weight: 500;
            padding-top: 0.85rem;
        }

        .page-link {
            background-color: #ffffff;
            border-color: #cbd5e1;
            color: #334155;
        }

        .page-link:hover {
            background-color: #f1f5f9;
            color: #0f172a;
        }

        .page-item.active .page-link {
            background: linear-gradient(135deg, #0f172a, #334155);
            border-color: #0f172a;
            color: #ffffff;
            font-weight: 700;
        }

        /* ========================================================
           RICH HTML EDITOR TOOLBAR (TINYMCE-STYLE LIGHT)
           ======================================================== */
        .rich-editor-container {
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            overflow: hidden;
            background: #ffffff;
        }

        .rich-toolbar {
            background: #f1f5f9;
            border-bottom: 1px solid #cbd5e1;
            padding: 0.45rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            align-items: center;
        }

        .rich-toolbar .btn-tool {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            color: #1e293b;
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            font-size: 0.82rem;
            transition: 0.15s;
        }

        .rich-toolbar .btn-tool:hover,
        .rich-toolbar .btn-tool.active {
            background: #0f172a;
            color: #ffffff;
            border-color: #0f172a;
        }

        .rich-toolbar select.tool-select {
            background: #ffffff;
            color: #1e293b;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0.24rem 0.4rem;
            font-size: 0.8rem;
        }

        .rich-canvas {
            min-height: 260px;
            max-height: 450px;
            overflow-y: auto;
            padding: 1rem;
            background: #ffffff;
            color: #0f172a;
            outline: none;
            font-size: 0.95rem;
            line-height: 1.65;
        }

        .rich-canvas table {
            width: 100%;
            border-collapse: collapse;
            margin: 0.75rem 0;
        }

        .rich-canvas table td, .rich-canvas table th {
            border: 1px solid #94a3b8;
            padding: 6px 10px;
        }

        .rich-source-textarea {
            width: 100%;
            min-height: 260px;
            background: #0f172a;
            color: #38bdf8;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.84rem;
            border: none;
            padding: 1rem;
            outline: none;
        }

        /* ========================================================
           FOOTER PORTAL LINKS (HITAM & SILVER)
           ======================================================== */
        .footer-imi {
            background: rgba(8, 9, 13, 0.98);
            border-top: 1px solid var(--silver-border-dark);
            margin-top: auto;
        }

        .portal-link {
            color: var(--silver-metallic);
            text-decoration: none;
            font-size: 0.82rem;
            padding: 0.35rem 0.65rem;
            border-radius: 6px;
            border: 1px solid transparent;
            transition: all 0.2s ease;
        }

        .portal-link:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
        }

        .toast-container {
            z-index: 1090;
        }

        /* ========================================================
           WIDGET VERIFIKASI "SAYA BUKAN ROBOT" (DARK SILVER THEME)
           ======================================================== */
        .captcha-box-dark {
            background: linear-gradient(145deg, rgba(16, 19, 27, 0.95) 0%, rgba(9, 11, 16, 0.98) 100%);
            border: 1px solid rgba(226, 232, 240, 0.25);
            border-radius: 10px;
            padding: 0.75rem 0.9rem;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition: all 0.25s ease;
        }

        .captcha-box-dark.verified {
            border-color: rgba(52, 211, 153, 0.65);
            box-shadow: 0 0 16px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .captcha-box-dark.error-shake {
            border-color: rgba(248, 113, 113, 0.85);
            animation: captchaShake 0.36s ease-in-out;
        }

        @keyframes captchaShake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-6px); }
            50% { transform: translateX(6px); }
            75% { transform: translateX(-4px); }
        }

        .captcha-check-btn {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 2px solid #cbd5e1;
            background: rgba(255, 255, 255, 0.03);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
            padding: 0;
        }

        .captcha-check-btn:hover {
            border-color: #ffffff;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
        }

        .captcha-check-btn.is-verified {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-color: #34d399;
            color: #ffffff;
        }