   /* CSS Reset & Variables */
        html { font-size: 14px; }
        
        :root {
            --brand-900: #0f172a; --brand-800: #1e293b; --brand-50: #f8fafc;
            --primary-50: #eff6ff; --primary-100: #dbeafe; --primary-400: #60a5fa; --primary-500: #3b82f6; --primary-600: #2563eb;
            --emerald-50: #ecfdf5; --emerald-100: #d1fae5; --emerald-400: #34d399; --emerald-500: #10b981; --emerald-600: #059669;
            --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-500: #3b82f6; --blue-600: #2563eb;
            --purple-50: #faf5ff; --purple-500: #a855f7;
            --amber-50: #fffbeb; --amber-100: #fef3c7; --amber-500: #f59e0b; --amber-600: #d97706;
            --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
            --bg-main: #f3f6f9; --white: #ffffff; --transparent: transparent;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { background-color: var(--bg-main); font-family: 'Plus Jakarta Sans', sans-serif; color: var(--slate-800); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
        ::selection { background-color: var(--primary-500); color: var(--white); }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: var(--transparent); }
        ::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

        /* Animations */
        @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
        @keyframes pulseSoft { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } }
        @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

        .opacity-0 { opacity: 0; }
        .animate-fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
        .animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
        .animate-spin { animation: spin 1s linear infinite; }
        .animate-bounce { animation: bounce 1s infinite; }
        
        .delay-100 { animation-delay: 100ms; } .delay-200 { animation-delay: 200ms; } .delay-300 { animation-delay: 300ms; } .delay-400 { animation-delay: 400ms; } .delay-500 { animation-delay: 500ms; }

        /* Mobile Header */
        .mobile-header { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to right, rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.8)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); padding: 1rem 1.5rem; position: sticky; top: 0; z-index: 30; box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s; }
        .mh-left { display: flex; align-items: center; gap: 0.75rem; }
        .mh-logo { width: 2.5rem; height: 2.5rem; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border: 1px solid rgba(255, 255, 255, 0.3); }
        .mh-title { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.025em; line-height: 1.25; }
        .mh-subtitle { font-size: 10px; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 2px; }
        .mh-btn { background: none; border: none; color: rgba(255, 255, 255, 0.9); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
        .mh-btn:hover { color: var(--white); }
        @media (min-width: 768px) { .mobile-header { display: none; } }

        /* Desktop Sidebar */
        .desktop-sidebar { display: none; flex-direction: column; width: 260px; background-color: var(--brand-900); color: var(--slate-300); height: 100vh; position: fixed; top: 0; left: 0; z-index: 30; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
        @media (min-width: 768px) { .desktop-sidebar { display: flex; } }
        .ds-brand-area { display: flex; align-items: center; gap: 1rem; padding: 2rem; }
        .ds-logo { width: 3rem; height: 3rem; border-radius: 1rem; background: linear-gradient(to bottom right, var(--primary-400), var(--primary-600)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--white); box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
        .ds-title { font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.25; }
        .ds-subtitle { font-size: 11px; color: var(--primary-400); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; }
        .ds-menu-title { padding: 0 1.5rem; margin-bottom: 1rem; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.05em; }
        .ds-nav { flex: 1; padding: 0 1rem; display: flex; flex-direction: column; gap: 0.375rem; }
        .ds-nav-item { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1rem; color: var(--slate-400); border-radius: 1rem; font-weight: 500; text-decoration: none; transition: all 0.3s; cursor: pointer; }
        .ds-nav-item:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--white); }
        .ds-nav-item i { width: 1.5rem; text-align: center; font-size: 1.125rem; transition: transform 0.5s; }
        .ds-nav-item.active { background: linear-gradient(to right, rgba(59, 130, 246, 0.1), var(--transparent)); color: var(--primary-400); font-weight: 600; border-left: 4px solid var(--primary-500); }
        .ds-nav-item:hover .hover-rotate { transform: rotate(180deg); }
        .ds-nav-item:hover .hover-scale { transform: scale(1.1); }
        .ds-support { padding: 1.5rem; }
        .ds-support-box { background-color: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
        .ds-support-glow { position: absolute; top: 0; right: 0; width: 4rem; height: 4rem; background-color: rgba(59, 130, 246, 0.2); border-radius: 9999px; filter: blur(24px); }
        .ds-support-text { font-size: 0.75rem; color: var(--slate-400); margin-bottom: 0.5rem; position: relative; z-index: 1; }
        .ds-support-btn { width: 100%; background-color: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 0.875rem; font-weight: 600; padding: 0.5rem; border-radius: 0.75rem; border: none; cursor: pointer; transition: all 0.3s; position: relative; z-index: 1; }
        .ds-support-btn:hover { background-color: rgba(255, 255, 255, 0.2); }

        /* Main Content Area */
        .main-wrapper { position: relative; min-height: 100vh; padding-bottom: 7rem; }
        @media (min-width: 768px) { .main-wrapper { margin-left: 260px; padding-bottom: 3rem; } }
        .bg-ornament { position: absolute; top: 0; left: 0; width: 100%; height: 24rem; background: linear-gradient(to bottom, var(--primary-50), var(--bg-main)); z-index: -10; }

        /* Top Bar */
        .top-bar { display: none; align-items: center; justify-content: space-between; padding: 1.25rem 2.5rem; position: sticky; top: 0; z-index: 20; background: linear-gradient(to right, rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.8)); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1); }
        @media (min-width: 768px) { .top-bar { display: flex; } }
        .tb-search { position: relative; }
        .tb-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
        .tb-input { padding: 0.625rem 1rem 0.625rem 2.75rem; background-color: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 9999px; font-size: 0.875rem; font-weight: 500; width: 20rem; outline: none; transition: all 0.3s; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); color: var(--brand-900); font-family: inherit; }
        .tb-input:focus { background-color: var(--white); box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
        .tb-actions { display: flex; align-items: center; gap: 1.5rem; }
        .tb-notif { position: relative; background: none; border: none; color: rgba(255,255,255,0.9); cursor: pointer; transition: color 0.3s; }
        .tb-notif:hover { color: var(--white); }
        .tb-notif i { font-size: 1.25rem; }
        .tb-indicator { position: absolute; top: 0; right: 0; width: 0.625rem; height: 0.625rem; background-color: #ef4444; border-radius: 9999px; border: 2px solid var(--emerald-500); }
        .tb-divider { width: 1px; height: 1.5rem; background-color: rgba(255,255,255,0.3); }
        .tb-profile { display: flex; align-items: center; gap: 0.75rem; background: none; border: none; cursor: pointer; transition: opacity 0.3s; text-align: right; }
        .tb-profile:hover { opacity: 0.8; }
        .tb-profile-text { display: none; }
        @media (min-width: 1024px) { .tb-profile-text { display: block; } }
        .tb-name { font-size: 0.875rem; font-weight: 700; color: var(--white); line-height: 1; }
        .tb-role { font-size: 0.75rem; color: rgba(255,255,255,0.8); margin-top: 4px; }
        .tb-avatar { position: relative; }
        .tb-avatar img { width: 2.5rem; height: 2.5rem; border-radius: 9999px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border: 2px solid var(--white); }
        .tb-status { position: absolute; bottom: 0; right: 0; width: 0.75rem; height: 0.75rem; background-color: #4ade80; border: 2px solid var(--white); border-radius: 9999px; }

        /* Content Container */
        .content-container { padding: 2rem 1.5rem 0; max-width: 1400px; margin: 0 auto; }
        @media (min-width: 768px) { .content-container { padding-left: 2.5rem; padding-right: 2.5rem; } }

        /* Views System */
        .view-section { display: none; }
        .view-section.active { display: block; animation: fadeInUp 0.5s ease; }

        /* Welcome Section */
        .welcome-sec { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
        @media (min-width: 768px) { .welcome-sec { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
        .ws-title { font-size: 1.5rem; font-weight: 800; color: var(--brand-900); letter-spacing: -0.025em; margin-bottom: 0.25rem; }
        @media (min-width: 768px) { .ws-title { font-size: 1.875rem; } }
        .text-gradient { background: linear-gradient(to right, var(--primary-600), #4f46e5); -webkit-background-clip: text; color: var(--transparent); }
        .ws-subtitle { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); }
        .ws-date-badge { display: flex; align-items: center; gap: 0.75rem; background-color: var(--white); padding: 0.625rem 1rem; border-radius: 9999px; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); border: 1px solid rgba(241, 245, 249, 0.5); width: max-content; }
        .ws-icon { width: 2rem; height: 2rem; border-radius: 9999px; background-color: var(--slate-50); display: flex; align-items: center; justify-content: center; color: var(--primary-500); }
        .ws-d-text { font-size: 0.875rem; font-weight: 700; color: var(--slate-700); }
        .ws-t-text { font-size: 0.75rem; font-weight: 500; color: var(--slate-400); }

        /* Transaksi View Search */
        .tx-search-container { position: relative; width: 100%; max-width: 320px; }
        .tx-search-container i { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
        .tx-input { width: 100%; padding: 0.75rem 1rem 0.75rem 3rem; background-color: var(--white); border: 1px solid var(--slate-200); border-radius: 9999px; font-size: 0.875rem; outline: none; transition: all 0.3s; color: var(--brand-900); font-family: inherit; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        .tx-input:focus { border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

        /* Summary Cards */
        .summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
        @media (min-width: 768px) { .summary-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
        .sc-card { background-color: var(--white); padding: 1.25rem; border-radius: 1.5rem; border: 1px solid var(--slate-100); position: relative; overflow: hidden; box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05); transition: all 0.3s; }
        @media (min-width: 768px) { .sc-card { padding: 1.5rem; } }
        .sc-card:hover { transform: translateY(-0.25rem); }
        .sc-hover-blue:hover { box-shadow: 0 8px 30px -4px rgba(59, 130, 246, 0.1); }
        .sc-hover-emerald:hover { box-shadow: 0 8px 30px -4px rgba(16, 185, 129, 0.1); }
        .sc-hover-purple:hover { box-shadow: 0 8px 30px -4px rgba(168, 85, 247, 0.1); }
        .sc-hover-amber:hover { box-shadow: 0 8px 30px -4px rgba(245, 158, 11, 0.1); }
        .sc-blur { position: absolute; top: 0; right: 0; width: 8rem; height: 8rem; margin-right: -2.5rem; margin-top: -2.5rem; border-radius: 9999px; filter: blur(24px); transition: transform 0.3s; z-index: 0; }
        .sc-card:hover .sc-blur { transform: scale(1.5); }
        .bg-blur-blue { background-color: var(--primary-50); } .bg-blur-emerald { background-color: var(--emerald-50); } .bg-blur-purple { background-color: var(--purple-50); } .bg-blur-amber { background-color: var(--amber-50); }
        .sc-content { position: relative; z-index: 10; }
        .sc-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; color: var(--white); transition: transform 0.3s; }
        .sc-card:hover .sc-icon.r-12 { transform: rotate(12deg); } .sc-card:hover .sc-icon.r-min-12 { transform: rotate(-12deg); } .sc-card:hover .sc-icon.s-110 { transform: scale(1.1); }
        .icon-blue { background-color: var(--blue-500); box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4); } .icon-emerald { background-color: var(--emerald-500); box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4); } .icon-purple { background-color: var(--purple-500); box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.4); } .icon-amber { background-color: var(--amber-500); box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4); }
        .sc-title { font-size: 0.75rem; font-weight: 600; color: var(--slate-500); margin-bottom: 0.25rem; }
        @media (min-width: 768px) { .sc-title { font-size: 0.875rem; } }
        .sc-value-group { display: flex; align-items: flex-end; gap: 0.75rem; margin-bottom: 0.5rem; }
        .sc-value { font-size: 1.875rem; font-weight: 800; color: var(--brand-900); }
        .sc-value-lg { font-size: 1.25rem; font-weight: 800; color: var(--brand-900); letter-spacing: -0.025em; transition: opacity 0.3s ease, transform 0.3s ease; }
        @media (min-width: 768px) { .sc-value-lg { font-size: 1.5rem; } }
        @media (min-width: 1024px) { .sc-value-lg { font-size: 1.875rem; } }
        .sc-trend { font-size: 0.75rem; font-weight: 500; color: var(--slate-500); display: flex; align-items: center; gap: 0.375rem; }
        .sc-badge-up { display: flex; align-items: center; justify-content: center; background-color: var(--emerald-100); color: var(--emerald-600); padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 10px; font-weight: 700; }
        .sc-badge-up i { margin-right: 0.25rem; }
        .sc-badge-neutral { display: flex; align-items: center; justify-content: center; background-color: var(--slate-100); color: var(--slate-500); padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 10px; font-weight: 700; }

        /* Currency Toggle Filter Styles */
        .currency-toggle { display: flex; position: relative; background-color: rgba(241, 245, 249, 0.9); border-radius: 9999px; padding: 2px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
        .ct-btn { flex: 1; text-align: center; border: none; background: transparent; padding: 4px 10px; font-size: 9px; font-weight: 800; color: var(--slate-400); border-radius: 9999px; cursor: pointer; transition: color 0.3s ease; position: relative; z-index: 2; outline: none; font-family: inherit; letter-spacing: 0.05em; }
        .ct-btn.active { color: var(--brand-900); }
        .ct-slider { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); background-color: var(--white); border-radius: 9999px; box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 1; }
        .val-hidden { opacity: 0; transform: translateY(-8px); }
        .card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; }

        /* Middle Section: Chart & Currency */
        .middle-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
        @media (min-width: 1024px) { .middle-grid { grid-template-columns: repeat(3, 1fr); } }
        .mc-card { background-color: var(--white); padding: 1.25rem; border-radius: 1.5rem; box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05); border: 1px solid var(--slate-100); position: relative; overflow: hidden; }
        @media (min-width: 768px) { .mc-card { padding: 1.75rem; } }
        @media (min-width: 1024px) { .col-span-2 { grid-column: span 2 / span 2; } }
        .mc-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
        @media (min-width: 640px) { .mc-header { flex-direction: row; align-items: center; justify-content: space-between; } }
        .mc-title { font-size: 1.125rem; font-weight: 800; color: var(--brand-900); }
        .mc-subtitle { font-size: 0.75rem; font-weight: 500; color: var(--slate-500); margin-top: 0.25rem; }
        .mc-filter { position: relative; }
        .mc-select { appearance: none; -webkit-appearance: none; font-size: 0.875rem; font-weight: 600; color: var(--brand-900); border-radius: 0.75rem; padding: 0.625rem 2.5rem 0.625rem 1rem; background-color: var(--slate-50); border: 1px solid var(--slate-200); outline: none; cursor: pointer; transition: background-color 0.3s; font-family: inherit; }
        .mc-select:hover { background-color: var(--slate-100); }
        .mc-select:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
        .mc-filter i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 0.75rem; color: var(--slate-400); pointer-events: none; transition: color 0.3s; }
        .mc-filter:hover i { color: var(--brand-900); }
        .chart-container { width: 100%; height: 18rem; position: relative; }
        
        /* Currency Card */
        .mc-header-flex { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; position: relative; z-index: 10; }
        .live-badge { font-size: 11px; font-weight: 600; color: var(--slate-500); margin-top: 0.25rem; display: flex; align-items: center; gap: 0.375rem; }
        .live-dot { position: relative; display: flex; width: 0.5rem; height: 0.5rem; }
        .live-dot-ping { position: absolute; display: inline-flex; height: 100%; width: 100%; border-radius: 9999px; background-color: var(--emerald-400); opacity: 0.75; }
        .live-dot-core { position: relative; display: inline-flex; border-radius: 9999px; height: 0.5rem; width: 0.5rem; background-color: var(--emerald-500); }
        .btn-sync { color: var(--primary-500); background-color: var(--primary-50); width: 2rem; height: 2rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--primary-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); cursor: pointer; transition: all 0.3s; outline: none; }
        .btn-sync:hover { background-color: var(--primary-100); }
        .btn-sync:active { transform: scale(0.95); }
        .btn-sync i { font-size: 0.875rem; transition: transform 0.5s; }
        .btn-sync:hover i { transform: rotate(180deg); }
        .currency-list { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; position: relative; z-index: 10; }
        .skel-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; margin: 0 -0.75rem; border-radius: 1rem; background-color: rgba(248, 250, 252, 0.7); border: 1px solid var(--slate-100); }
        .skel-left { display: flex; align-items: center; gap: 1rem; }
        .skel-av { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background-color: var(--slate-200); }
        .skel-line { background-color: var(--slate-200); border-radius: 0.25rem; }
        .skel-w10 { width: 2.5rem; height: 1rem; margin-bottom: 0.5rem; } .skel-w20 { width: 5rem; height: 0.75rem; }
        .skel-right { display: flex; flex-direction: column; align-items: flex-end; }
        .skel-w16 { width: 4rem; height: 1rem; margin-bottom: 0.5rem; } .skel-w12 { width: 3rem; height: 0.75rem; }
        .ci-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; margin: 0 -0.75rem; border-radius: 1rem; border: 1px solid transparent; transition: all 0.3s; cursor: pointer; }
        .ci-item:hover { background-color: var(--slate-50); border-color: var(--slate-100); transform: translateY(-4px); box-shadow: 0 4px 15px -3px rgba(0,0,0,0.05); }
        .ci-left { display: flex; align-items: center; gap: 1rem; }
        .ci-img-wrap { position: relative; }
        .ci-img-blur { position: absolute; inset: 0; background-color: var(--primary-400); border-radius: 9999px; filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
        .ci-item:hover .ci-img-blur { opacity: 0.4; }
        .ci-img { position: relative; width: 2.5rem; height: 2.5rem; border-radius: 9999px; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); transition: transform 0.5s; }
        .ci-item:hover .ci-img { transform: scale(1.1) rotate(3deg); }
        .ci-code { font-size: 0.875rem; font-weight: 800; color: var(--brand-900); line-height: 1; margin-bottom: 0.375rem; transition: color 0.3s; }
        .ci-item:hover .ci-code { color: var(--primary-600); }
        .ci-name { font-size: 11px; font-weight: 600; color: var(--slate-500); }
        .ci-right { text-align: right; }
        .ci-rate { display: block; font-size: 0.875rem; font-weight: 700; color: var(--brand-900); transition: color 0.3s; }
        .ci-item:hover .ci-rate { color: var(--emerald-600); }
        .ci-trend { font-size: 10px; font-weight: 600; color: var(--slate-400); display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; margin-top: 0.125rem; transition: color 0.3s; }
        .ci-item:hover .ci-trend { color: var(--emerald-500); }
        .ci-trend i { font-size: 9px; }

        /* Recent Transactions Table */
        .table-card { background-color: var(--white); border-radius: 1.5rem; box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05); border: 1px solid var(--slate-100); overflow: hidden; margin-bottom: 1.5rem; }
        .tc-header { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; border-bottom: 1px solid rgba(241, 245, 249, 0.8); }
        @media (min-width: 640px) { .tc-header { padding: 1.75rem; flex-direction: row; align-items: center; justify-content: space-between; } }
        .tc-btn { font-size: 0.875rem; color: var(--white); background-color: var(--brand-900); font-weight: 600; padding: 0.5rem 1.25rem; border-radius: 0.75rem; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2); outline: none; }
        .tc-btn:hover { background-color: var(--brand-800); box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2); }
        .tc-btn:active { transform: scale(0.95); }
        
        .tc-responsive { overflow-x: auto; }
        .tc-table { width: 100%; text-align: left; border-collapse: collapse; white-space: nowrap; min-width: 900px; }
        .tc-thead th { background-color: rgba(248, 250, 252, 0.5); color: var(--slate-400); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; border-bottom: 1px solid var(--slate-100); padding: 1rem 1.5rem; }
        .tc-thead th:first-child { border-top-left-radius: 1.5rem; }
        .tc-thead th:last-child { border-top-right-radius: 1.5rem; }
        
        .tc-tbody { font-size: 0.875rem; color: var(--slate-600); }
        .tc-tr { border-bottom: 1px solid var(--slate-50); transition: background-color 0.3s; cursor: pointer; }
        .tc-tr:hover { background-color: rgba(248, 250, 252, 0.8); }
        .tc-td { padding: 1rem 1.5rem; }
        
        .td-id-group { display: flex; align-items: center; gap: 0.75rem; }
        .td-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; transition: transform 0.3s; }
        .tc-tr:hover .td-icon { transform: scale(1.1); }
        .ti-blue { background-color: var(--primary-50); color: var(--primary-600); }
        .ti-amber { background-color: var(--amber-50); color: var(--amber-500); }
        .td-id-text { font-weight: 800; color: var(--brand-900); transition: color 0.3s; }
        .tc-tr:hover .td-id-text.ti-hover-blue { color: var(--primary-600); }
        .tc-tr:hover .td-id-text.ti-hover-amber { color: var(--amber-500); }
        
        .td-date { font-weight: 700; color: var(--slate-700); }
        .td-time { font-size: 11px; font-weight: 600; color: var(--slate-400); }
        
        .td-user { font-weight: 700; color: var(--slate-700); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
        .td-user img { width: 1.75rem; height: 1.75rem; border-radius: 9999px; object-fit: cover;}
        
        .td-conv { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--brand-900); }
        .td-conv i { font-size: 10px; color: var(--slate-400); }
        
        /* New Status Label Styles */
        .badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.625rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 700; border: 1px solid var(--transparent); }
        .badge-blue { background-color: var(--blue-50); color: var(--blue-600); border-color: var(--blue-100); }
        .badge-emerald { background-color: var(--emerald-50); color: var(--emerald-600); border-color: var(--emerald-100); padding-left: 0.75rem; padding-right: 0.75rem; }
        .badge-amber { background-color: var(--amber-50); color: var(--amber-600); border-color: var(--amber-100); padding-left: 0.75rem; padding-right: 0.75rem; }
        
        /* New: Pending status bg-red transparan */
        .badge-pending { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); padding-left: 0.75rem; padding-right: 0.75rem; }
        .badge-proses { background-color: var(--amber-50); color: var(--amber-600); border-color: var(--amber-100); padding-left: 0.75rem; padding-right: 0.75rem; }
        .badge-selesai { background-color: var(--emerald-50); color: var(--emerald-600); border-color: var(--emerald-100); padding-left: 0.75rem; padding-right: 0.75rem; }
        .status-icon { margin-right: 2px; }

        .td-amount { font-weight: 800; color: var(--brand-900); }

        /* Modal Styles */
        .modal-backdrop { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 1.25rem; }
        .modal-backdrop.show { opacity: 1; pointer-events: auto; }
        .modal-card { background: var(--white); width: 100%; max-width: 450px; border-radius: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; }
        .modal-backdrop.show .modal-card { transform: translateY(0); }
        .md-header { padding: 1.5rem; border-bottom: 1px solid var(--slate-100); display: flex; align-items: center; justify-content: space-between; background-color: rgba(248, 250, 252, 0.5); }
        .md-title { font-size: 1.125rem; font-weight: 800; color: var(--brand-900); }
        .md-close { background: none; border: none; color: var(--slate-400); font-size: 1.25rem; cursor: pointer; transition: color 0.3s; outline: none; }
        .md-close:hover { color: var(--brand-900); transform: scale(1.1); }
        .md-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
        .md-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }
        .md-row:not(:last-child) { border-bottom: 1px dashed var(--slate-200); padding-bottom: 0.75rem; }
        .md-label { color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; }
        .md-val { color: var(--brand-900); font-weight: 800; text-align: right; }

        /* Mobile Bottom Nav */
        .mobile-nav { position: fixed; bottom: 1.5rem; left: 1.25rem; right: 1.25rem; width: auto; z-index: 30; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 9999px; padding-top: 0.5rem; padding-bottom: 0.5rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05); }
        @media (min-width: 768px) { .mobile-nav { display: none; } }
        .mn-container { display: flex; justify-content: space-around; align-items: center; padding: 0 0.5rem; }
        .mn-item { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; padding: 0.5rem; width: 4rem; position: relative; text-decoration: none; color: var(--slate-400); transition: color 0.3s; cursor: pointer; }
        .mn-item:hover { color: var(--brand-900); }
        .mn-active-bar { position: absolute; top: -0.5rem; width: 2.5rem; height: 4px; background-color: var(--primary-500); border-bottom-left-radius: 9999px; border-bottom-right-radius: 9999px; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5); display: none; }
        .mn-icon-wrapper { margin-top: 0.25rem; transition: transform 0.2s; }
        .mn-item:active .mn-icon-wrapper { transform: scale(0.9); }
        .mn-icon { font-size: 1.25rem; }
        .mn-text { font-size: 10px; font-weight: 600; }
        .mn-item.active { color: var(--primary-600); }
        .mn-item.active .mn-active-bar { display: block; }
        .mn-item.active .mn-icon { filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06)); }
        .mn-item.active .mn-text { font-weight: 700; }
        .mn-indicator { display: none; }

