:root {
    --primary-color: #00aaff;
    --secondary-color: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --sidebar-bg: #ffffff; /* PUTIH */
    --sidebar-active-bg: #e6f7ff;
    --sidebar-hover-bg: #f5f5f5;
    --sidebar-text: #333333;
    --sidebar-icon: #6c757d;
    --sidebar-active-icon: #00aaff;
    --sidebar-border: #dee2e6;
    --sidebar-accent: #00aaff;
}

[data-theme="dark"] {
    --sidebar-bg: #1a1a1a;
    --sidebar-active-bg: rgba(0, 170, 255, 0.15);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.05);
    --sidebar-text: #e0e0e0;
    --sidebar-icon: #9e9e9e;
    --sidebar-active-icon: #00aaff;
    --sidebar-border: #333333;
    --sidebar-accent: #00aaff;
}

/* CSS Sidebar Modern dengan class side- */
.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: var(--sidebar-bg); /* INI AKAN PUTIH */
    color: var(--sidebar-text);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid var(--sidebar-border);
}

.side-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 1rem;
}

.side-header .side-logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.side-header .side-logo:hover {
    transform: translateY(-2px);
}

.side-header .side-logo i {
    font-size: 1.75rem;
    background: rgba(0, 170, 255, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.1);
}

.side-header .side-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.side-nav {
    padding: 0 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-nav .side-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    color: var(--sidebar-icon);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.side-nav .side-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    height: 0%;
    width: 4px;
    background: var(--sidebar-accent);
    border-radius: 0 4px 4px 0;
    transition: transform 0.3s ease, height 0.3s ease;
}

.side-nav .side-item:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text);
    transform: translateX(8px);
    border-color: var(--sidebar-border);
}

.side-nav .side-item:hover::before {
    transform: translateY(-50%) scaleY(1);
    height: 60%;
}

.side-nav .side-item.active {
    background: var(--sidebar-active-bg);
    color: var(--primary-color);
    border-color: rgba(0, 170, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.1);
}

.side-nav .side-item.active::before {
    transform: translateY(-50%) scaleY(1);
    height: 70%;
    background: var(--primary-color);
}

.side-nav .side-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--sidebar-icon);
}

.side-nav .side-item.active i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.side-nav .side-item span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.side-nav .side-item .side-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.3);
}

.side-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--sidebar-border);
    margin-top: auto;
}

.side-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.side-profile:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

[data-theme="dark"] .side-profile {
    background: #2a2a2a;
}

[data-theme="dark"] .side-profile:hover {
    background: #333333;
}

.side-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 170, 255, 0.3);
}

.side-info {
    flex: 1;
}

.side-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sidebar-text);
    margin-bottom: 0.1rem;
}

