/* =========================================================
   POS MULTI TOKO
   Login Page
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background:
        linear-gradient(
            135deg,
            #0F4C81 0%,
            #2563EB 35%,
            #2563eb 100%
        );
}

/* =========================================================
   LOGIN CARD
   ========================================================= */
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 28px 40px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);
    animation: cardFade 0.5s ease;
}

@keyframes cardFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HEADER
   ========================================================= */
.login-header {
    text-align: center;

    margin-bottom: 32px;
}

.coffee-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #2563EB,
        #0F4C81
    );
    color: white;
    font-size: 32px;
    box-shadow:
        0 10px 25px rgba(15, 118, 110, 0.30);
}

.login-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.login-header p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

/* =========================================================
   FORM
   ========================================================= */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-box > i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    font-size: 15px;
    pointer-events: none;
}

.input-box input {
    width: 100%;
    height: 44px;
    padding: 0 45px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.2s ease;
}

.input-box input::placeholder {
    color: #9ca3af;
}

.input-box input:focus {
    border-color: #0d9488;
    box-shadow:
        0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */
.password-toggle {
    position: absolute;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #9ca3af;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.password-toggle:hover {
    color: #0F4C81;
    background: #f0fdfa;
}

/* =========================================================
   LOGIN BUTTON
   ========================================================= */
.btn-login {
    width: 100%;
    height: 44px;
    margin-top: 8px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #2563EB,
        #0F4C81
    );
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow:
        0 8px 20px rgba(15, 76, 129, 0.25);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px rgba(15, 76, 129, 0.25);
}

.btn-login:active {
    transform: translateY(0);
}

/* =========================================================
   FOOTER
   ========================================================= */
.login-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

.login-footer i {
    margin-right: 5px;
    color: #0F4C81;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 480px) {
    .login-page {
        padding: 20px 15px;
    }

    .login-card {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .coffee-logo {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .login-header h2 {
        font-size: 23px;
    }

}

/* =========================================================
   APPLICATION LAYOUT
   ========================================================= */
.app-body {
    margin: 0;
    min-height: 100vh;
    background: #f5f7fb;
    color: #1f2937;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background: #163A5F;
    color: #fff;
    z-index: 1100;
    overflow-y: auto;
    transition: transform .3s ease, width .3s ease;
    box-shadow:
        3px 0 15px rgba(0, 0, 0, .08);
}

.sidebar-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom:
        1px solid rgba(255,255,255,.08);
    font-size: 18px;
    font-weight: 700;
}

.sidebar-brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
}

.sidebar-menu {
    padding: 18px 12px;
}

.sidebar-section-title {
    margin-top: 18px;
    margin-bottom: 7px;
    padding: 0 12px;
    color: rgba(255,255,255,.42);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.sidebar-section-title:first-child {
    margin-top: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 4px;
    padding: 10px 13px;
    border-radius: 9px;
    color: rgba(255,255,255,.70);
    text-decoration: none;
    font-size: 14px;
    transition: .2s ease;
}

.sidebar-menu a i {
    width: 23px;
    margin-right: 10px;
    text-align: center;
}

.sidebar-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.sidebar-menu a.active {
    background: #2563EB;
    color: #fff;
    box-shadow:
        0 5px 15px rgba(25,135,84,.20);
}

.sidebar-logo {
    width: 25px;
    height: 25px;
    object-fit: contain;
    display: block;
}

/* =========================================================
   MAIN
   ========================================================= */
.main-content {
    min-height: 100vh;
    margin-left: 250px;
    width: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    transition: margin-left .3s ease, width .3s ease;
}

/* =========================================================
   SIDEBAR COLLAPSE - SEMUA PLATFORM
   ========================================================= */
body.sidebar-hidden .sidebar {
    transform: translateX(-100%);
}

body.sidebar-hidden .main-content {
    margin-left: 0;
    width: 100%;
}

/* =========================================
   HEADER / TOP NAVBAR
========================================= */
.top-navbar {
    height: 72px;
    min-height: 72px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1200;
    box-sizing: border-box;
}

/* Bagian kiri */
.navbar-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

/* Tombol hamburger */
.sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin-right: 14px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    position: relative;
    z-index: 1300;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background 0.2s ease;
}

.sidebar-toggle:hover {
    background: #e5e7eb;
}

.sidebar-toggle:active {
    transform: scale(0.96);
}

