@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #2b2d42;
}

.layout {
    display: flex;
}

.sidebar {
    width: 300px;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 24px;
    font-size: 20px;
    font-weight: 700;
}

.search-box {
    padding: 0 20px 20px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #495057;
    border-left: 3px solid transparent;
}

.menu li a:hover {
    background: #f8f9fa;
    border-left-color: #0d6efd;
}

.menu-title {
    padding: 20px 24px 8px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #adb5bd;
}

.content {
    flex: 1;
    padding: 40px;
}

.doc-section {
    margin-bottom: 32px;
}

.card {
    border-radius: 16px;
}

.workflow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.workflow-step {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 12px 24px;
    min-width: 220px;
    text-align: center;
    font-weight: 600;
}


/* ========================================
   WORKFLOW STEP - DARK MODE
======================================== */

body.dark-mode .workflow-step {

    background: #334155;

    color: #ffffff !important;

    border: 1px solid #475569;

}

.workflow-arrow {
    font-size: 24px;
}

#reading-progress {

    position: fixed;

    top: 0;

    left: 0;

    height: 4px;

    width: 0;

    z-index: 9999;

    background: #0d6efd;

}

#backToTop {

    position: fixed;

    right: 20px;

    bottom: 20px;

    display: none;

    z-index: 999;

}

.dark-mode {

    background: #121212;

    color: #f5f5f5;

}

.dark-mode .card {

    background: #1e1e1e;

    color: #f5f5f5;

}

.dark-mode .table {

    color: #f5f5f5;

}

.workflow-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

/* ===============================
   WORKFLOW CARD - LIGHT MODE
================================ */

.flow-box {

    background: #ffffff;

    color: #1e293b;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    padding: 14px 24px;

    font-weight: 600;

}

/* ===============================
   WORKFLOW CARD - DARK MODE
================================ */

body.dark-mode .flow-box {

    background: #1e293b;

    color: #f8fafc;

    border-color: #334155;

}

.flow-arrow {
    font-size: 28px;
    font-weight: bold;
}

.flow-box.success {
    background: #d1e7dd;
    border-color: #badbcc;
}

.flow-box.warning {
    background: #fff3cd;
    border-color: #ffecb5;
}

.flow-box.danger {
    background: #f8d7da;
    border-color: #f5c2c7;
}

.doc-sidebar {

    position: sticky;

    top: 0;

    height: 100vh;

    overflow-y: auto;

    overflow-x: hidden;

    padding: 1rem;

    border-right: 1px solid #e5e7eb;

    background: #fff;

    scrollbar-width: thin;

}

.doc-sidebar::-webkit-scrollbar {

    width: 6px;

}

.doc-sidebar::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 20px;

}

.doc-content {

    padding: 2rem;

    min-height: 100vh;

}

.dark-mode {

    background: #0f172a;

    color: #e2e8f0;

}

.dark-mode .doc-sidebar {

    background: #111827;

    border-color: #374151;

}

.dark-mode .sidebar-link {

    color: #cbd5e1;

}

.dark-mode .sidebar-link:hover {

    color: #fff;

}

.dark-mode .card {

    background: #1e293b;

    border-color: #334155;

    color: #e2e8f0;

}

.dark-mode .table {

    color: #e2e8f0;

}

.dark-mode .table-bordered {

    border-color: #475569;

}

.dark-mode .table th {

    background: #334155;

}

.dark-mode .accordion-item {

    background: #1e293b;

    border-color: #475569;

}

.dark-mode .accordion-button {

    background: #334155;

    color: #fff;

}

.dark-mode .accordion-button:not(.collapsed) {

    background: #475569;

}

.dark-mode .alert {

    border: none;

}

.dark-mode .navbar {

    background: #111827 !important;

}

.sidebar-link.active {

    background: #0d6efd;

    color: #fff;

    border-radius: 8px;

}

.hero-section {

    padding: 60px 40px;

    border-radius: 24px;

    background: linear-gradient(135deg,
            #0d6efd,
            #4f46e5);

    color: white;

    margin-bottom: 40px;

    overflow: hidden;

    position: relative;

}

.hero-content {

    max-width: 900px;

}

.hero-badge {

    display: inline-block;

    padding: 8px 16px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(8px);

    margin-bottom: 20px;

    font-weight: 600;

}

.hero-title {

    font-size: 3rem;

    font-weight: 800;

    margin-bottom: 20px;

}

.hero-description {

    font-size: 1.2rem;

    max-width: 700px;

    opacity: .95;

    line-height: 1.8;

}

.hero-buttons {

    margin-top: 30px;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}

.hero-section::before {

    content: '';

    position: absolute;

    width: 400px;

    height: 400px;

    right: -100px;

    top: -100px;

    border-radius: 50%;

    background: rgba(255,
            255,
            255,
            .08);

}

.hero-section::after {

    content: '';

    position: absolute;

    width: 250px;

    height: 250px;

    left: -80px;

    bottom: -80px;

    border-radius: 50%;

    background: rgba(255,
            255,
            255,
            .05);

}

.quick-card {

    background: white;

    border-radius: 18px;

    padding: 24px;

    height: 100%;

    transition: .3s;

    border: 1px solid #e5e7eb;

}

.quick-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);

}