.side-role {
    font-size: 0.75rem;
    color: var(--secondary-color);
    opacity: 0.8;
}


        /* Responsive Design untuk Sidebar */
        @media (max-width: 991.98px) {
            .side-bar {
                transform: translateX(-100%);
                width: 280px;
                box-shadow: 5px 0 35px rgba(0, 0, 0, 0.2);
            }

            .side-bar.active {
                transform: translateX(0);
            }

            .side-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.7);
                backdrop-filter: blur(5px);
                z-index: 999;
                animation: fadeIn 0.3s ease;
            }

            @keyframes fadeIn {
                from { opacity: 0; }
                to { opacity: 1; }
            }

            .side-overlay.active {
                display: block;
            }
        }

        /* Main Content Area */
        .main-content {
            margin-left: 260px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: #f8fafc;
        }

        [data-theme="dark"] .main-content {
            background: #0f172a;
        }

        @media (max-width: 991.98px) {
            .main-content {
                margin-left: 0;
            }
        }

        /* Main Header */
        .main-header {
            background: white;
            padding: 1.25rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #e9ecef;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        [data-theme="dark"] .main-header {
            background: #1e293b;
            border-bottom-color: #334155;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 991.98px) {
            .main-header {
                padding: 1rem 1.5rem;
            }
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #495057;
            cursor: pointer;
            padding: 0.75rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        [data-theme="dark"] .mobile-menu-btn {
            background: #334155;
            color: #cbd5e1;
        }

        .mobile-menu-btn:hover {
            background-color: #e9ecef;
            transform: rotate(90deg);
        }

        [data-theme="dark"] .mobile-menu-btn:hover {
            background-color: #475569;
        }

        @media (max-width: 991.98px) {
            .mobile-menu-btn {
                display: block;
            }
        }

        .page-title {
            flex: 1;
        }

        .page-title .title {
            margin: 0;
            font-size: 1.75rem;
            font-weight: 700;
            color: #343a40;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        [data-theme="dark"] .page-title .title {
            color: #f1f5f9;
        }

        .page-title .title i {
            color: var(--sidebar-accent);
            font-size: 1.5rem;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .action-btn {
            background: #f8f9fa;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #495057;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1.25rem;
            position: relative;
        }

        [data-theme="dark"] .action-btn {
            background: #334155;
            color: #cbd5e1;
        }

        .action-btn:hover {
            background-color: #e9ecef;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] .action-btn:hover {
            background-color: #475569;
        }

        .action-btn.notification::after {
            content: '';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 8px;
            height: 8px;
            background: #ff4757;
            border-radius: 50%;
            border: 2px solid white;
        }

        [data-theme="dark"] .action-btn.notification::after {
            border-color: #1e293b;
        }

        /* Main Container */
        .main-container {
            flex: 1;
            padding: 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        }

        [data-theme="dark"] .main-container {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

        @media (max-width: 991.98px) {
            .main-container {
                padding: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .main-container {
                padding: 1rem;
            }
        }

        /* Animasi untuk Sidebar Items */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .side-nav .side-item {
            animation: slideIn 0.3s ease forwards;
            animation-delay: calc(var(--item-index, 0) * 0.05s);
            opacity: 0;
        }

        /* Dashboard Content Styles */
        .dashboard-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .dashboard-card {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }

        [data-theme="dark"] .dashboard-card {
            background: #1e293b;
            border-color: #334155;
        }

        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
        }

        .card-icon.users {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .card-icon.sellers {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .card-icon.transactions {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .card-icon.products {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        .card-trend {
            display: flex;
            align-items: center;
            font-size: 0.85rem;
            padding: 0.25rem 0.5rem;
            border-radius: 20px;
            background: #f8f9fa;
        }

        [data-theme="dark"] .card-trend {
            background: #334155;
        }

        .card-trend.up {
            color: #28a745;
        }

        .card-trend.down {
            color: #dc3545;
        }

        .card-value {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #343a40;
        }

        [data-theme="dark"] .card-value {
            color: #f1f5f9;
        }

        .card-label {
            color: #6c757d;
            font-size: 0.95rem;
        }

        [data-theme="dark"] .card-label {
            color: #94a3b8;
        }

        .recent-activity {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
            border: 1px solid #e9ecef;
        }

        [data-theme="dark"] .recent-activity {
            background: #1e293b;
            border-color: #334155;
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #343a40;
        }

        [data-theme="dark"] .section-title {
            color: #f1f5f9;
        }

        .activity-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .activity-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border-radius: 12px;
            background: #f8f9fa;
            transition: all 0.3s ease;
        }

        [data-theme="dark"] .activity-item {
            background: #334155;
        }

        .activity-item:hover {
            background: #e9ecef;
        }

        [data-theme="dark"] .activity-item:hover {
            background: #475569;
        }

        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
        }

        .activity-icon.user {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .activity-icon.transaction {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .activity-icon.product {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .activity-content {
            flex: 1;
        }

        .activity-text {
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .activity-time {
            font-size: 0.85rem;
            color: #6c757d;
        }

        [data-theme="dark"] .activity-time {
            color: #94a3b8;
        }


        .user-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .user-profile:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--sidebar-accent), #2979ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: white;
            font-size: 1rem;
            box-shadow: 0 4px 8px rgba(41, 121, 255, 0.3);
        }

        .user-info {
            flex: 1;
        }

        .user-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--sidebar-text);
            margin-bottom: 0.1rem;
        }

        .user-role {
            font-size: 0.75rem;
            color: var(--sidebar-icon);
            opacity: 0.8;
        }

        /* Responsive Design untuk Sidebar */
        @media (max-width: 991.98px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
                box-shadow: 5px 0 35px rgba(0, 0, 0, 0.2);
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .sidebar-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.7);
                backdrop-filter: blur(5px);
                z-index: 999;
                animation: fadeIn 0.3s ease;
            }

            @keyframes fadeIn {
                from { opacity: 0; }
                to { opacity: 1; }
            }

            .sidebar-overlay.active {
                display: block;
            }
        }

        /* Main Content Area */
        .main-content {
            margin-left: 260px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: #f8fafc;
        }

        [data-theme="dark"] .main-content {
            background: #0f172a;
        }

        @media (max-width: 991.98px) {
            .main-content {
                margin-left: 0;
            }
        }

        /* Main Header */
        .main-header {
            background: white;
            padding: 1.25rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #e9ecef;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        [data-theme="dark"] .main-header {
            background: #1e293b;
            border-bottom-color: #334155;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 991.98px) {
            .main-header {
                padding: 1rem 1.5rem;
            }
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #495057;
            cursor: pointer;
            padding: 0.75rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        [data-theme="dark"] .mobile-menu-btn {
            background: #334155;
            color: #cbd5e1;
        }

        .mobile-menu-btn:hover {
            background-color: #e9ecef;
            transform: rotate(90deg);
        }

        [data-theme="dark"] .mobile-menu-btn:hover {
            background-color: #475569;
        }

        @media (max-width: 991.98px) {
            .mobile-menu-btn {
                display: block;
            }
        }

        .page-title {
            flex: 1;
        }

        .page-title .title {
            margin: 0;
            font-size: 1.75rem;
            font-weight: 700;
            color: #343a40;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        [data-theme="dark"] .page-title .title {
            color: #f1f5f9;
        }

        .page-title .title i {
            color: var(--sidebar-accent);
            font-size: 1.5rem;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .action-btn {
            background: #f8f9fa;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #495057;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1.25rem;
            position: relative;
        }

        [data-theme="dark"] .action-btn {
            background: #334155;
            color: #cbd5e1;
        }

        .action-btn:hover {
            background-color: #e9ecef;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] .action-btn:hover {
            background-color: #475569;
        }

        .action-btn.notification::after {
            content: '';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 8px;
            height: 8px;
            background: #ff4757;
            border-radius: 50%;
            border: 2px solid white;
        }

        [data-theme="dark"] .action-btn.notification::after {
            border-color: #1e293b;
        }

        /* Main Container */
        .main-container {
            flex: 1;
            padding: 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        }

        [data-theme="dark"] .main-container {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

        @media (max-width: 991.98px) {
            .main-container {
                padding: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .main-container {
                padding: 1rem;
            }
        }

        /* Animasi untuk Sidebar Items */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .sidebar-nav .nav-item {
            animation: slideIn 0.3s ease forwards;
            animation-delay: calc(var(--item-index, 0) * 0.05s);
            opacity: 0;
        }
        /* Account Detail Styles - White Theme */
.account-section-white {
    background: white !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-top: 10px !important;
    color: #333 !important;
}

.account-inner-white {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 15px !important;
    border: 1px solid #e9ecef !important;
}

.account-title-white {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.security-note-white {
    background: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 5px !important;
}

/* Link specific styles */
.link-button-primary {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

.link-button-secondary {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
}
        .header {
            background-color: white;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .title {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }
        
        .tabs-container {
            background-color: white;
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: none;
        }
        
        .tabs-container::-webkit-scrollbar {
            display: none;
        }
        
        .tab-btn {
            background: none;
            border: none;
            padding: 8px 16px;
            font-size: 14px;
            color: var(--secondary-color);
            border-radius: 20px;
            margin-right: 8px;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .tab-btn.active {
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
        }
        
        .search-section {
            background-color: white;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .search-box {
            position: relative;
            margin-bottom: 16px;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 16px 10px 40px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            background-color: var(--light-gray);
        }
        
        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--secondary-color);
        }
        
        .filter-section {
            display: flex;
            gap: 12px;
        }
        
        .filter-btn {
            flex: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 16px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background-color: white;
            font-size: 14px;
            color: #333;
            cursor: pointer;
        }
        
        .filter-btn i {
            color: var(--secondary-color);
        }
        
        .order-item {
            background-color: white;
            border-radius: 12px;
            padding: 16px;
            margin: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .order-item.hidden {
            display: none;
        }
        
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .order-status {
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 12px;
            font-weight: 500;
        }
        
        .status-waiting {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .status-shipped {
            background-color: #d1ecf1;
            color: #0c5460;
        }
        
        .status-completed {
            background-color: #d4edda;
            color: #155724;
        }
        
        .status-failed {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        .order-date {
            font-size: 12px;
            color: var(--secondary-color);
        }
        
        .product-info {
            display: flex;
            margin-bottom: 16px;
        }
        
        .product-image {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            background-color: #e9ecef;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #adb5bd;
        }
        
        .product-details {
            flex: 1;
        }
        
        .product-name {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 4px;
            line-height: 1.3;
        }
        
        .product-price {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .product-qty {
            font-size: 12px;
            color: var(--secondary-color);
            margin-top: 4px;
        }
        
        .order-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid var(--border-color);
        }
        
        .total-label {
            font-size: 12px;
            color: var(--secondary-color);
        }
        
        .total-price {
            font-size: 16px;
            font-weight: 600;
        }
        
        .action-buttons {
            display: flex;
            gap: 8px;
        }
        
        .btn-secondary {
            padding: 6px 12px;
            font-size: 12px;
            border: 1px solid var(--border-color);
            background-color: white;
            border-radius: 6px;
            color: #333;
            cursor: pointer;
        }
        
        .btn-primary {
            padding: 6px 12px;
            font-size: 12px;
            background-color: var(--primary-color);
            border: none;
            border-radius: 6px;
            color: white;
            cursor: pointer;
        }
        
        .chat-cs-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 6px 12px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
        }
        
        .chat-cs-btn i {
            font-size: 14px;
        }
        
        /* Chat Modal Styles */
        .modal-header-custom {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
            border-radius: 12px 12px 0 0;
        }
        
        .modal-title-custom {
            font-size: 18px;
            font-weight: 600;
        }
        
        .chat-message {
            padding: 10px 15px;
            border-radius: 18px;
            margin-bottom: 10px;
            max-width: 80%;
            font-size: 14px;
        }
        
        .chat-message.user {
            background-color: var(--primary-color);
            color: white;
            margin-left: auto;
            border-bottom-right-radius: 5px;
        }
        
        .chat-message.cs {
            background-color: #e9ecef;
            color: #333;
            margin-right: auto;
            border-bottom-left-radius: 5px;
        }
        
        .chat-message.system {
            background-color: #fff3cd;
            color: #856404;
            margin: 10px auto;
            text-align: center;
            max-width: 90%;
            font-size: 12px;
        }
        
        .chat-time {
            font-size: 10px;
            color: var(--secondary-color);
            text-align: right;
            margin-top: 2px;
        }
        
        .chat-input-container {
            display: flex;
            gap: 10px;
            align-items: center;
            padding: 10px;
            border-top: 1px solid var(--border-color);
        }
        
        .chat-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 14px;
        }
        
        .send-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        
        .order-detail-in-chat {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            border-left: 4px solid var(--primary-color);
        }
        
        .order-detail-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .order-detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 13px;
        }
        
        .order-detail-label {
            color: var(--secondary-color);
        }
        
        .order-detail-value {
            font-weight: 500;
        }
        
        .product-in-chat {
            display: flex;
            align-items: center;
            margin: 10px 0;
            padding: 10px;
            background-color: white;
            border-radius: 8px;
        }
        
        .product-image-chat {
            width: 50px;
            height: 50px;
            border-radius: 6px;
            background-color: #e9ecef;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #adb5bd;
        }
        
        .product-info-chat {
            flex: 1;
        }
        
        .product-name-chat {
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 2px;
        }
        
        .product-price-chat {
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .chat-quick-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .quick-action-btn {
            padding: 8px 12px;
            font-size: 12px;
            border: 1px solid var(--border-color);
            background-color: white;
            border-radius: 6px;
            color: #333;
            flex: 1;
            text-align: center;
            cursor: pointer;
        }
        
        .quick-action-btn.primary {
            background-color: var(--primary-color);
            color: white;
            border: none;
        }
        
        .order-info-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .order-number {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .order-status-chat {
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 10px;
            font-weight: 500;
        }
        
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            display: none;
        }
        
        .empty-state.active {
            display: block;
        }
        
        .empty-icon {
            font-size: 48px;
            color: #ddd;
            margin-bottom: 16px;
        }
        
        .empty-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .empty-desc {
            font-size: 14px;
            color: var(--secondary-color);
            max-width: 300px;
            margin: 0 auto;
        }
        
        .filter-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 150px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
            z-index: 1000;
            border-radius: 8px;
            overflow: hidden;
            margin-top: 5px;
        }
        
        .dropdown-content.show {
            display: block;
        }
        
        .dropdown-item {
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            color: #333;
            font-size: 14px;
            border-bottom: 1px solid #f1f1f1;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .dropdown-item:hover {
            background-color: #f8f9fa;
        }
        
        .dropdown-item.active {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        .dropdown-item:last-child {
            border-bottom: none;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
            color: var(--secondary-color);
        }
        
        /* Order Detail Modal */
        .modal-detail {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 1050;
            display: none;
            justify-content: center;
            align-items: center;
        }
        
        .modal-detail.active {
            display: flex;
        }
        
        .modal-detail-content {
            background-color: white;
            width: 90%;
            max-width: 500px;
            border-radius: 12px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .modal-detail-header {
            background-color: var(--primary-color);
            color: white;
            padding: 20px;
            border-radius: 12px 12px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .modal-detail-title {
            font-size: 18px;
            font-weight: 600;
        }
        
        .close-detail-btn {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }
        
        .modal-detail-body {
            padding: 20px;
        }
        
        .detail-section {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .detail-section:last-child {
            border-bottom: none;
        }
        
        .detail-section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .detail-label {
            color: var(--secondary-color);
        }
        
        .detail-value {
            font-weight: 500;
            text-align: right;
        }
        
        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            z-index: 100;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--secondary-color);
            text-decoration: none;
            font-size: 12px;
            cursor: pointer;
        }
        
        .nav-item.active {
            color: var(--primary-color);
        }
        
        .nav-icon {
            font-size: 20px;
            margin-bottom: 4px;
        }
        
        .nav-text {
            font-size: 11px;
        }
        
        .badge-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #ff3b30;
            color: white;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-item-wrapper {
            position: relative;
        }
        /* Tambahkan di dalam style section Anda */

.qris-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.qris-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.qris-button i {
    font-size: 16px;
}

.qris-button-small {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
}
/* Account accordion styles */
.account-accordion {
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.account-accordion-header {
    padding: 12px 15px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.account-accordion-header:hover {
    background: #e9ecef;
}

.account-accordion-header.active {
    background: #e7f3ff;
    border-bottom: 1px solid #dee2e6;
}

.account-accordion-content {
    display: none;
    padding: 15px;
    background: white;
    animation: slideDown 0.3s ease;
}

.account-accordion-content.show {
    display: block;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toggle password styles */
.password-field {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}