/* =========================================================
           STYLE TAMBAHAN: MODAL DETAIL, BUKTI PEMBAYARAN & SIDEBAR
           ========================================================= */
        
        .md-body {
            max-height: 65vh;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 1.5rem;
        }

        .md-layout-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .modal-card {
                width: 90% !important;
                max-width: 850px !important;
            }
            .md-layout-grid {
                flex-direction: row;
                align-items: stretch;
                gap: 2rem;
            }
            .md-detail-col {
                flex: 1;
                display: flex;
                flex-direction: column;
            }
            .md-bukti-col {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                border-left: 2px dashed #cbd5e1;
                padding-left: 2rem;
            }
        }

        .md-bukti-section {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed #e2e8f0;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        @media (min-width: 768px) {
            .md-bukti-section {
                margin-top: 0;
                padding-top: 0;
                border-top: none;
            }
        }

        .md-bukti-title {
            font-size: 0.8125rem;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .md-bukti-card {
            position: relative;
            background: #f8fafc;
            border: 2px dashed #cbd5e1;
            border-radius: 0.875rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 160px;
            max-height: 300px;
            height: 100%;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .md-bukti-card:hover {
            border-color: #3b82f6;
            box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
            transform: translateY(-2px);
        }

        .md-bukti-img {
            width: 100%;
            height: 100%;
            max-height: 300px;
            object-fit: cover;
            border-radius: 0.75rem;
            transition: transform 0.5s ease;
        }

        .md-bukti-card:hover .md-bukti-img {
            transform: scale(1.05);
        }

        .md-bukti-overlay {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: #ffffff;
            font-weight: 600;
            font-size: 0.875rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .md-bukti-card:hover .md-bukti-overlay {
            opacity: 1;
        }

        .md-bukti-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            color: #94a3b8;
            text-align: center;
            gap: 0.5rem;
        }

        .md-bukti-empty i {
            font-size: 2rem;
            color: #cbd5e1;
        }

        .md-footer-actions {
            margin-top: 1.25rem;
            display: flex;
            gap: 0.75rem;
        }

        .btn-konfirmasi {
            width: 100%;
            padding: 0.875rem 1.25rem;
            border: none;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.9375rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.625rem;
            cursor: pointer;
            box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
            transition: all 0.25s ease;
        }

        .btn-konfirmasi:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            transform: translateY(-2px);
            box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.5);
        }

        .btn-konfirmasi:active {
            transform: translateY(0);
        }

        /* LIGHTBOX IMAGE PREVIEW MODAL */
        .lightbox-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1200;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .lightbox-backdrop.show {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .lightbox-backdrop.show .lightbox-content {
            transform: scale(1);
        }

        .lightbox-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 1rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            object-fit: contain;
        }

        .lightbox-caption {
            color: #f8fafc;
            margin-top: 0.75rem;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .lightbox-close {
            position: absolute;
            top: -1.25rem;
            right: -1.25rem;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background: #ffffff;
            color: #0f172a;
            border: none;
            font-size: 1.125rem;
            cursor: pointer;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease;
        }

        .lightbox-close:hover {
            transform: scale(1.1);
        }

        /* SIDEBAR DRAWER INFORMASI REKENING */
        .sidebar-drawer-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1100;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(6px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }

        .sidebar-drawer-backdrop.show {
            opacity: 1;
            pointer-events: auto;
        }

        .sidebar-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 440px;
            max-width: 100vw;
            height: 100vh;
            background: #ffffff;
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 1101;
        }

        .sidebar-drawer-backdrop.show .sidebar-drawer {
            transform: translateX(0);
        }

        .sd-header {
            padding: 1.5rem;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
        }

        .sd-title-group {
            display: flex;
            align-items: center;
            gap: 0.875rem;
        }

        .sd-icon {
            width: 2.75rem;
            height: 2.75rem;
            border-radius: 0.75rem;
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .sd-title {
            font-size: 1.125rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0;
        }

        .sd-subtitle {
            font-size: 0.8125rem;
            color: #64748b;
            margin: 0.125rem 0 0 0;
        }

        .sd-close {
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 50%;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .sd-close:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .sd-body {
            padding: 1.5rem;
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        /* MODERN CARD REKENING */
        .sd-rek-card {
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: 1.25rem;
            padding: 1.5rem;
            position: relative;
            box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(12px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            z-index: 1;
        }

        .sd-rek-card::before {
            content: '';
            position: absolute;
            top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
            z-index: -1;
            transition: opacity 0.4s ease;
            opacity: 0;
            pointer-events: none;
        }

        .sd-rek-card:hover {
            border-color: rgba(59, 130, 246, 0.5);
            box-shadow: 0 20px 35px -10px rgba(59, 130, 246, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
            transform: translateY(-5px) scale(1.02);
        }

        .sd-rek-card:hover::before {
            opacity: 1;
            animation: rotateGlow 8s linear infinite;
        }

        @keyframes rotateGlow {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .sd-rek-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .sd-bank-badge {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: #ffffff;
            font-weight: 800;
            font-size: 0.75rem;
            padding: 0.4rem 0.875rem;
            border-radius: 2rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
        }

        .sd-copy-btn {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            color: #475569;
            font-size: 0.75rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.875rem;
            border-radius: 2rem;
            transition: all 0.3s ease;
        }

        .sd-copy-btn:hover {
            background: #3b82f6;
            color: #ffffff;
            border-color: #3b82f6;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
            transform: translateY(-2px);
        }

        .sd-rek-num {
            font-size: 1.5rem;
            font-weight: 900;
            color: #0f172a;
            letter-spacing: 0.08em;
            font-family: 'Courier New', Courier, monospace;
            margin-bottom: 0.5rem;
            background: linear-gradient(90deg, #0f172a, #334155);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
        }

        .sd-rek-holder {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sd-rek-holder i {
            color: #3b82f6;
            font-size: 1.125rem;
        }

        .sd-rek-holder span {
            color: #0f172a;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .sd-empty {
            text-align: center;
            padding: 3rem 1.5rem;
            color: #94a3b8;
        }

        .sd-empty i {
            font-size: 3rem;
            color: #cbd5e1;
            margin-bottom: 0.75rem;
        }

        .sd-footer {
            padding: 1.25rem 1.5rem;
            border-top: 1px solid #f1f5f9;
            background: #ffffff;
        }

        .btn-telah-diproses {
            width: 100%;
            padding: 0.95rem 1.5rem;
            border: none;
            border-radius: 0.875rem;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #ffffff;
            font-weight: 800;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.625rem;
            cursor: pointer;
            box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
            transition: all 0.25s ease;
        }

        .btn-telah-diproses:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            transform: translateY(-2px);
            box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.5);
        }

        .btn-telah-diproses:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        /* TOAST NOTIFICATION */
        .toast-container {
            position: fixed;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 1300;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            pointer-events: none;
        }

        .toast-item {
            background: #0f172a;
            color: #ffffff;
            padding: 0.875rem 1.25rem;
            border-radius: 0.875rem;
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.875rem;
            font-weight: 600;
            pointer-events: auto;
            animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .toast-item.success i { color: #10b981; }
        .toast-item.info i { color: #3b82f6; }

        @keyframes toastIn {
            from { opacity: 0; transform: translateY(-20px) scale(0.9); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* =========================================================
           STYLE TAMBAHAN: MODUL PENGGUNA (USERS MODULE)
           ========================================================= */
        .user-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .usr-card {
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-radius: 1.25rem;
            padding: 1.5rem;
            position: relative;
            box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(16px);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .usr-card:hover {
            transform: translateY(-6px);
            border-color: rgba(59, 130, 246, 0.4);
            box-shadow: 0 20px 35px -10px rgba(59, 130, 246, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 1);
        }

        .usr-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .usr-avatar-wrap {
            position: relative;
            width: 3.5rem;
            height: 3.5rem;
            flex-shrink: 0;
        }

        .usr-avatar {
            width: 100%;
            height: 100%;
            border-radius: 1rem;
            object-fit: cover;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 2px solid #ffffff;
        }

        .usr-avatar-ring {
            position: absolute;
            inset: -3px;
            border-radius: 1.15rem;
            background: linear-gradient(135deg, #3b82f6, #10b981);
            z-index: -1;
            opacity: 0.85;
        }

        .usr-info {
            flex: 1;
            min-width: 0;
        }

        .usr-name {
            font-size: 1.05rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .usr-username {
            font-size: 0.8125rem;
            color: #3b82f6;
            font-weight: 600;
            margin-top: 0.15rem;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            transition: color 0.2s ease;
        }

        .usr-username:hover {
            color: #1d4ed8;
        }

        .usr-details {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
            padding: 1rem 0;
            border-top: 1px dashed #e2e8f0;
            border-bottom: 1px dashed #e2e8f0;
            margin-bottom: 1.25rem;
        }

        .usr-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.8125rem;
        }

        .usr-label {
            color: #64748b;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .usr-label i {
            color: #94a3b8;
            width: 1rem;
        }

        .usr-val {
            color: #0f172a;
            font-weight: 700;
            word-break: break-all;
        }

        .usr-actions {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .usr-btn {
            flex: 1;
            padding: 0.625rem 0.5rem;
            border-radius: 0.75rem;
            font-size: 0.8125rem;
            font-weight: 700;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: all 0.25s ease;
        }

        .usr-btn-sec {
            background: #f1f5f9;
            color: #334155;
        }

        .usr-btn-sec:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        .usr-btn-pri {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        }

        .usr-btn-pri:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
        }

        .view-toggle-wrap {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            background: #f1f5f9;
            padding: 0.25rem;
            border-radius: 0.75rem;
        }

        .vt-btn {
            border: none;
            background: transparent;
            padding: 0.45rem 0.75rem;
            border-radius: 0.5rem;
            font-size: 0.8125rem;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            font-weight: 700;
        }

        .vt-btn.active {
            background: #ffffff;
            color: #0f172a;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }

/* Desain Custom Dropdown Grafik */
        .custom-dropdown {
            position: relative;
            width: 250px;
            font-family: 'Plus Jakarta Sans', sans-serif;
            z-index: 50;
        }
        .cd-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            padding: 8px 16px;
            border-radius: 12px;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 700;
            color: #475569;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }
        .cd-header:hover {
            border-color: #3b82f6;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
        }
        .cd-icon {
            transition: transform 0.3s ease;
            color: #94a3b8;
        }
        .custom-dropdown.open .cd-icon {
            transform: rotate(180deg);
            color: #3b82f6;
        }
        .cd-list {
            position: absolute;
            top: 115%;
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .custom-dropdown.open .cd-list {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .cd-list li {
            padding: 12px 16px;
            font-size: 0.875rem;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cd-list li i {
            font-size: 0.85rem;
        }
        .cd-list li:hover {
            background: #f8fafc;
            color: #3b82f6;
        }
        .cd-list li.active {
            background: #eff6ff;
            color: #3b82f6;
        }

        /* =========================================================
           STYLES AUTHENTICATION MODERN & RESPONSIF (LOGIN & REGISTER)
           ========================================================= */
        
        /* Fix Z-Index untuk Toast Notification agar muncul di atas Auth Page */
        .toast-container {
            z-index: 100005 !important;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .auth-overlay-page {
            position: fixed;
            top: 0; left: 0; 
            width: 100vw; 
            min-height: 100vh;
            min-height: 100dvh;
            height: 100%;
            /* Modern Animated Gradient Background */
            background: linear-gradient(-45deg, #0f172a, #1e293b, #0284c7, #3b82f6, #0f172a);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(0.85rem, 3vh, 2rem) clamp(0.75rem, 3vw, 1.5rem);
            overflow-y: auto;
            overflow-x: hidden;
            transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
            box-sizing: border-box;
        }

        .auth-overlay-page.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* Floating Aesthetic Decor for Background */
        .auth-decor {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            z-index: 1;
            animation: floatAnim 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        .auth-decor-1 { width: clamp(200px, 40vw, 500px); height: clamp(200px, 40vw, 500px); background: rgba(56, 189, 248, 0.35); top: -10%; left: -10%; }
        .auth-decor-2 { width: clamp(180px, 35vw, 450px); height: clamp(180px, 35vw, 450px); background: rgba(16, 185, 129, 0.2); bottom: -10%; right: -10%; animation-delay: -5s; }
        
        @keyframes floatAnim {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, 80px) scale(1.1); }
        }

        /* Premium Glassmorphism Card (Responsive Width & Height) */
        .auth-card-box {
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.65);
            border-radius: clamp(20px, 4vw, 30px);
            box-shadow: 0 35px 75px -15px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255,255,255,0.4);
            width: 100%;
            max-width: 450px;
            padding: clamp(1.5rem, 4vh, 2.75rem) clamp(1.25rem, 4vw, 2.25rem);
            margin: auto;
            position: relative;
            z-index: 2;
            animation: authPopIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-sizing: border-box;
            max-height: calc(100dvh - 2rem);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
        }

        .auth-card-box::-webkit-scrollbar {
            width: 5px;
        }
        .auth-card-box::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.3);
            border-radius: 10px;
        }

        @keyframes authPopIn {
            0% { opacity: 0; transform: scale(0.92) translateY(25px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        .auth-brand-head {
            text-align: center;
            margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
        }
        .auth-logo-badge {
            width: clamp(48px, 10vw, 64px); 
            height: clamp(48px, 10vw, 64px);
            background: linear-gradient(135deg, #3b82f6, #0284c7);
            color: #fff;
            border-radius: clamp(14px, 2.5vw, 20px);
            font-size: clamp(1.5rem, 4vw, 2rem);
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 25px rgba(59, 130, 246, 0.35);
            margin-bottom: clamp(0.5rem, 1.5vh, 0.85rem);
            transform: rotate(-5deg);
            transition: transform 0.4s ease;
        }
        .auth-card-box:hover .auth-logo-badge {
            transform: rotate(0deg) scale(1.05);
        }
        
        .auth-title { 
            font-size: clamp(1.35rem, 3.5vw, 1.75rem); 
            font-weight: 800; 
            color: #0f172a; 
            margin: 0; 
            letter-spacing: -0.5px; 
            line-height: 1.2;
        }
        .auth-subtitle { 
            font-size: clamp(0.825rem, 2vw, 0.95rem); 
            color: #64748b; 
            margin-top: 0.35rem; 
            font-weight: 500; 
        }

        .auth-form-group {
            margin-bottom: clamp(0.85rem, 1.8vh, 1.25rem);
            position: relative;
        }
        .auth-label {
            display: block;
            font-size: clamp(0.78rem, 1.8vw, 0.85rem);
            font-weight: 700;
            color: #334155;
            margin-bottom: 0.35rem;
            margin-left: 0.2rem;
        }
        .auth-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        .auth-input-wrapper i.input-icon {
            position: absolute;
            left: 16px;
            color: #94a3b8;
            font-size: 0.95rem;
            transition: color 0.4s ease, transform 0.4s ease;
        }
        .auth-input {
            width: 100%;
            padding: clamp(0.7rem, 1.5vh, 0.85rem) 1rem clamp(0.7rem, 1.5vh, 0.85rem) 2.75rem;
            border-radius: 14px;
            border: 2px solid transparent;
            font-family: inherit;
            font-size: clamp(0.875rem, 2vw, 0.95rem);
            font-weight: 500;
            color: #0f172a;
            background: #f1f5f9;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
            box-sizing: border-box;
        }
        .auth-input::placeholder { color: #94a3b8; font-weight: 400; }
        
        .auth-input:focus {
            outline: none;
            background: #ffffff;
            border-color: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), inset 0 2px 4px rgba(0,0,0,0.01);
            transform: translateY(-2px);
        }
        .auth-input:focus + i.input-icon { 
            color: #3b82f6; 
            transform: scale(1.1);
        }
        
        .toggle-password-icon {
            position: absolute;
            right: 16px;
            color: #94a3b8;
            cursor: pointer;
            padding: 4px;
            font-size: 1rem;
            transition: all 0.3s ease;
            z-index: 5;
        }
        .toggle-password-icon:hover { color: #3b82f6; transform: scale(1.1); }

        .auth-btn-primary {
            width: 100%;
            padding: clamp(0.75rem, 1.8vh, 0.95rem);
            border-radius: 14px;
            border: none;
            background: linear-gradient(135deg, #2563eb, #0ea5e9);
            color: #ffffff;
            font-weight: 800;
            font-size: clamp(0.9rem, 2vw, 1.025rem);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: clamp(1.25rem, 2.5vh, 1.75rem);
            position: relative;
            overflow: hidden;
        }
        .auth-btn-primary::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
            transform: skewX(-20deg);
            transition: all 0.6s ease;
        }
        .auth-btn-primary:hover {
            transform: translateY(-2px) scale(1.01);
            box-shadow: 0 16px 28px rgba(37, 99, 235, 0.4);
        }
        .auth-btn-primary:hover::after {
            left: 150%;
        }
        .auth-btn-primary:active { transform: translateY(0) scale(0.98); }

        .auth-flex-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.5rem;
            font-size: clamp(0.8rem, 1.8vw, 0.875rem);
        }
        .auth-link {
            color: #2563eb;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .auth-link:hover { color: #0284c7; text-decoration: underline; }

        .auth-hint-text {
            font-size: clamp(0.7rem, 1.6vw, 0.75rem);
            color: #64748b;
            margin-top: 0.3rem;
            display: block;
            margin-left: 0.2rem;
            line-height: 1.3;
        }

        .otp-input-group {
            display: flex;
            gap: clamp(4px, 1.5vw, 8px);
            justify-content: center;
            margin: 1.25rem 0;
        }
        .otp-digit {
            width: clamp(38px, 10vw, 48px);
            height: clamp(48px, 12vw, 56px);
            text-align: center;
            font-size: clamp(1.2rem, 3vw, 1.4rem);
            font-weight: 800;
            border-radius: 12px;
            border: 2px solid #cbd5e1;
            background: #f8fafc;
            color: #0f172a;
            transition: all 0.3s ease;
        }
        .otp-digit:focus {
            border-color: #2563eb;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
            outline: none;
            transform: translateY(-2px);
        }

        /* Penyesuaian Responsif Khusus Mobile & Layar Pendek */
        @media (max-width: 480px) {
            .auth-overlay-page {
                padding: 0.75rem;
            }
            .auth-card-box {
                padding: 1.5rem 1.15rem;
                border-radius: 22px;
            }
            .auth-brand-head {
                margin-bottom: 1.25rem;
            }
            .auth-form-group {
                margin-bottom: 0.85rem;
            }
        }

        @media (max-height: 680px) {
            .auth-brand-head {
                margin-bottom: 0.85rem;
            }
            .auth-logo-badge {
                width: 44px;
                height: 44px;
                font-size: 1.35rem;
                margin-bottom: 0.25rem;
            }
            .auth-title {
                font-size: 1.35rem;
            }
            .auth-subtitle {
                font-size: 0.8rem;
                margin-top: 0.2rem;
            }
            .auth-form-group {
                margin-bottom: 0.75rem;
            }
            .auth-btn-primary {
                margin-top: 1rem;
                padding: 0.7rem;
            }
        }

        /* =========================================================
           STYLES BARU UNTUK TANGGAL REALTIME & LOGOUT MODAL
           ========================================================= */

       @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- 1. WADAH UTAMA (Animated Gradient & Glassmorphism) --- */
.ws-date-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    
    /* Animated Gradient Background Keren */
    background: linear-gradient(135deg, #0f172a, #1e293b, #111827, #1e1b4b);
    background-size: 250% 250%;
    animation: gradientShift 8s ease infinite;
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 25px 10px 10px;
    border-radius: 50px; /* Bentuk pill/kapsul modern */
    
    /* 3D Premium Shadow & Glow */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4), 
        0 0 20px rgba(59, 130, 246, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Animasi Background Mengalir */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efek Kilap (Shine) saat Hover - Lebih Smooth */
.ws-date-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-date-badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5), 
        0 0 30px rgba(59, 130, 246, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.ws-date-badge:hover::before {
    left: 150%;
}

/* --- 2. ICON ANIMASI (Floating & Glowing) --- */
.ws-icon-anim {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.ws-icon-anim i {
    font-size: 1.3rem;
    /* Ubah dari swing ke floating agar lebih elegan & profesional */
    animation: floatIcon 3s ease-in-out infinite; 
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}

/* --- 3. JAM DIGITAL (Gradient Text) --- */
.realtime-clock {
    font-size: 1.6rem;
    font-weight: 800;
    /* Teks Jam Bergradasi */
    background: linear-gradient(to right, #93c5fd, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Animasi Titik Dua (Glow Pulse) */
.clock-colon {
    animation: fadeGlowPulse 1.5s ease-in-out infinite;
    -webkit-text-fill-color: #93c5fd; /* Reset gradient clip */
}

@keyframes fadeGlowPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(147, 197, 253, 0.8); }
    50% { opacity: 0.3; text-shadow: none; }
}

/* --- 4. TEKS TANGGAL & ZONA WAKTU --- */
.ws-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ws-d-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.rt-wib {
    font-size: 0.65rem;
    font-weight: 800;
    color: #38bdf8;
    -webkit-text-fill-color: #38bdf8; /* Reset gradient clip */
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 8px;
    border-radius: 8px;
    margin-left: 8px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

        /* Logout Pop-up Warning Design */
        .logout-modal-content {
            text-align: center;
            padding: 2rem 1.5rem;
        }
        .logout-icon-wrapper {
            width: 80px;
            height: 80px;
            background: #fee2e2;
            color: #ef4444;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem auto;
            box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.1);
            animation: pulse-red 2s infinite;
        }
        @keyframes pulse-red {
            0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
            100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }
        .logout-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 0.75rem;
        }
        .logout-desc {
            font-size: 0.95rem;
            color: #64748b;
            margin-bottom: 2rem;
            line-height: 1.5;
        }
        .logout-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }
        .btn-cancel-logout {
            flex: 1;
            padding: 0.75rem 1.25rem;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
            background: #ffffff;
            color: #475569;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .btn-cancel-logout:hover {
            background: #f1f5f9;
            color: #0f172a;
        }
        .btn-confirm-logout {
            flex: 1;
            padding: 0.75rem 1.25rem;
            border-radius: 12px;
            border: none;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: #ffffff;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
            transition: all 0.3s ease;
        }
        .btn-confirm-logout:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
        }

/* Modern Animated Toggle for User View */
        .modern-toggle-wrapper {
            position: relative;
            display: flex;
            background: #e2e8f0;
            border-radius: 99px;
            padding: 4px;
            width: fit-content;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
            border: 1px solid #cbd5e1;
        }
        .modern-toggle-slider {
            position: absolute;
            top: 4px;
            bottom: 4px;
            left: 4px;
            width: 85px;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: 99px;
            transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
            z-index: 1;
        }
        .mt-btn {
            position: relative;
            z-index: 2;
            background: transparent;
            border: none;
            padding: 8px 0;
            font-size: 0.8rem;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            width: 85px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: color 0.3s ease;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }
        .mt-btn.active {
            color: #ffffff;
        }
        .modern-toggle-wrapper[data-active="table"] .modern-toggle-slider {
            transform: translateX(100%);
        }

        /* --- STYLES BARU UNTUK NAV BAR DINAMIS (SEARCH / CLOCK) --- */
        .tb-dynamic-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            max-width: 400px;
        }
        .tb-visible-element {
            display: flex !important;
            animation: navItemFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        .tb-hidden-element {
            display: none !important;
        }
        @keyframes navItemFadeIn {
            0% { opacity: 0; transform: translateX(-15px); }
            100% { opacity: 1; transform: translateX(0); }
        }

        /* Desain Jam Animasi Modern di Navbar */
        .modern-nav-clock {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            padding: 8px 20px;
            border-radius: 99px;
            color: #ffffff;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        .mnc-icon {
            color: #38bdf8;
            font-size: 1.1rem;
            animation: spinClockIcon 4s linear infinite;
        }
        @keyframes spinClockIcon {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .mnc-colon {
            color: #64748b;
            animation: colonBlink 1s step-end infinite;
        }
        @keyframes colonBlink {
            50% { opacity: 0; }
        }
        .mnc-wib {
            background: rgba(56, 189, 248, 0.15);
            color: #38bdf8;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            margin-left: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 800;
        }

        /* =========================================
           MODERN COLLAPSIBLE SIDEBAR STYLES (WEB)
           ========================================= */
        :root {
            --sidebar-w: 260px;
            --sidebar-collapsed-w: 88px;
            --trans-sidebar: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @media (min-width: 1025px) {
            .desktop-sidebar {
                width: var(--sidebar-w) !important;
                transition: width var(--trans-sidebar) !important;
                position: fixed;
                z-index: 1000;
                /* Tidak menggunakan overflow-x hidden agar tombol toggle bisa melayang di luar */
            }
            .desktop-sidebar.collapsed {
                width: var(--sidebar-collapsed-w) !important;
            }
            .main-wrapper {
                margin-left: var(--sidebar-w) !important;
                transition: margin-left var(--trans-sidebar) !important;
            }
            .desktop-sidebar.collapsed ~ .main-wrapper {
                margin-left: var(--sidebar-collapsed-w) !important;
            }
            
            /* Penyesuaian Top Bar saat Sidebar dilipat */
            .top-bar {
                left: var(--sidebar-w) !important;
                width: calc(100% - var(--sidebar-w)) !important;
                transition: left var(--trans-sidebar), width var(--trans-sidebar) !important;
            }
            .desktop-sidebar.collapsed ~ .main-wrapper .top-bar {
                left: var(--sidebar-collapsed-w) !important;
                width: calc(100% - var(--sidebar-collapsed-w)) !important;
            }

            /* Tombol Toggle Sidebar Interaktif */
            .sidebar-toggle {
                position: absolute;
                top: 2rem;
                right: -14px;
                width: 28px;
                height: 28px;
                background: linear-gradient(135deg, #10b981, #059669);
                color: #ffffff;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
                z-index: 1001;
                transition: transform var(--trans-sidebar), background 0.3s ease;
                border: 2px solid #ffffff;
                font-size: 0.8rem;
            }
            .sidebar-toggle:hover {
                transform: scale(1.15);
            }
            .desktop-sidebar.collapsed .sidebar-toggle {
                transform: rotate(180deg);
                background: linear-gradient(135deg, #3b82f6, #2563eb);
                box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
            }

            /* Efek Animasi pada Area Logo & Brand */
            .ds-brand-area {
                transition: padding var(--trans-sidebar);
                white-space: nowrap;
            }
            .ds-brand-text {
                transition: opacity 0.3s ease, transform var(--trans-sidebar), width var(--trans-sidebar);
                opacity: 1;
                transform: translateX(0);
                overflow: hidden;
            }
            .desktop-sidebar.collapsed .ds-brand-text {
                opacity: 0;
                width: 0;
                transform: translateX(-20px);
                visibility: hidden;
                margin: 0;
            }
            .desktop-sidebar.collapsed .ds-brand-area {
                padding-left: 0;
                padding-right: 0;
                justify-content: center;
            }

            /* Efek pada Judul Menu Utama */
            .ds-menu-title {
                transition: opacity 0.3s ease, height var(--trans-sidebar);
                opacity: 1;
                height: 20px;
                overflow: hidden;
            }
            .desktop-sidebar.collapsed .ds-menu-title {
                opacity: 0;
                height: 0;
                margin: 0;
            }

            /* Animasi Item Navigasi Sidebar */
            .ds-nav-item {
                white-space: nowrap;
                position: relative;
                transition: padding var(--trans-sidebar), justify-content var(--trans-sidebar);
                overflow: visible !important;
            }
            .ds-nav-item span {
                transition: opacity 0.3s ease, transform var(--trans-sidebar), width var(--trans-sidebar);
                opacity: 1;
                transform: translateX(0);
                display: inline-block;
                overflow: hidden;
            }
            .desktop-sidebar.collapsed .ds-nav-item {
                justify-content: center;
                padding: 1rem 0;
            }
            .desktop-sidebar.collapsed .ds-nav-item span {
                opacity: 0;
                transform: translateX(-15px);
                width: 0;
            }
            .desktop-sidebar.collapsed .ds-nav-item i {
                margin: 0;
                font-size: 1.35rem;
            }

            /* Tooltip Hover Modern Keren Khusus Saat Dilipat */
            .ds-nav-item::after {
                content: attr(data-tooltip);
                position: absolute;
                left: 100%;
                top: 50%;
                transform: translateY(-50%) translateX(10px);
                background: #0f172a;
                color: #ffffff;
                padding: 6px 12px;
                border-radius: 6px;
                font-size: 0.8rem;
                font-weight: 600;
                opacity: 0;
                pointer-events: none;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                white-space: nowrap;
                z-index: 100;
                box-shadow: 0 4px 12px rgba(0,0,0,0.15);
                border: 1px solid rgba(255,255,255,0.1);
            }
            .desktop-sidebar.collapsed .ds-nav-item:hover::after {
                opacity: 1;
                transform: translateY(-50%) translateX(15px);
            }

            /* Menyembunyikan Kotak Support Bawah dengan Mulus */
            .ds-support {
                transition: opacity 0.3s ease, transform var(--trans-sidebar), height var(--trans-sidebar);
                opacity: 1;
                transform: scale(1);
                overflow: hidden;
            }
            .desktop-sidebar.collapsed .ds-support {
                opacity: 0;
                transform: scale(0.8);
                pointer-events: none;
                height: 0;
                margin: 0;
            }
        }
        
        /* Perbaikan Top Bar */
        .top-bar {
            left: var(--sidebar-w) !important;
            right: 0 !important;
            width: auto !important;
            transition: left var(--trans-sidebar) !important;
        }

        .desktop-sidebar.collapsed ~ .main-wrapper .top-bar {
            left: var(--sidebar-collapsed-w) !important;
            right: 0 !important;
            width: auto !important;
        }

        /* Tambahan Animasi Gerak pada Icon Panah di Tombol Sidebar Toggle */
        .sidebar-toggle i {
            display: inline-block;
            animation: gerakPanah 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }

        @keyframes gerakPanah {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(-3px);
            }
        }

        /* =========================================
           CUSTOM MOBILE HEADER STYLES & LAYOUT
           ========================================= */
        .mh-right-dynamic {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex: 1;
        }
        
        .mh-action-area {
            display: flex;
            align-items: center;
            transition: opacity 0.3s ease;
        }

        /* Animasi form search mode Mobile/HP */
        .mh-search-form {
            width: 0;
            opacity: 0;
            overflow: hidden;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
            display: flex;
            align-items: center;
        }

        .mh-search-form.active {
            width: 150px; 
            opacity: 1;
            margin-right: 8px;
        }

        .mh-search-form input {
            width: 100%;
            padding: 7px 12px;
            border-radius: 99px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            font-size: 0.85rem;
            outline: none;
            font-family: 'Plus Jakarta Sans', sans-serif;
            backdrop-filter: blur(4px);
        }
        
        .mh-search-form input::placeholder {
            color: rgba(255, 255, 255, 0.8);
        }

        /* Card Jam & Tanggal Modern Mode Mobile/HP */
        .mh-clock-card {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
            padding: 5px 12px;
            border-radius: 8px;
            color: white;
            text-align: right;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            animation: scaleInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }

        .mh-clock-time {
            font-size: 0.95rem;
            font-weight: 800;
            color: #38bdf8;
            line-height: 1.1;
            letter-spacing: 0.5px;
        }

        .mh-clock-date {
            font-size: 0.6rem;
            color: #cbd5e1;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 1px;
        }

        @keyframes scaleInRight {
            0% { opacity: 0; transform: scale(0.9) translateX(15px); }
            100% { opacity: 1; transform: scale(1) translateX(0); }
        }

        /* Lebarkan form search halaman pengguna khusus mode Mobile/HP */
        .user-controls-wrapper {
            display: flex; 
            flex-direction: row; 
            gap: 1rem; 
            align-items: center; 
            justify-content: space-between; 
            margin-top: 1rem; 
            width: 50%;
        }

        @media (max-width: 768px) {
            .user-controls-wrapper {
                width: 100% !important;
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }
            .user-controls-wrapper .tx-search-container {
                width: 100% !important;
                max-width: none !important;
                margin: 0 !important;
            }
            .user-controls-wrapper .tx-search-container input {
                width: 100%;
            }
        }

 
    /* --- Tombol Hapus Semua Transaksi --- */
.btn-delete-all-trx {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 40px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-delete-all-trx:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-delete-all-trx:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.btn-delete-all-trx .icon-trash {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.btn-delete-all-trx:hover .icon-trash {
    transform: rotate(-12deg) scale(1.15);
}
        