body.dark-mode .quick-card {

    background: #1e293b;

    border-color: #334155;

}

.hero-section .btn-outline-secondary {

    color: #fff;

    border: 2px solid rgba(255, 255, 255, .35);

    background: rgba(255, 255, 255, .08);

}

.hero-section .btn-outline-secondary:hover {

    background: #fff;

    color: #2563eb;

}

.quick-icon {

    font-size: 2rem;

    margin-bottom: 15px;

}

.hero-meta {

    margin-top: 25px;

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    opacity: .9;

}

.quick-card {

    transition: all .3s ease;

}

.quick-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);

}

.sidebar-link.active {

    background: #0d6efd;

    color: #fff;

    border-radius: 10px;

}

.menu a.active {

    background: #0d6efd;

    color: #ffffff !important;

    border-radius: 10px;

    border-left: 3px solid #0d6efd;

}

.menu a:hover {

    background: #f1f5f9;

    color: #0d6efd !important;

    border-radius: 10px;

}

body.dark-mode .menu a.active {

    background: #2563eb;

    color: #ffffff !important;

}

body.dark-mode .menu a.active:hover {

    background: #3b82f6;

    color: #ffffff !important;

}

.stats-section {

    margin-bottom: 40px;

}

.stat-card {

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 20px;

    padding: 24px;

    text-align: center;

    height: 100%;

    transition: all .3s ease;

}

.stat-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}

.stat-icon {

    font-size: 2rem;

    margin-bottom: 12px;

}

.stat-number {

    font-size: 2rem;

    font-weight: 800;

    color: #0d6efd;

    line-height: 1;

}

.stat-label {

    margin-top: 10px;

    color: #6b7280;

    font-size: .9rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

}

body.dark-mode .stat-card {

    background: #1e293b;

    border-color: #334155;

}

body.dark-mode .stat-number {

    color: #60a5fa;

}

body.dark-mode .stat-label {

    color: #cbd5e1;

}

.workflow-svg {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 0;

    margin-top: 20px;

}

.workflow-node {

    min-width: 140px;

    padding: 16px 24px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    text-align: center;

    font-weight: 700;

    position: relative;

    transition: .3s;

}

.workflow-node:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.workflow-line {

    width: 50px;

    height: 3px;

    background: #cbd5e1;

    position: relative;

}

.workflow-line::after {

    content: '';

    position: absolute;

    right: -2px;

    top: -4px;

    border-top: 5px solid transparent;

    border-bottom: 5px solid transparent;

    border-left: 8px solid #cbd5e1;

}


.theme-switch-wrapper {

    margin-top: 20px;

    padding: 0 16px 30px;

}

.theme-toggle-btn {

    width: 100%;

    border: none;

    border-radius: 14px;

    padding: 14px 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-weight: 600;

    background: #f1f5f9;

    color: #334155;

    transition: .3s;

}

.theme-toggle-btn:hover {

    transform: translateY(-2px);

    background: #e2e8f0;

}

.theme-toggle-btn i {

    font-size: 1.1rem;

}

body.dark-mode .theme-toggle-btn {

    background: #1e293b;

    color: #f8fafc;

    border: 1px solid #334155;

}

body.dark-mode .theme-toggle-btn:hover {

    background: #334155;

}

body.dark-mode .accordion-body {

    background: #1e293b;

    color: #e2e8f0;

}

body.dark-mode .accordion-item {

    background: #1e293b;

    border-color: #475569;

}

/* ========================================
FAQ ACCORDION DARK MODE
======================================== */

body.dark-mode .accordion-item {


    background: #1e293b;

    border: 1px solid #334155;


}

body.dark-mode .accordion-button {


    background: #475569;

    color: #f8fafc;

    font-weight: 600;


}

body.dark-mode .accordion-button.collapsed {


    background: #475569;

    color: #f8fafc;


}

body.dark-mode .accordion-button:not(.collapsed) {


    background: #334155;

    color: #ffffff;

    box-shadow: none;


}

body.dark-mode .accordion-button:focus {


    box-shadow: none;

    border-color: #475569;


}

body.dark-mode .accordion-body {


    background: #1e293b;

    color: #e2e8f0 !important;


}

body.dark-mode .accordion-collapse {


    background: #1e293b;


}

/* panah bootstrap agar terlihat jelas */

body.dark-mode .accordion-button::after {


    filter: invert(1) brightness(2);


}