.sidebar-toggle i {
    font-size: 19px;
    line-height: 1;
    pointer-events: none;
}

/* =========================================
   JUDUL HALAMAN
========================================= */
.page-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.page-subtitle {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: #9ca3af;
}

/* =========================================
   USER AREA
========================================= */
.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    height: 100%;
}

.user-menu {
    position: relative;
    z-index: 1300;
    height: 100%;
    display: flex;
    align-items: center;
}

.user-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    height: 100%;
    min-width: 120px;
    padding: 0 4px 0 10px;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    line-height: 1.2;
    min-width: 0;
}

.user-name {
    max-width: 130px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
}

/* =========================================
   USER AVATAR
========================================= */
.user-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563EB;
    color: #ffffff;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 17px;
}

/* =========================================================
   DROPDOWN
   ========================================================= */
.user-dropdown {
    position: absolute;
    top: calc(100% - 3px);
    right: 0;
    width: 210px;
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 1400;
    display: none;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-header {
    padding: 7px 9px;
    display: flex;
    flex-direction: column;
}

.user-dropdown-header strong {
    font-size: 13px;
}

.user-dropdown-header small {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 11px;
}

.dropdown-divider {
    height: 1px;
    margin: 5px 0;
    background: #e5e7eb;
}

.user-dropdown a,
.user-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #374151;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}

.user-dropdown a:hover {
    background: #f3f4f6;
}

.user-dropdown .logout-button {
    color: #dc3545;
}

.user-dropdown .logout-button:hover {
    background: #fff1f2;
}

/* =========================================================
   CONTENT
   ========================================================= */
.content-wrapper {
    flex: 1;
    padding: 25px;
}

/* =========================================================
   DASHBOARD HEADER
   ========================================================= */
.dashboard-header h2 {
    margin: 0;
    font-size: 19px;
    color: #1f2937;
}

.dashboard-header p {
    margin: 7px 0 0;
    font-size: 14px;
    color: #6b7280;
}

/* ==================================================
   MASA AKTIF TOKO
================================================== */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.masa-aktif {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    min-width: 190px;
}

.masa-aktif > i {
    font-size: 22px;
}

.masa-aktif > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.masa-aktif-label {
    font-size: 12px;
    font-weight: 600;
}

.masa-aktif strong {
    font-size: 15px;
}


.masa-aktif small {
    font-size: 11px;
}

/* HIJAU */
.masa-aktif-safe {
    background: #e8f7ee;
    color: #198754;
}

/* ORANGE */
.masa-aktif-warning {
    background: #fff4df;
    color: #d97706;
}

/* MERAH */
.masa-aktif-expired {
    background: #fdeaea;
    color: #dc3545;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {
    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .masa-aktif {
        width: 100%;
    }

}

/* =========================================================
   STATISTICS
   ========================================================= */
.dashboard-stats {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    box-shadow:
        0 3px 14px rgba(0,0,0,.04);
    transition: .2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 22px rgba(0,0,0,.07);
}


.stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.stat-title {
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 13px;
}

.stat-value {
    color: #111827;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-money {
    font-size: 19px;
}


.stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
}

.stat-icon-green {
    background: #e8f5e9;
    color: #198754;
}


.stat-icon-orange {
    background: #fff4e5;
    color: #f59f00;
}

.stat-icon-blue {
    background: #e7f1ff;
    color: #2563EB;
}


.stat-icon-purple {
    background: #f3e8ff;
    color: #8b5cf6;
}

.stat-description {
    margin-top: 17px;
    color: #9ca3af;
    font-size: 12px;
}

/* =========================================================
   RECENT TRANSACTION
   ========================================================= */
.recent-card {
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    box-shadow:
        0 3px 14px rgba(0,0,0,.04);
    overflow: hidden;
}

.recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #edf0f2;
}

.recent-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.recent-header p {
    margin: 5px 0 0;
    color: #9ca3af;
    font-size: 12px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #2563EB;
    border-radius: 7px;
    color: #2563EB;
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: .2s;
}

.btn-view-all:hover {
    background: #2563EB;
    color: #fff;
}

/* =========================================================
   TABLE
   ========================================================= */
