/* governance.css — consolidated (P7, content unchanged). */
:root {
        --primary: #1a365d;
        --primary-light: #2d3748;
        --primary-dark: #0f172a;
        --accent: #4299e1;
        --accent-light: #63b3ed;
        --accent-secondary: #38b2ac;
        --oil-color: #e53e3e;
        --gas-color: #3182ce;
        --bg-light: #f7fafc;
        --bg-white: #ffffff;
        --text-dark: #2d3748;
        --text-medium: #4a5568;
        --text-light: #718096;
        --border: #e2e8f0;
        --shadow: rgba(0, 0, 0, 0.08);
        --shadow-hover: rgba(0, 0, 0, 0.12);
    }

    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 0;
    }

    .tab-navigation {
        display: inline-flex;
        background: #f8f9fa;
        border-radius: 50px;
        padding: 5px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
    }
    .tab-btn {
        display: inline-flex;
        align-items: center;
        padding: 12px 30px;
        font-size: 16px;
        font-weight: 600;
        color: #4a5568;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }
    .tab-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(135deg, #1a365d, #4299e1);
        transition: width 0.3s ease;
        z-index: -1;
    }
    .tab-btn:hover {
        color: #fff;
        transform: translateY(-2px);
    }
    .tab-btn:hover::before {
        width: 100%;
    }
    .tab-btn.active {
        color: #fff;
        background: linear-gradient(135deg, #1a365d, #4299e1);
        box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
    }
    .tab-btn i {
        font-size: 14px;
        margin-right: 8px;
    }

    .minimal-card {
        background: var(--bg-white);
        border: none;
        box-shadow: 0 4px 20px var(--shadow);
        position: relative;
        overflow: hidden;
        border-radius: 12px;
    }
    .minimal-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-secondary));
    }

    .minimal-main-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary);
        letter-spacing: -0.025em;
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
    }
    .minimal-main-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px;
    }
    .minimal-text {
        line-height: 1.7;
        color: var(--text-medium);
        text-align: justify;
        font-size: 1.05rem;
        font-weight: 400;
        margin: 0;
    }

    .paragraph-container {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
    }
    .paragraph-container:hover {
        background: var(--bg-light);
        transform: translateX(5px);
    }
    .paragraph-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.25rem;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
        transition: all 0.3s ease;
        margin-top: 0.25rem;
    }
    .paragraph-container:hover .paragraph-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 16px rgba(66, 153, 225, 0.4);
    }
    .paragraph-text-wrapper {
        flex: 1;
        min-width: 0;
    }

    .oil-gas-icon {
        position: relative;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--oil-color), var(--gas-color));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
        transition: all 0.3s ease;
    }
    .oil-gas-icon i {
        position: absolute;
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    .oil-gas-icon .fa-fire {
        top: 8px;
        left: 8px;
        color: #fed7d7;
        font-size: 0.9rem;
    }
    .oil-gas-icon .fa-gas-pump {
        bottom: 8px;
        right: 8px;
        color: #bee3f8;
        font-size: 0.9rem;
    }
    .paragraph-container:hover .oil-gas-icon {
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
    }

    .minimal-commitment {
        background: linear-gradient(135deg, var(--bg-light) 0%, #edf2f7 100%);
        border-radius: 16px;
        border-left: none;
        position: relative;
        overflow: hidden;
        padding: 2rem !important;
        text-align: center;
    }
    .minimal-commitment::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary), var(--accent));
    }
    .commitment-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.75rem;
        margin: 0 auto 1.5rem;
        box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
        animation: float 3s ease-in-out infinite;
    }
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    .minimal-subtitle {
        color: var(--primary);
        font-weight: 600;
        font-size: 1.3rem;
        margin: 0;
        line-height: 1.5;
    }

    .minimal-principle-item {
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 2.5rem 1.5rem 1.5rem;
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .minimal-principle-item:hover {
        transform: translateY(-8px);
        border-color: var(--accent-light);
        box-shadow: 0 15px 30px var(--shadow-hover);
    }
    .minimal-principle-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        transition: all 0.4s ease;
        box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
    }
    .minimal-principle-item:hover .minimal-principle-icon {
        transform: scale(1.1) rotate(5deg);
        background: linear-gradient(135deg, var(--primary-dark), var(--accent));
        box-shadow: 0 6px 16px rgba(66, 153, 225, 0.4);
    }
    .minimal-principle-content h5 {
        color: var(--primary);
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }
    .minimal-principle-content h5::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s ease;
    }
    .minimal-principle-item:hover .minimal-principle-content h5::after {
        width: 50px;
    }
    .minimal-principle-text {
        color: var(--text-medium);
        line-height: 1.7;
        font-size: 0.95rem;
        text-align: justify;
        margin: 0;
        flex: 1;
    }
    .minimal-principle-number {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 3rem;
        font-weight: 800;
        color: #f1f5f9;
        line-height: 1;
        z-index: 1;
        transition: all 0.3s ease;
    }
    .minimal-principle-item:hover .minimal-principle-number {
        color: #e2e8f0;
        transform: scale(1.05);
    }

    .minimal-closing-content {
        background: linear-gradient(135deg, var(--bg-light) 0%, #edf2f7 100%);
        border-left: none;
        position: relative;
        overflow: hidden;
        padding: 2rem 2rem 2rem 6rem !important;
    }
    .minimal-closing-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary), var(--accent));
    }
    .closing-icon {
        position: absolute;
        top: 50%;
        left: 2rem;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 4px 12px rgba(56, 178, 172, 0.4);
        z-index: 2;
    }
    .closing-text-wrapper {
        position: relative;
        z-index: 1;
    }

    .pdf-viewer-container {
        width: 100%;
        height: 800px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
        margin: 0 auto;
        position: relative;
    }
    .pdf-pages-container {
        width: 100%;
        height: 100%;
        overflow: auto;
        position: relative;
        background: #525659;
        cursor: grab;
        scroll-behavior: auto;
    }
    .pdf-pages-container.grabbing {
        cursor: grabbing;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .page-container {
        padding: 10px;
        display: flex;
        justify-content: center;
        position: relative;
        margin: 0 auto;
        min-width: min-content;
        align-items: flex-start;
        width: fit-content;
    }
    .pdf-page {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        max-width: none;
        height: auto;
        display: block;
        position: relative;
        z-index: 1;
        cursor: grab;
    }
    .pdf-page.grabbing {
        cursor: grabbing;
    }
    .canvas-blurred {
        filter: blur(10px);
        -webkit-filter: blur(10px);
    }
    .watermark-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
        z-index: 50;
    }
    .watermark-image {
        max-width: 60%;
        max-height: 60%;
        opacity: 0.8;
        object-fit: contain;
    }

    .blur-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: auto;
        z-index: 100;
        background: transparent;
    }
    .blur-content {
        background: white;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        max-width: 180px;
    }

    .controls {
        background: #f8f9fa;
        padding: 10px;
        border-bottom: 1px solid #dee2e6;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .navigation {
        display: flex;
        gap: 5px;
    }
    .page-info {
        font-size: 14px;
        font-weight: 500;
    }
    .zoom-controls {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .zoom-btn {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .zoom-btn:hover {
        background: #e9ecef;
    }
    .zoom-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    .zoom-display {
        font-size: 14px;
        min-width: 80px;
        text-align: center;
        font-weight: 500;
    }

    .password-form-card {
        border: none !important;
        border-radius: 12px !important;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease;
    }
    .password-header {
        background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
        color: white !important;
        padding: 20px !important;
        border-bottom: none !important;
    }
    .password-header h5 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }
    .password-header i {
        margin-right: 10px;
    }
    .password-body {
        padding: 25px !important;
        background: #f8f9fa;
    }
    .password-input-group {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }

    .password-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        flex: 1;
    }
    .password-input {
        flex: 1;
        padding: 12px 45px 12px 15px;
        border: 2px solid  #3498db;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: white;
    }
    .password-input:focus {
        border-color: #27ae60;
        box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
        outline: none;
    }
    .password-input.error {
        border-color: #e74c3c !important;
        background-color: #fdf2f2;
    }
    .password-toggle-btn {
        position: absolute;
        right: 12px;
        background: none;
        border: none;
        cursor: pointer;
        color: #718096;
        padding: 4px;
        z-index: 10;
    }
    .password-toggle-btn:hover {
        color: var(--text-dark);
    }

    .btn-unlock {
        background: linear-gradient(135deg, #f9a826, #f8c471) !important;
        color: #2c3e50 !important;
        border: none !important;
        padding: 10px 20px !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 6px rgba(249, 168, 38, 0.2) !important;
        flex: 1;
    }
    .btn-unlock:hover {
        background: linear-gradient(135deg, #f8c471, #f9a826) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 8px rgba(249, 168, 38, 0.3) !important;
    }
    .unlock-btn {
        background: #28a745 !important;
        color: white !important;
        border: none !important;
        padding: 8px 16px !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        font-size: 12px !important;
        touch-action: manipulation;
    }
    .logout-btn {
        background: #dc3545 !important;
        color: white !important;
        border: none !important;
        padding: 6px 12px !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        font-size: 12px !important;
        margin-left: 10px;
    }
    .note-header {
        padding: 10px 15px;
        background: rgba(52, 152, 219, 0.08);
        border-radius: 8px;
        border-left: 4px solid #3498db;
    }
    .contact-link {
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white !important;
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
        white-space: nowrap;
    }
    .contact-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
        color: white !important;
        text-decoration: none;
    }
    .pdf-action-buttons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px;
        background: #f8f9fa;
        border-top: 1px solid #dee2e6;
        gap: 10px;
    }

    .alert {
        padding: 10px;
        border-radius: 4px;
        margin-bottom: 10px;
        font-size: 14px;
    }
    .alert-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    .alert-danger {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    .alert-warning {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }
    .alert-info {
        background: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }
    .loading {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
        color: #6c757d;
    }

    .badge-success {
        background: #d4edda !important;
        color: #000000 !important;
        border: 1px solid #c3e6cb;
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        white-space: nowrap;
        flex-shrink: 0;
        max-width: 100%;
        text-align: center;
        line-height: 1.4;
    }

    .badge-info {
        background: #f8d7da !important;
        color: #000000 !important;
        border: 1px solid #f5c6cb;
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        font-weight: 500 !important;
        white-space: nowrap;
        flex-shrink: 0;
        max-width: 100%;
        text-align: center;
        line-height: 1.4;
    }

    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
        flex-wrap: wrap;
        gap: 10px;
    }
    .card-header-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        min-width: 0;
        flex: 1;
    }
    .card-header-info h5,
    .card-header-info small {
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .card-header-auth {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    @media (max-width: 768px) {
        .minimal-card {
            padding: 2rem 1.5rem !important;
        }
        .minimal-principle-item {
            padding: 2rem 1.25rem 1.25rem;
            margin-bottom: 1rem;
        }
        .minimal-main-title {
            font-size: 1.75rem;
        }
        .minimal-text {
            font-size: 1rem;
        }
        .paragraph-container {
            flex-direction: column;
            text-align: center;
            gap: 1rem;
            padding: 1rem;
        }
        .paragraph-icon, .oil-gas-icon {
            margin: 0 auto;
        }
        .minimal-closing-content {
            padding: 5rem 1.5rem 1.5rem !important;
            text-align: center;
        }
        .closing-icon {
            top: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
        }

        .pdf-viewer-container {
            height: 500px;
        }
        .pdf-pages-container {
            overflow-x: auto;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        .page-container {
            padding: 5px;
            width: 100%;
            display: flex;
            justify-content: center;
        }
        .pdf-page {
            max-width: 100%;
            height: auto;
        }
        .controls {
            flex-direction: column;
            gap: 8px;
        }
        .password-input-group {
            flex-direction: column;
        }
        .tab-navigation {
            flex-direction: column;
            width: 100%;
            padding: 10px;
        }
        .tab-btn {
            width: 100%;
            justify-content: center;
            margin-bottom: 5px;
        }

        .card-header {
            flex-direction: row;
            align-items: flex-start;
            gap: 8px;
            padding: 12px 15px;
        }
        .card-header-info {
            align-items: flex-start;
            flex: 1;
            min-width: 0;
        }
        .card-header-info h5,
        .card-header-info small {
            white-space: nowrap;
            font-size: 0.9rem;
        }
        .card-header-auth {
            align-self: flex-start;
            flex-wrap: nowrap;
            gap: 6px;
        }

        .badge-success,
        .badge-info {
            font-size: 0.8rem !important;
            padding: 5px 8px !important;
        }
    }
    @media (max-width: 480px) {
        .pdf-viewer-container {
            height: 400px;
        }
        .controls {
            padding: 8px;
        }
        .zoom-controls {
            width: 100%;
            justify-content: center;
        }
        .navigation {
            width: 100%;
            justify-content: space-between;
        }

        .card-header {
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
        }
        .card-header-info {
            align-items: flex-start;
        }
        .card-header-auth {
            justify-content: flex-end;
            align-self: stretch;
        }
    }

    .password-toggle-btn i {
        transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .password-toggle-btn i.fa-eye {
        color: #4a5568;
    }
    .password-toggle-btn i.fa-eye-slash {
        color: #e74c3c;
        transform: scale(1.05);
    }

/* ===== DARK THEME — governance (append-only, html[data-theme="dark"]) ===== */
/* PERTAHANKAN --primary biru khas (#1a365d); jangan samakan hijau. */
html[data-theme="dark"] {
  --primary: #1a365d;
  --primary-light: #2d4a73;
  --primary-dark: #0f1f33;
  --accent: #5EA8E8;
  --accent-light: #7ABBf0;
  --accent-secondary: #4ECDC4;
  --oil-color: #F06A6A;
  --gas-color: #5EA8E8;
  --bg-light: #0B1423;
  --bg-white: #13233B;
  --text-dark: #E8EEF5;
  --text-medium: #B8C4D4;
  --text-light: #8A9BB0;
  --border: #24344D;
  --shadow: rgba(0, 0, 0, .45);
  --shadow-hover: rgba(0, 0, 0, .6);
}

/* --- Tab --- */
html[data-theme="dark"] .tab-navigation { background: #0F1D33; box-shadow: 0 4px 15px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .tab-btn { color: #B8C4D4; }
html[data-theme="dark"] .tab-btn.active { color: #fff; background: linear-gradient(135deg, #1a365d, #2A6BA8); }
html[data-theme="dark"] .tab-btn::before { background: linear-gradient(135deg, #1a365d, #2A6BA8); }

/* --- Kartu / judul / teks --- */
html[data-theme="dark"] .minimal-card { background: var(--bg-white); box-shadow: 0 4px 20px var(--shadow); }
html[data-theme="dark"] .minimal-main-title { color: #FFFFFF; }
html[data-theme="dark"] .minimal-text,
html[data-theme="dark"] .minimal-principle-text { color: var(--text-medium); }
html[data-theme="dark"] .minimal-subtitle { color: #FFFFFF; }
html[data-theme="dark"] .minimal-principle-item { background: var(--bg-white); border-color: var(--border); }
html[data-theme="dark"] .minimal-principle-item:hover { border-color: var(--accent); box-shadow: 0 15px 30px var(--shadow-hover); }
html[data-theme="dark"] .minimal-principle-content h5 { color: #FFFFFF; }
html[data-theme="dark"] .minimal-principle-number { color: #1A2A44; }
html[data-theme="dark"] .minimal-principle-item:hover .minimal-principle-number { color: #24344D; }
html[data-theme="dark"] .paragraph-container:hover { background: #0F1D33; }
html[data-theme="dark"] .minimal-commitment,
html[data-theme="dark"] .minimal-closing-content { background: linear-gradient(135deg, #0B1423 0%, #13233B 100%); }

/* --- PDF viewer / kontrol --- */
html[data-theme="dark"] .pdf-viewer-container { background: #0B1423; border-color: var(--border); }
html[data-theme="dark"] .pdf-pages-container { background: #070D1A; }
html[data-theme="dark"] .controls,
html[data-theme="dark"] .pdf-action-buttons { background: #0F1D33; border-color: var(--border); }
html[data-theme="dark"] .page-info,
html[data-theme="dark"] .zoom-display { color: var(--text-medium); }
html[data-theme="dark"] .zoom-btn { background: #13233B; border-color: var(--border); color: #E8EEF5; }
html[data-theme="dark"] .zoom-btn:hover { background: #1A2A44; }
html[data-theme="dark"] .blur-content { background: #13233B; color: #E8EEF5; }
html[data-theme="dark"] .card-header { background-color: #0F1D33; border-bottom-color: var(--border); }
html[data-theme="dark"] .card-header-info h5 { color: #FFFFFF; }
html[data-theme="dark"] .card-header-info small { color: var(--text-light); }

/* --- Password / badge / alert (biru dipertahankan) --- */
html[data-theme="dark"] .password-body { background: #0F1D33; }
html[data-theme="dark"] .password-input { background: #0B1423; border-color: #2A4A7A; color: #E8EEF5; }
html[data-theme="dark"] .password-input.error { background-color: #2A1414; border-color: #E74C3C !important; }
html[data-theme="dark"] .password-toggle-btn { color: var(--text-light); }
html[data-theme="dark"] .badge-success { background: #0F2A1F !important; color: #7CE3A8 !important; border-color: #1E5A3A; }
html[data-theme="dark"] .badge-info { background: #2A1A1A !important; color: #F0A0A0 !important; border-color: #5A2A2A; }
html[data-theme="dark"] .alert-success { background: #0F2A1F; color: #7CE3A8; border-color: #1E5A3A; }
html[data-theme="dark"] .alert-danger { background: #2A1414; color: #F0A0A0; border-color: #5A2A2A; }
html[data-theme="dark"] .alert-warning { background: #2A2210; color: #E9B949; border-color: #5A4A1E; }
html[data-theme="dark"] .alert-info { background: #0F2535; color: #8ECAE6; border-color: #1E4A5A; }
html[data-theme="dark"] .loading { color: var(--text-light); }
html[data-theme="dark"] .note-header { background: rgba(66, 153, 225, .12); border-left-color: var(--accent); }

/* ===== DARK THEME — governance slop-fix tambahan (append-only, samakan alert-warning) ===== */
html[data-theme="dark"] .badge-warning { background: #2A2210 !important; color: #E9B949 !important; border: 1px solid #5A4A1E; }
/* ===== Tambahan dark: form-control, text-muted, btn fokus, breadcrumb (append-only) ===== */
html[data-theme="dark"] .form-control::placeholder { color: #C6D0DE !important; opacity: 1; }
html[data-theme="dark"] .text-muted { color: #C6D0DE !important; }
html[data-theme="dark"] .btn:focus-visible { outline: 2px solid #E9B949 !important; outline-offset: 2px; }
html[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6) !important; }
