/* ============================================ */
/* HPZ STORE - USER PAGE STYLES                 */
/* ============================================ */

        /* ============================================
                   DASHBOARD CUSTOM STYLE
                   ============================================ */
        body { 
            font-family: 'Inter', sans-serif; 
            background-color: #f3f4f6; 
        }
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            font-size: 24px;
        }
        
        /* ============================================
                   MAIN CONTENT
                   ============================================ */
        .dashboard-main {
            padding: 30px 0 60px;
        }
        .dashboard-main .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* ============================================
                   WELCOME SECTION
                   ============================================ */
        .welcome-section {
            margin-bottom: 28px;
        }
        .welcome-section h4 {
            font-size: 20px;
            font-weight: 700;
            color: #1f2937;
        }
        .welcome-section h4 strong {
            color: #dc2626;
        }
        .welcome-section p {
            color: #6b7280;
            font-size: 14px;
            margin: 4px 0 0;
        }
        
        /* ============================================
                   STATS CARDS - RESPONSIVE GRID
                   ============================================ */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }
        
        /* Tablet */
        @media (max-width: 992px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
        }
        
        /* Mobile */
        @media (max-width: 576px) {
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
        }
        
        @media (max-width: 400px) {
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }
        
        .stat-card {
            background: #fff;
            padding: 18px 20px;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all 0.3s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .stat-card .icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 20px;
        }
        .stat-card .icon.orders { background: #fef2f2; color: #dc2626; }
        .stat-card .icon.wishlist { background: #f0fdf4; color: #22c55e; }
        .stat-card .icon.address { background: #fefce8; color: #eab308; }
        .stat-card .icon.pending { background: #eff6ff; color: #3b82f6; }
        .stat-card .stat-number {
            font-size: 22px;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.2;
        }
        .stat-card .stat-label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 500;
        }
        
        /* Mobile stat card adjustment */
        @media (max-width: 576px) {
            .stat-card {
                padding: 14px 16px;
                gap: 10px;
            }
            .stat-card .icon {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            .stat-card .stat-number {
                font-size: 18px;
            }
            .stat-card .stat-label {
                font-size: 10px;
            }
        }
        
        /* ============================================
                   DASHBOARD GRID
                   ============================================ */
        .dashboard-grid {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 24px;
        }
        
        @media (max-width: 992px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }
        
        /* ============================================
                   SIDEBAR
                   ============================================ */
        .dashboard-sidebar {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 20px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            height: fit-content;
        }
        
        @media (max-width: 992px) {
            .dashboard-sidebar {
                margin-bottom: 0;
                order: 2;
            }
        }
        
        @media (max-width: 768px) {
            .dashboard-sidebar {
                order: 2;
                margin-top: 0;
            }
        }
        
        .dashboard-sidebar .sidebar-profile {
            display: flex;
            align-items: center;
            gap: 14px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f3f4f6;
            margin-bottom: 16px;
        }
        .dashboard-sidebar .sidebar-profile .avatar-lg {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #dc2626;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 20px;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        .dashboard-sidebar .sidebar-profile .profile-name {
            font-weight: 600;
            color: #1f2937;
            font-size: 14px;
        }
        .dashboard-sidebar .sidebar-profile .profile-role {
            font-size: 11px;
            color: #6b7280;
            font-weight: 500;
        }
        
        /* ============================================
                   LOYALTY CARD
                   ============================================ */
        .loyalty-card {
            position: relative;
            background: linear-gradient(135deg, #b91c1c, #991b1b);
            border-radius: 16px;
            padding: 20px;
            color: #fff;
            overflow: hidden;
            margin-bottom: 16px;
            border: 1px solid #7f1d1d;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .loyalty-card .card-bg {
            position: absolute;
            right: 0;
            bottom: 0;
            top: 0;
            width: 40%;
            opacity: 0.2;
            pointer-events: none;
        }
        .loyalty-card .card-bg svg {
            width: 100%;
            height: 100%;
        }
        .loyalty-card .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
            z-index: 1;
        }
        .loyalty-card .card-header .brand {
            font-weight: 900;
            font-size: 18px;
            letter-spacing: -0.5px;
        }
        .loyalty-card .card-header .brand span {
            color: #1a1a1a;
        }
        .loyalty-card .card-header .badge-loyalty {
            font-size: 8px;
            background: rgba(0,0,0,0.2);
            padding: 2px 8px;
            border-radius: 20px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .loyalty-card .card-body {
            position: relative;
            z-index: 1;
            margin-top: 16px;
        }
        .loyalty-card .card-body .member-name {
            font-weight: 700;
            font-size: 14px;
        }
        .loyalty-card .card-body .member-id {
            font-size: 9px;
            opacity: 0.7;
            letter-spacing: 0.5px;
            margin-top: 2px;
        }
        
        .btn-membership {
            width: 100%;
            padding: 12px;
            background: #dc2626;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 12px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 16px;
            cursor: pointer;
        }
        .btn-membership:hover {
            background: #b91c1c;
        }
        
        /* ============================================
                   SIDEBAR MENU
                   ============================================ */
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-menu li {
            margin-bottom: 2px;
        }
        .sidebar-menu li a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 8px;
            color: #4b5563;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s;
            text-decoration: none;
        }
        .sidebar-menu li a:hover {
            background: #f9fafb;
            color: #dc2626;
        }
        .sidebar-menu li a.active {
            background: #fef2f2;
            color: #dc2626;
            font-weight: 600;
        }
        .sidebar-menu li a i {
            width: 20px;
            font-size: 18px;
            color: #9ca3af;
        }
        .sidebar-menu li a.active i {
            color: #dc2626;
        }
        .sidebar-menu li a:hover i {
            color: #dc2626;
        }
        .sidebar-menu li.divider {
            border-top: 1px solid #f3f4f6;
            margin: 8px 0;
        }
        
        /* ============================================
                   CONTENT AREA
                   ============================================ */
        .dashboard-content {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 24px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        
        @media (max-width: 768px) {
            .dashboard-content {
                padding: 16px;
                order: 1;
            }
        }
        
        .dashboard-content .content-header {
            padding-bottom: 16px;
            border-bottom: 1px solid #f3f4f6;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .dashboard-content .content-header h5 {
            font-weight: 700;
            color: #1f2937;
            font-size: 16px;
            margin: 0;
        }
        .dashboard-content .content-header h5 i {
            color: #dc2626;
            margin-right: 8px;
        }
        .dashboard-content .content-header p {
            color: #6b7280;
            font-size: 13px;
            margin: 0;
        }
        
        /* ============================================
                   TABLE - RESPONSIVE
                   ============================================ */
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .table-responsive::-webkit-scrollbar {
            height: 6px;
        }
        .table-responsive::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        .table-responsive::-webkit-scrollbar-thumb {
            background: #dc2626;
            border-radius: 4px;
        }
        
        .table-dashboard {
            width: 100%;
            font-size: 13px;
            border-collapse: collapse;
            min-width: 500px;
        }
        .table-dashboard thead th {
            background: #f9fafb;
            color: #4b5563;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #e5e7eb;
            padding: 12px 16px;
            text-align: left;
        }
        .table-dashboard tbody td {
            padding: 12px 16px;
            vertical-align: middle;
            border-bottom: 1px solid #f3f4f6;
        }
        .table-dashboard tbody tr:hover {
            background: #fafafa;
        }
        .table-dashboard .order-id {
            font-weight: 600;
            color: #1f2937;
        }
        
        /* Mobile table */
        @media (max-width: 576px) {
            .table-dashboard {
                font-size: 12px;
                min-width: 400px;
            }
            .table-dashboard thead th,
            .table-dashboard tbody td {
                padding: 8px 12px;
            }
        }
        
        /* ============================================
                   BADGE STATUS
                   ============================================ */
        .badge-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            display: inline-block;
        }
        .badge-status.success { background: #dcfce7; color: #16a34a; }
        .badge-status.pending { background: #fef3c7; color: #d97706; }
        .badge-status.processing { background: #dbeafe; color: #2563eb; }
        .badge-status.cancelled { background: #fee2e2; color: #dc2626; }
        
        .btn-view {
            padding: 4px 14px;
            font-size: 12px;
            border-radius: 6px;
            border: 1px solid #dc2626;
            color: #dc2626;
            background: transparent;
            font-weight: 600;
            transition: all 0.2s;
            text-decoration: none;
            display: inline-block;
        }
        .btn-view:hover {
            background: #dc2626;
            color: #fff;
        }
        
        .btn-view-all {
            color: #dc2626;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }
        .btn-view-all:hover {
            color: #b91c1c;
            text-decoration: underline;
        }
        .btn-view-all i {
            margin-left: 4px;
            font-size: 12px;
        }
        
        /* ============================================
                   EMPTY STATE
                   ============================================ */
        .empty-state {
            text-align: center;
            padding: 50px 20px;
        }
        .empty-state .icon-empty {
            font-size: 56px;
            color: #d1d5db;
            margin-bottom: 16px;
        }
        .empty-state h6 {
            font-weight: 600;
            color: #1f2937;
            font-size: 18px;
            margin-bottom: 8px;
        }
        .empty-state p {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 20px;
        }
        .btn-primary-shop {
            background: #dc2626;
            color: #fff;
            padding: 10px 32px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            border: none;
            transition: all 0.2s;
            text-decoration: none;
            display: inline-block;
        }
        .btn-primary-shop:hover {
            background: #b91c1c;
            color: #fff;
        }
        
        /* ============================================
                   TOAST NOTIFICATION
                   ============================================ */
        .toast-notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99999;
            background: #1a1a2e;
            color: #fff;
            padding: 12px 24px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            max-width: 90%;
        }
        .toast-notification.show {
            opacity: 1;
            pointer-events: auto;
        }
        .toast-notification.success {
            background: #065f46;
        }
        .toast-notification.error {
            background: #991b1b;
        }
        .toast-notification .toast-close {
            cursor: pointer;
            font-size: 20px;
            color: rgba(255,255,255,0.6);
            background: none;
            border: none;
        }
        .toast-notification .toast-close:hover {
            color: #fff;
        }
        
        /* ============================================
                   RESPONSIVE FIXES
                   ============================================ */
        
        /* Tablet */
        @media (max-width: 992px) {
            .welcome-section h4 {
                font-size: 18px;
            }
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* Mobile Large */
        @media (max-width: 768px) {
            .dashboard-main {
                padding: 20px 0 40px;
            }
            .welcome-section h4 {
                font-size: 17px;
            }
            .welcome-section p {
                font-size: 13px;
            }
            .stats-grid {
                gap: 12px;
            }
            .stat-card .stat-number {
                font-size: 18px;
            }
            .stat-card {
                padding: 14px 16px;
            }
            .dashboard-content .content-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .dashboard-content .content-header h5 {
                font-size: 15px;
            }
            .btn-view-all {
                font-size: 12px;
            }
        }
        
        /* Mobile Small */
        @media (max-width: 480px) {
            .dashboard-main .container {
                padding: 0 12px;
            }
            .welcome-section h4 {
                font-size: 15px;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .stat-card {
                padding: 10px 12px;
                gap: 8px;
                border-radius: 8px;
            }
            .stat-card .icon {
                width: 32px;
                height: 32px;
                font-size: 14px;
                border-radius: 8px;
            }
            .stat-card .stat-number {
                font-size: 16px;
            }
            .stat-card .stat-label {
                font-size: 9px;
            }
            .dashboard-content {
                padding: 12px;
            }
            .dashboard-content .content-header h5 {
                font-size: 14px;
            }
            .dashboard-content .content-header p {
                font-size: 12px;
            }
            .dashboard-sidebar {
                padding: 14px;
            }
            .table-dashboard {
                font-size: 11px;
                min-width: 350px;
            }
            .table-dashboard thead th,
            .table-dashboard tbody td {
                padding: 6px 10px;
            }
            .btn-view {
                padding: 2px 10px;
                font-size: 10px;
            }
            .empty-state {
                padding: 30px 10px;
            }
            .empty-state .icon-empty {
                font-size: 40px;
            }
            .empty-state h6 {
                font-size: 15px;
            }
            .btn-primary-shop {
                padding: 8px 24px;
                font-size: 12px;
            }
        }
        
        @media (max-width: 380px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
            .stat-card {
                padding: 12px 14px;
            }
            .stat-card .icon {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }
            .stat-card .stat-number {
                font-size: 18px;
            }
        }
        
        /* ===== OFFCANVAS MINICART - PASTIKAN TAMPAK ===== */
        .offCanvas__minicart {
            position: fixed;
            top: 0;
            right: -420px;
            width: 400px;
            height: 100%;
            background: #fff;
            z-index: 99999;
            transition: all 0.4s ease;
            box-shadow: -4px 0 20px rgba(0,0,0,0.1);
            overflow-y: auto;
            padding: 20px;
        }
        .offCanvas__minicart.open {
            right: 0 !important;
        }
        .offcanvas__overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 99998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .offcanvas__overlay.active {
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        /* ============================================
                   DASHBOARD CUSTOM STYLE
                   ============================================ */
        body { 
            font-family: 'Inter', sans-serif; 
            background-color: #f3f4f6; 
        }
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            font-size: 24px;
        }
        
        /* ============================================
                   MAIN CONTENT
                   ============================================ */
        .dashboard-main {
            padding: 30px 0 60px;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .dashboard-main .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* ============================================
                   REGISTER CARD
                   ============================================ */
        .register-card {
            background: #fff;
            border-radius: 16px;
            border: 1px solid #e5e7eb;
            padding: 40px;
            max-width: 480px;
            width: 100%;
            margin: 0 auto;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        
        .register-card .brand-logo {
            text-align: center;
            margin-bottom: 24px;
        }
        .register-card .brand-logo .brand {
            font-weight: 900;
            font-size: 28px;
            letter-spacing: -0.5px;
            color: #1f2937;
        }
        .register-card .brand-logo .brand span {
            color: #dc2626;
        }
        .register-card .brand-logo p {
            color: #6b7280;
            font-size: 13px;
            margin-top: 4px;
        }
        
        .register-card .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #6b7280;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s;
            margin-bottom: 16px;
        }
        .register-card .back-link:hover {
            color: #dc2626;
        }
        
        /* ============================================
                   SOCIAL BUTTONS
                   ============================================ */
        .social-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 20px;
        }
        .social-buttons .btn-social {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 16px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            background: #fff;
            font-size: 13px;
            font-weight: 600;
            color: #4b5563;
            transition: all 0.2s;
            cursor: pointer;
        }
        .social-buttons .btn-social:hover {
            background: #f9fafb;
            border-color: #d1d5db;
        }
        .social-buttons .btn-social.google:hover {
            background: #fef2f2;
            border-color: #dc2626;
        }
        .social-buttons .btn-social.facebook:hover {
            background: #eff6ff;
            border-color: #3b82f6;
        }
        .social-buttons .btn-social svg {
            width: 18px;
            height: 18px;
        }
        
        .divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 20px 0;
        }
        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }
        .divider span {
            font-size: 12px;
            color: #9ca3af;
            font-weight: 500;
            white-space: nowrap;
        }
        
        /* ============================================
                   FORM
                   ============================================ */
        .register-form .form-group {
            margin-bottom: 16px;
        }
        .register-form .form-group label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: #4b5563;
            margin-bottom: 4px;
        }
        .register-form .form-group label .text-danger {
            color: #dc2626;
        }
        .register-form .form-group .form-control {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.2s;
            background: #fff;
        }
        .register-form .form-group .form-control:focus {
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
            outline: none;
        }
        .register-form .form-group .form-control.error {
            border-color: #dc2626;
        }
        .register-form .form-group .form-control.success {
            border-color: #22c55e;
        }
        .register-form .form-group .input-wrapper {
            position: relative;
        }
        .register-form .form-group .input-wrapper .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            font-size: 16px;
            padding: 4px;
        }
        .register-form .form-group .input-wrapper .toggle-password:hover {
            color: #4b5563;
        }
        
        .register-form .form-check {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 16px 0;
        }
        .register-form .form-check input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: #dc2626;
            cursor: pointer;
            flex-shrink: 0;
        }
        .register-form .form-check label {
            font-size: 12px;
            color: #6b7280;
            line-height: 1.5;
        }
        .register-form .form-check label a {
            color: #dc2626;
            text-decoration: none;
        }
        .register-form .form-check label a:hover {
            text-decoration: underline;
        }
        
        .register-form .btn-register {
            width: 100%;
            padding: 12px;
            background: #dc2626;
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            transition: all 0.2s;
            cursor: pointer;
        }
        .register-form .btn-register:hover {
            background: #b91c1c;
        }
        .register-form .btn-register:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .register-form .login-link {
            text-align: center;
            margin-top: 20px;
            font-size: 13px;
            color: #6b7280;
        }
        .register-form .login-link a {
            color: #dc2626;
            font-weight: 600;
            text-decoration: none;
        }
        .register-form .login-link a:hover {
            text-decoration: underline;
        }
        
        /* ============================================
                   ALERT
                   ============================================ */
        .alert {
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 13px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .alert-success {
            background: #dcfce7;
            color: #166534;
            border: 1px solid #86efac;
        }
        .alert-danger {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }
        .alert i {
            font-size: 18px;
        }
        
        /* ============================================
                   TOAST NOTIFICATION
                   ============================================ */
        .toast-notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99999;
            background: #1a1a2e;
            color: #fff;
            padding: 12px 24px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            max-width: 90%;
        }
        .toast-notification.show {
            opacity: 1;
            pointer-events: auto;
        }
        .toast-notification.success {
            background: #065f46;
        }
        .toast-notification.error {
            background: #991b1b;
        }
        .toast-notification .toast-close {
            cursor: pointer;
            font-size: 20px;
            color: rgba(255,255,255,0.6);
            background: none;
            border: none;
        }
        .toast-notification .toast-close:hover {
            color: #fff;
        }
        
        /* ============================================
                   RESPONSIVE
                   ============================================ */
        @media (max-width: 768px) {
            .register-card {
                padding: 28px 20px;
            }
            .register-card .brand-logo .brand {
                font-size: 24px;
            }
            .social-buttons {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .social-buttons .btn-social {
                font-size: 12px;
                padding: 8px 12px;
            }
        }
        
        @media (max-width: 480px) {
            .register-card {
                padding: 20px 16px;
                border-radius: 12px;
            }
            .register-card .brand-logo .brand {
                font-size: 20px;
            }
            .register-card .brand-logo p {
                font-size: 12px;
            }
            .social-buttons {
                grid-template-columns: 1fr;
            }
            .social-buttons .btn-social {
                font-size: 12px;
                padding: 10px 14px;
            }
            .register-form .form-group .form-control {
                font-size: 13px;
                padding: 8px 12px;
            }
            .register-form .btn-register {
                font-size: 13px;
                padding: 10px;
            }
        }
        
        @media (max-width: 380px) {
            .register-card {
                padding: 16px 12px;
            }
            .register-form .form-group {
                margin-bottom: 12px;
            }
            .register-form .form-check label {
                font-size: 11px;
            }
        }
        
        /* ===== DASHBOARD CUSTOM STYLE ===== */
        body { 
            font-family: 'Inter', sans-serif; 
            background-color: #f3f4f6; 
        }
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            font-size: 24px;
        }
        
        /* ===== MAIN CONTENT ===== */
        .dashboard-main {
            padding: 30px 0 60px;
        }
        .dashboard-main .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* ===== WELCOME SECTION ===== */
        .welcome-section {
            margin-bottom: 28px;
        }
        .welcome-section h4 {
            font-size: 20px;
            font-weight: 700;
            color: #1f2937;
        }
        .welcome-section h4 strong {
            color: #dc2626;
        }
        .welcome-section p {
            color: #6b7280;
            font-size: 14px;
            margin: 4px 0 0;
        }
        
        /* ===== STATS CARDS ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }
        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
        }
        
        .stat-card {
            background: #fff;
            padding: 18px 20px;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all 0.3s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .stat-card .icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 20px;
        }
        .stat-card .icon.orders { background: #fef2f2; color: #dc2626; }
        .stat-card .icon.wishlist { background: #f0fdf4; color: #22c55e; }
        .stat-card .icon.address { background: #fefce8; color: #eab308; }
        .stat-card .icon.pending { background: #eff6ff; color: #3b82f6; }
        .stat-card .stat-number {
            font-size: 22px;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.2;
        }
        .stat-card .stat-label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 500;
        }
        
        /* ===== DASHBOARD GRID ===== */
        .dashboard-grid {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 24px;
        }
        @media (max-width: 992px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* ===== SIDEBAR ===== */
        .dashboard-sidebar {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 20px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            height: fit-content;
        }
        .dashboard-sidebar .sidebar-profile {
            display: flex;
            align-items: center;
            gap: 14px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f3f4f6;
            margin-bottom: 16px;
        }
        .dashboard-sidebar .sidebar-profile .avatar-lg {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #dc2626;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 20px;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        .dashboard-sidebar .sidebar-profile .profile-name {
            font-weight: 600;
            color: #1f2937;
            font-size: 14px;
        }
        .dashboard-sidebar .sidebar-profile .profile-role {
            font-size: 11px;
            color: #6b7280;
            font-weight: 500;
        }
        
        /* ===== LOYALTY CARD ===== */
        .loyalty-card {
            position: relative;
            background: linear-gradient(135deg, #b91c1c, #991b1b);
            border-radius: 16px;
            padding: 20px;
            color: #fff;
            overflow: hidden;
            margin-bottom: 16px;
            border: 1px solid #7f1d1d;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .loyalty-card .card-bg {
            position: absolute;
            right: 0;
            bottom: 0;
            top: 0;
            width: 40%;
            opacity: 0.2;
            pointer-events: none;
        }
        .loyalty-card .card-bg svg {
            width: 100%;
            height: 100%;
        }
        .loyalty-card .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
            z-index: 1;
        }
        .loyalty-card .card-header .brand {
            font-weight: 900;
            font-size: 18px;
            letter-spacing: -0.5px;
        }
        .loyalty-card .card-header .brand span {
            color: #1a1a1a;
        }
        .loyalty-card .card-header .badge-loyalty {
            font-size: 8px;
            background: rgba(0,0,0,0.2);
            padding: 2px 8px;
            border-radius: 20px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .loyalty-card .card-body {
            position: relative;
            z-index: 1;
            margin-top: 16px;
        }
        .loyalty-card .card-body .member-name {
            font-weight: 700;
            font-size: 14px;
        }
        .loyalty-card .card-body .member-id {
            font-size: 9px;
            opacity: 0.7;
            letter-spacing: 0.5px;
            margin-top: 2px;
        }
        
        .btn-membership {
            width: 100%;
            padding: 12px;
            background: #dc2626;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 12px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 16px;
        }
        .btn-membership:hover {
            background: #b91c1c;
        }
        
        /* ===== SIDEBAR MENU ===== */
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-menu li {
            margin-bottom: 2px;
        }
        .sidebar-menu li a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 8px;
            color: #4b5563;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s;
            text-decoration: none;
        }
        .sidebar-menu li a:hover {
            background: #f9fafb;
            color: #dc2626;
        }
        .sidebar-menu li a.active {
            background: #fef2f2;
            color: #dc2626;
            font-weight: 600;
        }
        .sidebar-menu li a i,
        .sidebar-menu li a .material-symbols-outlined {
            width: 20px;
            font-size: 18px;
            color: #9ca3af;
        }
        .sidebar-menu li a.active i,
        .sidebar-menu li a.active .material-symbols-outlined {
            color: #dc2626;
        }
        .sidebar-menu li a:hover i,
        .sidebar-menu li a:hover .material-symbols-outlined {
            color: #dc2626;
        }
        .sidebar-menu li.divider {
            border-top: 1px solid #f3f4f6;
            margin: 8px 0;
        }
        
        /* ===== CONTENT AREA ===== */
        .dashboard-content {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 24px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        .dashboard-content .content-header {
            padding-bottom: 16px;
            border-bottom: 1px solid #f3f4f6;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .dashboard-content .content-header h5 {
            font-weight: 700;
            color: #1f2937;
            font-size: 16px;
            margin: 0;
        }
        .dashboard-content .content-header h5 i {
            color: #dc2626;
            margin-right: 8px;
        }
        .dashboard-content .content-header p {
            color: #6b7280;
            font-size: 13px;
            margin: 0;
        }
        
        /* ===== SEARCH ===== */
        .search-box {
            position: relative;
            max-width: 400px;
        }
        .search-box input {
            width: 100%;
            padding: 10px 16px 10px 42px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            font-size: 13px;
            transition: all 0.2s;
            background: #f9fafb;
        }
        .search-box input:focus {
            outline: none;
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
            background: #fff;
        }
        .search-box i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 16px;
        }
        
        /* ===== TABS ===== */
        .tabs-container {
            overflow-x: auto;
            margin-bottom: 20px;
            -webkit-overflow-scrolling: touch;
        }
        .tabs-container::-webkit-scrollbar {
            height: 4px;
        }
        .tabs-container::-webkit-scrollbar-track {
            background: #f3f4f6;
            border-radius: 4px;
        }
        .tabs-container::-webkit-scrollbar-thumb {
            background: #dc2626;
            border-radius: 4px;
        }
        .tabs-container .tabs {
            display: flex;
            gap: 4px;
            border-bottom: 2px solid #f3f4f6;
            min-width: max-content;
            padding-bottom: 0;
        }
        .tabs-container .tab-btn {
            padding: 10px 18px;
            font-size: 13px;
            font-weight: 600;
            color: #6b7280;
            border: none;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
            background: none;
            white-space: nowrap;
            border-radius: 0;
            position: relative;
        }
        .tabs-container .tab-btn:hover {
            color: #1f2937;
            background: none;
        }
        .tabs-container .tab-btn.active {
            color: #dc2626;
            border-bottom-color: #dc2626;
            background: none;
        }
        .tabs-container .tab-btn .count {
            background: #f3f4f6;
            padding: 1px 8px;
            border-radius: 9999px;
            font-size: 11px;
            margin-left: 4px;
            transition: all 0.3s ease;
        }
        .tabs-container .tab-btn.active .count {
            background: #fef2f2;
            color: #dc2626;
        }
        .tabs-container .tab-btn:focus {
            outline: none;
        }
        
        /* Tab Content */
        .tab-content {
            animation: fadeIn 0.3s ease;
        }
        .tab-content.hidden {
            display: none !important;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* ===== ORDER CARD ===== */
        .order-card {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
            margin-bottom: 16px;
            transition: all 0.3s;
        }
        .order-card:hover {
            border-color: #d1d5db;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        .order-card .order-header {
            padding: 14px 20px;
            background: #f9fafb;
            border-bottom: 1px solid #f3f4f6;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }
        .order-card .order-header .order-id {
            font-weight: 700;
            color: #1f2937;
            font-size: 14px;
        }
        .order-card .order-header .order-date {
            font-size: 12px;
            color: #6b7280;
        }
        .order-card .order-body {
            padding: 16px 20px;
        }
        .order-card .order-body .product-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 4px 0;
        }
        .order-card .order-body .product-item .product-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background: #f3f4f6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #9ca3af;
            flex-shrink: 0;
        }
        .order-card .order-body .product-item .product-name {
            font-weight: 500;
            color: #1f2937;
            font-size: 14px;
        }
        .order-card .order-body .product-item .product-variant {
            font-size: 12px;
            color: #6b7280;
        }
        .order-card .order-body .product-item .product-qty {
            font-size: 12px;
            color: #6b7280;
        }
        .order-card .order-footer {
            padding: 12px 20px;
            background: #f9fafb;
            border-top: 1px solid #f3f4f6;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }
        .order-card .order-footer .total-label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 500;
        }
        .order-card .order-footer .total-price {
            font-size: 16px;
            font-weight: 700;
            color: #dc2626;
        }
        
        /* ===== BADGE STATUS ===== */
        .badge-status {
            padding: 4px 12px;
            border-radius: 9999px;
            font-size: 11px;
            font-weight: 700;
            display: inline-block;
        }
        .badge-status.pending { background: #fef3c7; color: #d97706; }
        .badge-status.processing { background: #dbeafe; color: #2563eb; }
        .badge-status.shipped { background: #dcfce7; color: #16a34a; }
        .badge-status.completed { background: #dcfce7; color: #16a34a; }
        .badge-status.delivered { background: #dcfce7; color: #16a34a; }
        .badge-status.cancelled { background: #fee2e2; color: #dc2626; }
        .badge-status.menunggu_verifikasi { background: #dbeafe; color: #2563eb; }
        
        /* ===== BUTTONS ===== */
        .btn-primary {
            background: #dc2626;
            color: #fff;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .btn-primary:hover { background: #b91c1c; }
        
        .btn-outline {
            background: transparent;
            color: #6b7280;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid #e5e7eb;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .btn-outline:hover { background: #f9fafb; border-color: #d1d5db; }
        
        .btn-danger-outline {
            background: transparent;
            color: #dc2626;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid #fca5a5;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .btn-danger-outline:hover { background: #fef2f2; }
        
        .btn-success-outline {
            background: transparent;
            color: #059669;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            border: 1px solid #6ee7b7;
            cursor: default;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .btn-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .timer-text {
            font-size: 12px;
            font-weight: 600;
            color: #dc2626;
        }
        
        /* ===== EMPTY STATE ===== */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
        }
        .empty-state .icon-empty {
            font-size: 56px;
            color: #d1d5db;
            margin-bottom: 16px;
        }
        .empty-state h6 {
            font-weight: 600;
            color: #1f2937;
            font-size: 18px;
            margin-bottom: 8px;
        }
        .empty-state p {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        /* ===== LOADING ===== */
        .loading-state {
            text-align: center;
            padding: 40px 0;
        }
        .loading-state .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid #f3f4f6;
            border-top-color: #dc2626;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* ===== TOAST ===== */
        .toast-notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99999;
            background: #1a1a2e;
            color: #fff;
            padding: 12px 24px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            max-width: 90%;
        }
        .toast-notification.show {
            opacity: 1;
            pointer-events: auto;
        }
        .toast-notification.success {
            background: #065f46;
        }
        .toast-notification.error {
            background: #991b1b;
        }
        .toast-notification .toast-close {
            cursor: pointer;
            font-size: 20px;
            color: rgba(255,255,255,0.6);
            background: none;
            border: none;
        }
        .toast-notification .toast-close:hover {
            color: #fff;
        }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .dashboard-content {
                padding: 16px;
            }
            .dashboard-sidebar {
                margin-bottom: 20px;
            }
            .stat-card .stat-number {
                font-size: 18px;
            }
            .stat-card {
                padding: 14px 16px;
            }
            .welcome-section h4 {
                font-size: 17px;
            }
            .order-card .order-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .order-card .order-footer {
                flex-direction: column;
                align-items: stretch;
            }
            .btn-actions {
                justify-content: center;
            }
            .search-box {
                max-width: 100%;
            }
        }
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .order-card .order-body .product-item {
                flex-wrap: wrap;
            }
        }        