.table-container {
    width: 100%;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.dashboard-table th {
    padding: 13px 20px;
    background: #fafbfc;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.dashboard-table td {
    padding: 14px 20px;
    border-top: 1px solid #f0f1f3;
    color: #4b5563;
    font-size: 13px;
}

.dashboard-table tbody tr:hover {
    background: #fafdfb;
}

/* =========================================================
   STATUS
   ========================================================= */
.status-success,
.status-warning,
.status-danger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-success {
    background: #e8f5e9;
    color: #198754;
}

.status-warning {
    background: #fff3cd;
    color: #fd7e14;
}

.status-danger {
    background: #fff1f2;
    color: #dc3545;
}

/* =========================================================
   EMPTY DATA
   ========================================================= */
.empty-data {
    height: 150px;
    text-align: center;
    color: #9ca3af !important;
}

.empty-data i {
    display: block;
    margin-bottom: 8px;
    font-size: 25px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.app-footer {
    min-height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 25px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    color: #9ca3af;
    font-size: 12px;
}

.app-footer i {
    color: #2563EB;
}

.footer-divider {
    margin: 0 6px;
    color: #d1d5db;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1199px) {
    .dashboard-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
    .top-navbar {
		position: relative;
		z-index: 1200;
	}

    .page-title {
        font-size: 17px;
    }

    .page-subtitle {
        display: none;
    }

    .content-wrapper {
        padding: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-header {
        margin-bottom: 17px;
    }


    .dashboard-header h2 {
        font-size: 17px;
    }

    .dashboard-header p {
        font-size: 13px;
    }

    .recent-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
    }

    .app-footer {
        min-height: auto;
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 5px;
    }
}

/* =========================================================
   SMALL HP
   ========================================================= */
@media (max-width: 400px) {
    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-money {
        font-size: 17px;
    }
}

/* =========================================================
   KATEGORI PAGE
   ========================================================= */
.page-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.page-header-info {
    min-width: 0;
}

.page-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1f2937;
    font-size: 21px;
    font-weight: 700;
}

.page-heading-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eaf7ef;
    color: #2563EB;
    font-size: 16px;
}

.page-description {
    margin: 6px 0 0 48px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
}

.btn-add-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   ALERT
   ========================================================= */
.custom-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
}

.custom-alert .btn-close {
    margin-left: auto;
}

/* =========================================================
   DATA CARD
   ========================================================= */
.data-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 70px;
    padding: 15px 20px;
    border-bottom: 1px solid #edf0f2;
}

.data-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.data-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: #f1f8f4;
    color: #2563EB;
    font-size: 14px;
}

.data-card-header h3 {
    margin: 0;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.data-card-header p {
    margin: 3px 0 0;
    color: #9ca3af;
    font-size: 11px;
}

.data-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 20px;
    background: #f1f8f4;
    color: #2563EB;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   TABLE
   ========================================================= */
.custom-table {
    width: 100%;
    margin: 0 !important;
}

.custom-table thead th {
    height: 45px;
    padding: 10px 20px;
    background: #fafbfc;
    color: #6b7280;
    border-bottom: 1px solid #edf0f2;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2px;
    vertical-align: middle;
}

.custom-table tbody td {
    height: 60px;
    padding: 10px 20px;
    color: #4b5563;
    border-bottom: 1px solid #f1f2f4;
    font-size: 13px;
    vertical-align: middle;
}

.custom-table tbody tr:last-child td {
    border-bottom: 0;
}

.custom-table tbody tr {
    transition: background .15s ease;
}

.custom-table tbody tr:hover {
    background: #fafdfb;
}

.col-number {
    width: 70px;
}

.col-action {
    width: 190px;
}

/* =========================================================
   NUMBER
   ========================================================= */
.number-badge {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f5f6f7;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   CATEGORY NAME
   ========================================================= */
.category-name {
    display: flex;
    align-items: center;
    gap: 11px;
}

.category-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: #fff6e8;
    color: #f59f00;
    font-size: 13px;
}

.category-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-title {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
}

.category-info small {
    margin-top: 2px;
    color: #adb3ba;
    font-size: 10px;
}

/* =========================================================
   ACTION
   ========================================================= */
.category-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 66px;
    padding: 6px 9px;
    border: 0;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   STATUS SWITCH KELOLA TOKO SADMIN & PRODUK & LAYANAN
   ========================================================= */
.status-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.status-switch input {
    display: none;
}

.status-slider {
    position: relative;
    width: 42px;
    height: 22px;
    background: #d9dee3;
    border-radius: 20px;
    transition: 0.2s;
}

.status-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

.status-switch input:checked + .status-slider {
    background: #198754;
}

.status-switch input:checked + .status-slider::before {
    transform: translateX(20px);
}

.status-label {
    font-size: 13px;
    font-weight: 500;
    min-width: 60px;
}

.status-switch input:checked ~ .status-label {
    color: #198754;
}

.status-switch input:not(:checked) ~ .status-label {
    color: #6c757d;
}

/* =========================================================
   BUTTON AKSI DI KELOLA TOKO SADMIN
   ========================================================= */
.btn-dashboard {
    background: #e8f1ff;
    color: #2563EB;
}

.btn-dashboard:hover {
    background: #cfe2ff;
    color: #1D4ED8;
}

.btn-edit {
    background: #fff7e6;
    color: #d99000;
}

.btn-edit:hover {
    background: #ffefc7;
    color: #b87900;
}

.btn-user {
    background: #e8f5e9;
    color: #198754;
}

.btn-user:hover {
    background: #c8e6c9;
    color: #146c43;
}

.btn-delete2 {
    background: #fff0f0;
    color: #dc3545;
}

.btn-delete2:hover {
    background: #ffe0e0;
    color: #b02a37;
}

/* =========================================================
   EMPTY TABLE
   ========================================================= */
.empty-table {
    height: 260px;
    border: 0 !important;
    text-align: center;
}

.empty-table-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 35px 20px;
}

.empty-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #f5f6f7;
    color: #b9bec4;
    font-size: 22px;
}

.empty-table-content h4 {
    margin: 0 0 5px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.empty-table-content p {
    margin: 0 0 15px;
    color: #9ca3af;
    font-size: 12px;
}

/* =========================================================
   MODAL
   ========================================================= */
.category-modal {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .15);
}

.category-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f2;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 11px;
}

.modal-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 14px;
}

.modal-icon-add {
    background: #eaf7ef;
    color: #198754;
}

.modal-icon-edit {
    background: #fff6e8;
    color: #d99000;
}

.category-modal .modal-title {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
}

.modal-title-wrapper p {
    margin: 2px 0 0;
    color: #9ca3af;
    font-size: 11px;
}

.category-modal .modal-body {
    padding: 22px 20px;
}

.form-group-custom {
    width: 100%;
}

.form-label {
    margin-bottom: 7px;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.form-control-custom {
    min-height: 42px;
    border: 1px solid #dfe3e7;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: none !important;
}

.form-control-custom:focus {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .10) !important;
}

.form-help {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: #9ca3af;
    font-size: 10px;
}

.category-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px;
    background: #fafbfc;
    border-top: 1px solid #edf0f2;
}

.btn-modal-cancel,
.btn-modal-save {
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.btn-modal-cancel {
    border: 1px solid #e1e4e7;
    background: #fff;
    color: #6b7280;
}

.btn-modal-cancel:hover {
    background: #f5f6f7;
}

.btn-modal-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* =========================================================
   MODAL STANDAR
   ========================================================= */
.modal-dialog {
    margin-top: 80px;
    margin-bottom: 20px;
}

.modal-content {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */
@media (max-width: 991px) {
    .page-header-custom {
        margin-bottom: 18px;
    }

    .data-card-header {
        padding: 14px 16px;
    }

    .custom-table thead th,
    .custom-table tbody td {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =========================================================
   RESPONSIVE HP
   ========================================================= */
@media (max-width: 767px) {
    .page-header-custom {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .page-heading {
        font-size: 19px;
    }

    .page-heading-icon {
        width: 35px;
        height: 35px;
    }

    .page-description {
        margin-left: 45px;
        font-size: 11px;
    }

    .btn-add-category {
        width: 100%;
    }

    .data-card {
        border-radius: 11px;
    }

    .data-count {
        align-self: flex-start;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .custom-table {
        min-width: 620px;
    }

    .custom-table thead th,
    .custom-table tbody td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .category-actions {
        justify-content: flex-start;
    }


    .category-modal {
        margin: 10px;
    }

    .category-modal .modal-header {
        padding: 15px;
    }

    .category-modal .modal-body {
        padding: 18px 15px;
    }

    .category-modal .modal-footer {
        padding: 12px 15px;
    }

    .btn-modal-cancel,
    .btn-modal-save {
        flex: 1;
    }
}

/* =========================================================
   HP KECIL
   ========================================================= */
@media (max-width: 400px) {
    .page-description {
        max-width: 280px;
    }

    .modal-title-wrapper p {
        display: none;
    }

    .modal-icon {
        width: 34px;
        height: 34px;
    }
}

/* =========================
   FILTER KATEGORI
========================= */
.category-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* =========================
   STATUS BADGE
========================= */
.custom-table .badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================
   ACTION BUTTON
========================= */
.btn-activate {
    color: #198754;
    background: #e8f7ef;
    border: 1px solid #c8ead7;
}

.btn-activate:hover {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

.btn-delete {
    color: #dc3545;
    background: #fff0f1;
    border: 1px solid #f5c6cb;
}

.btn-delete:hover {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

/* =========================
   RESPONSIVE FILTER
========================= */
@media (max-width: 767px) {
    .category-filter {
        width: 100%;
    }

    .category-filter .btn {
        flex: 1;
    }
}

/* =========================
   PRODUK
========================= */
.product-filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.product-category-filter {
    min-width: 180px;
}

.product-category-filter .form-select {
    cursor: pointer;
}

.product-price {
    white-space: nowrap;
    font-size: 14px;
}

.category-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

.product-icon {
    flex-shrink: 0;
}

/* =========================
   RESPONSIVE PRODUK
========================= */
@media (max-width: 991px) {
    .product-filter {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .product-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .product-filter .btn-group {
        width: 100%;
    }

    .product-filter .btn-group .btn {
        flex: 1;
    }

    .product-category-filter {
        width: 100%;
        min-width: 0;
    }

    .product-category-filter .form-select {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .custom-table {
        min-width: 750px;
    }

    .product-price {
        font-size: 13px;
    }
}

/* =========================
   KASIR - KERANJANG
========================= */
.kasir-page .keranjang-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kasir-page .keranjang-body {
    padding: 8px;
}

/* Item keranjang dibuat rapat */
.kasir-page .keranjang-item {
    margin-bottom: 4px !important;
    padding: 6px 8px !important;
}

/* Hilangkan jarak antar row */
.kasir-page .keranjang-body .row {
    --bs-gutter-y: 0;
    margin-top: 0;
}

.kasir-page .keranjang-body .mb-2,
.kasir-page .keranjang-body .mb-3 {
    margin-bottom: 4px !important;
}

/* Bagian pembayaran */
.kasir-page .pembayaran {
    padding: 8px;
}

.kasir-page .pembayaran .row {
    --bs-gutter-y: 0;
}

.kasir-page .pembayaran .mb-2,
.kasir-page .pembayaran .mb-3 {
    margin-bottom: 4px !important;
}

/* Label */
.kasir-page .pembayaran label {
    margin-bottom: 2px;
}

/* Input pembayaran */
.kasir-page .pembayaran .form-control,
.kasir-page .pembayaran .form-select {
    min-height: 34px;
    padding: 4px 8px;
}

/* Jarak antar tombol pembayaran */
.kasir-page .payment-methods {
    gap: 5px;
}

.kasir-page .payment-method {
    padding: 7px 8px;
}

/* Area item keranjang bisa menampilkan lebih banyak produk */
.kasir-page .keranjang-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* =========================================================
   TABEL USER - SCROLL HORIZONTAL
========================================================= */
.user-table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Lebar minimum tabel agar kolom tidak terlalu sempit */
.user-table-responsive table {
    min-width: 800px;
}

/* Kolom aksi selalu mendatar */
.user-table-responsive th:last-child,
.user-table-responsive td:last-child {
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
    text-align: center;
}

/* Tombol aksi tidak boleh turun */
.user-table-responsive td:last-child .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    white-space: nowrap;
}

/* varian di detail_order */
.order-item-variants {
    margin-top: 4px;
    padding-left: 8px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
}

.order-item-variants i {
    font-size: 5px;
    margin-right: 5px;
    vertical-align: middle;
}

/* =========================================================
   REPORT CARD
========================================================= */
.report-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 120px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.report-card:hover {
    transform: translateY(-2px);
    border-color: #dee2e6;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .08);
    color: inherit;
}

/* =========================================================
   ICON
========================================================= */
.report-card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f3f5;
    font-size: 20px;
}

/* =========================================================
   CONTENT
========================================================= */
.report-card-content {
    flex: 1;
    min-width: 0;
}

.report-card-content h6 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 600;
}

.report-card-content p {
    margin: 0;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   ARROW
========================================================= */
.report-card-arrow {
    flex: 0 0 auto;
    color: #adb5bd;
    font-size: 13px;
    transition:
        transform .2s ease,
        color .2s ease;
}

.report-card:hover .report-card-arrow {
    transform: translateX(3px);
    color: #6c757d;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 575.98px) {
    .report-card {
        min-height: 105px;
        padding: 16px;
        gap: 12px;
    }

    .report-card-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 17px;
    }

    .report-card-content h6 {
        font-size: 14px;
    }

    .report-card-content p {
        font-size: 11px;
    }
}

/* =========================
   FILTER INVOICE
========================= */
.invoice-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* =========================
   FILTER BUTTON
========================= */
.invoice-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.invoice-filter-btn:hover {
    color: #212529;
    background: #f8f9fa;
    border-color: #ced4da;
}

/* =========================
   FILTER AKTIF
========================= */
.invoice-filter-btn.active {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

/* =========================
   RESPONSIVE FILTER
========================= */
@media (max-width: 767px) {
    .data-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 14px;
    }

    .invoice-filter {
        width: 100%;
    }

    .invoice-filter-btn {
        flex: 1;
    }

}

/* Tombol konfirmasi SweetAlert2 */
.swal2-confirm {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
}

/* Warna saat tombol di-hover */
.swal2-confirm:hover {
    background-color: #1D4ED8 !important;
}

/* Tombol batal */
.swal2-cancel {
    background-color: #6B7280 !important;
}


/* =========================================================
   HALAMAN BANTUAN
========================================================= */

.bantuan-page {
    min-width: 0;
    padding-bottom: 24px;
}

.bantuan-page .dashboard-header {
    margin-bottom: 22px;
}

.bantuan-page .dashboard-header h2 {
    margin-bottom: 6px;
}

.bantuan-page .dashboard-header p {
    margin-bottom: 0;
    color: #64748b;
}

.bantuan-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.bantuan-filter {
    margin-bottom: 22px;
    padding: 18px;
}

.bantuan-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bantuan-search-input {
    position: relative;
    flex: 1 1 260px;
    min-width: 0;
}

.bantuan-search-input > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.bantuan-search-input input,
.bantuan-category-select select {
    width: 100%;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    padding: 0 12px;
    outline: none;
}

.bantuan-search-input input {
    padding-left: 40px;
}

.bantuan-search-input input:focus,
.bantuan-category-select select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bantuan-category-select {
    flex: 0 1 220px;
    min-width: 180px;
}

.bantuan-search-button,
.bantuan-reset-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    padding: 0 16px;
    text-decoration: none;
}

.bantuan-search-button {
    background: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
}

.bantuan-search-button:hover {
    background: #1d4ed8;
    color: #fff;
}

.bantuan-reset-button {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.bantuan-reset-button:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.bantuan-content-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
    gap: 22px;
    align-items: start;
}

.bantuan-content-grid > * {
    min-width: 0;
}

.bantuan-list-card,
.bantuan-detail-card {
    overflow: hidden;
}

.bantuan-card-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.bantuan-card-header h5 {
    margin: 0 0 5px;
    color: #163a5f;
    font-size: 16px;
    font-weight: 700;
}

.bantuan-card-header small {
    color: #64748b;
}

.bantuan-list {
    display: flex;
    flex-direction: column;
}

.bantuan-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #edf2f7;
    transition: background 0.2s ease;
}

.bantuan-list-item:last-child {
    border-bottom: 0;
}

.bantuan-list-item:hover {
    background: #f8fafc;
    color: #1d4ed8;
}

.bantuan-list-item.active {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding-left: 14px;
}

.bantuan-list-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
}

.bantuan-list-text {
    flex: 1;
    min-width: 0;
}

.bantuan-list-text h6 {
    margin: 1px 0 7px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bantuan-category-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
}

.bantuan-list-text p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.bantuan-list-arrow {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
}

.bantuan-detail-header {
    padding: 26px 28px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.bantuan-breadcrumb {
    margin-bottom: 16px;
    color: #64748b;
    font-size: 12px;
}

.bantuan-detail-header h3 {
    margin: 0 0 12px;
    color: #163a5f;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.bantuan-detail-summary {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.7;
}

.bantuan-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 12px;
}

.bantuan-article-content {
    padding: 28px;
    color: #334155;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.bantuan-article-content > :first-child {
    margin-top: 0;
}

.bantuan-article-content h1,
.bantuan-article-content h2,
.bantuan-article-content h3,
.bantuan-article-content h4,
.bantuan-article-content h5,
.bantuan-article-content h6 {
    margin: 24px 0 12px;
    color: #163a5f;
    line-height: 1.5;
}

.bantuan-article-content p {
    margin-bottom: 16px;
}

.bantuan-article-content ul,
.bantuan-article-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.bantuan-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 8px;
}

.bantuan-article-content table {
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    overflow-wrap: anywhere;
}

.bantuan-article-content th,
.bantuan-article-content td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.bantuan-article-content th {
    background: #f1f5f9;
    color: #163a5f;
}

.bantuan-article-content blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
}

.bantuan-article-content pre,
.bantuan-article-content code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.bantuan-empty {
    padding: 36px 20px;
    text-align: center;
}

.bantuan-empty > i {
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 32px;
}

.bantuan-empty h6 {
    color: #334155;
    font-weight: 700;
}

.bantuan-empty p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.bantuan-welcome {
    padding: 50px 32px;
    text-align: center;
}

.bantuan-welcome-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 30px;
}

.bantuan-welcome h3 {
    margin-bottom: 12px;
    color: #163a5f;
    font-size: 22px;
    font-weight: 700;
}

.bantuan-welcome > p {
    max-width: 460px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.8;
}

.bantuan-welcome-tips {
    max-width: 460px;
    margin: 28px auto 0;
    text-align: left;
}

.bantuan-welcome-tips > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
}

.bantuan-welcome-tips i {
    margin-top: 4px;
    color: #2563eb;
}


/* =========================================================
   DAFTAR ARTIKEL QUILL 2
========================================================= */

/* Dasar daftar */
.bantuan-article-content ol,
.bantuan-article-content ul {
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 18px;
}

/* Jarak dan tinggi baris item */
.bantuan-article-content li {
    padding-left: 0;
    line-height: 1.85;
}

/* Penomoran utama: 1, 2, 3 */
.bantuan-article-content li[data-list="ordered"]:not([class*="ql-indent-"]) {
    list-style-type: decimal;
}

/* Penomoran tingkat pertama: a, b, c */
.bantuan-article-content li[data-list="ordered"].ql-indent-1 {
    list-style-type: lower-alpha;
}

/* Penomoran tingkat kedua: i, ii, iii */
.bantuan-article-content li[data-list="ordered"].ql-indent-2 {
    list-style-type: lower-roman;
}

/* Penomoran tingkat ketiga */
.bantuan-article-content li[data-list="ordered"].ql-indent-3 {
    list-style-type: decimal;
}

/* Bullet utama dan tingkat pertama */
.bantuan-article-content li[data-list="bullet"] {
    list-style-type: disc;
}

.bantuan-article-content li[data-list="bullet"].ql-indent-1 {
    list-style-type: circle;
}

/* Bullet tingkat kedua */
.bantuan-article-content li[data-list="bullet"].ql-indent-2 {
    list-style-type: square;
}

/* Indentasi item dari Quill */
.bantuan-article-content li.ql-indent-1 {
    margin-left: 1.5em;
}

.bantuan-article-content li.ql-indent-2 {
    margin-left: 3em;
}

.bantuan-article-content li.ql-indent-3 {
    margin-left: 4.5em;
}

.bantuan-article-content li.ql-indent-4 {
    margin-left: 6em;
}

.bantuan-article-content li.ql-indent-5 {
    margin-left: 7.5em;
}

.bantuan-article-content li.ql-indent-6 {
    margin-left: 9em;
}

.bantuan-article-content li.ql-indent-7 {
    margin-left: 10.5em;
}

.bantuan-article-content li.ql-indent-8 {
    margin-left: 12em;
}

@media (max-width: 991.98px) {
    .bantuan-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bantuan-filter {
        padding: 14px;
    }

    .bantuan-search-input,
    .bantuan-category-select {
        flex: 1 1 100%;
        min-width: 0;
    }

    .bantuan-search-button,
    .bantuan-reset-button {
        flex: 1;
    }

    .bantuan-detail-header {
        padding: 22px 18px;
    }

    .bantuan-detail-header h3 {
        font-size: 20px;
    }

    .bantuan-article-content {
        padding: 20px 18px;
    }

    .bantuan-welcome {
        padding: 36px 20px;
    }
}