/* --- Admin Base Styles (from dashboard.php) --- */
:root {
            /* Light Mode Colors */
            --bg-base: #f8fafc; /* 薄いグレーの背景 */
            --bg-surface: #ffffff; /* 真っ白なカード */
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6; /* はっきりしたブルー */
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* 1. Expandable Floating Sidebar */
        .sidebar {
            position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        
        /* ホバー時にメニューが開く */


        .sidebar-logo {
            font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
        }
        .logo-text { opacity: 1; margin-left: 10px; font-size: 1.2rem;}

        .nav-items { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px; overflow-y: auto; overflow-x: hidden; padding-bottom: 20px;}
        .nav-item {
            height: 50px; border-radius: 12px;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
        }
        .nav-item:hover, .nav-item.active {
            background: var(--bg-surface-hover); color: var(--primary);
        }
        .nav-item svg { width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0; }
        
        .nav-label {
            margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
        }

        .nav-badge {
            position: absolute; top: 12px; left: 32px; width: 8px; height: 8px;
            background: var(--danger); border-radius: 50%; border: 2px solid white;
        }

        /* Main Content Area */
        .main-wrapper {
            margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; padding: 30px 40px 40px 10px; z-index: 10;
        }

        /* Header & Command Palette Trigger */
        .header {
            display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;
        }
        .page-title { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;}
        
        .cmd-trigger {
            display: flex; align-items: center; gap: 15px;
            background: var(--bg-surface); border: 1px solid var(--border-color);
            padding: 12px 20px; border-radius: 12px; color: var(--text-muted);
            cursor: pointer; transition: 0.2s; min-width: 300px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .cmd-trigger:hover { border-color: #cbd5e1; box-shadow: 0 4px 6px rgba(0,0,0,0.04); }
        .cmd-shortcut { background: var(--bg-base); border: 1px solid var(--border-color); padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-family: monospace; font-weight:bold; color: var(--text-main);}

        /* 3. Bento Box Grid Layout */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 180px;
            gap: 20px;
        }
        
        .bento-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 24px;
            display: flex; flex-direction: column;
            position: relative; overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            transition: 0.3s;
        }
        .bento-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
        
        .span-2-col { grid-column: span 2; }
        .span-2-row { grid-row: span 2; }

        .card-label { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin-bottom: auto; }
        .card-value { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--text-main);}
        .card-trend { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; margin-top: 10px; font-weight: 600;}
        .trend-up { color: var(--success); }
        .trend-down { color: var(--danger); }

        /* Specific Bento Cards styling */
        .gmv-card {
            background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
            border-color: #bfdbfe;
        }
        .trouble-card {
            background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
            border-color: #fecaca;
        }
        .trouble-card .card-value { color: var(--danger); }
        
        /* Chart Mockup */
        .chart-area { flex: 1; margin-top: 20px; border-radius: 12px; display: flex; align-items: flex-end; gap: 15px; padding-bottom: 5px;}
        .chart-bar { background: var(--primary); width: 100%; border-radius: 4px; opacity: 0.8; transition: 0.3s;}
        .chart-bar:hover { opacity: 1; cursor: pointer; transform: scaleY(1.05); transform-origin: bottom;}
        .cb-1 { height: 40%; } .cb-2 { height: 60%; } .cb-3 { height: 45%; } .cb-4 { height: 80%; } .cb-5 { height: 100%; }

        /* Recent Activity List */
        .activity-list { margin-top: 15px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; padding-right:5px;}
        .activity-item { display: flex; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--bg-base); }
        .act-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 16px; flex-shrink: 0;}
        .act-icon.blue { background: #dbeafe; color: #2563eb; }
        .act-icon.pink { background: #fce7f3; color: #db2777; }
        .act-details { flex: 1; }
        .act-title { font-size: 0.9rem; font-weight: 600; color: var(--text-main);}
        .act-time { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px;}

        /* 2. Command Palette Modal */
        .cmd-modal-backdrop {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
            z-index: 999; display: flex; justify-content: center; padding-top: 15vh;
            opacity: 0; pointer-events: none; transition: 0.2s;
        }
        .cmd-modal-backdrop.active { opacity: 1; pointer-events: all; }
        
        .cmd-modal {
            width: 100%; max-width: 600px; background: #ffffff;
            border: 1px solid var(--border-color); border-radius: 16px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden; transform: scale(0.95); transition: 0.2s;
        }
        .cmd-modal-backdrop.active .cmd-modal { transform: scale(1); }
        
        .cmd-input-wrap { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
        .cmd-input-wrap svg { color: var(--primary); margin-right: 15px; }
        .cmd-input {
            flex: 1; background: transparent; border: none; outline: none;
            color: var(--text-main); font-size: 1.1rem; font-family: 'Inter', sans-serif;
            font-weight: 500;
        }
        .cmd-input::placeholder { color: #94a3b8; }
        .cmd-results { padding: 10px; max-height: 350px; overflow-y: auto; }
        .cmd-group { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; padding: 10px 15px; margin-top: 5px; text-transform: uppercase; letter-spacing: 0.05em;}
        .cmd-result-item {
            display: flex; align-items: center; padding: 12px 15px;
            border-radius: 8px; cursor: pointer; color: var(--text-main); font-size: 0.95rem; font-weight: 500;
        }
        .cmd-result-item:hover, .cmd-result-item.selected { background: var(--bg-base); color: var(--primary); }
        .cmd-result-item svg { margin-right: 12px; color: var(--text-muted); }
        .cmd-result-item:hover svg, .cmd-result-item.selected svg { color: var(--primary); }
        
        .hidden { display: none !important; }

/* --- Admin Global Utilities --- */
.ml-auto { margin-left: auto; }
.mt-auto { margin-top: auto; }
.text-primary { color: var(--primary); }

/* --- Dashboard Specific Components --- */
.gmv-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.btn-trouble-detail {
    margin-top: auto;
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}
.btn-trouble-detail:hover {
    background: #fecaca;
}
.quick-action-card {
    background: #eff6ff;
    border: 1px dashed #93c5fd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.quick-action-card:hover {
    background: #dbeafe;
    border-style: solid;
}
.quick-action-content {
    text-align: center;
    color: var(--primary);
}
.quick-action-icon {
    margin-bottom: 10px;
}
.quick-action-label {
    font-size: 1rem;
    font-weight: 700;
}
.cmd-modal-footer {
    background: #f1f5f9;
    padding: 10px 15px;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.admin-users-buyer-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-users-buyer-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-users-buyer-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-users-buyer-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-users-buyer-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-users-buyer-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-users-buyer-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-users-buyer-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-users-buyer-page .nav-item:hover, .admin-users-buyer-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-users-buyer-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-users-buyer-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-users-buyer-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-users-buyer-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-users-buyer-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-users-buyer-page /* Controls (Tabs & Search) */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-users-buyer-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-users-buyer-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-users-buyer-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-users-buyer-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-users-buyer-page .search-box {
  display: flex; align-items: center; background: #ffffff; border: 1px solid var(--border-color);
            border-radius: 10px; padding: 8px 15px; width: 300px;
}
.admin-users-buyer-page .search-box svg {
  color: var(--text-muted); margin-right: 10px;
}
.admin-users-buyer-page .search-box input {
  border: none; outline: none; font-size: 0.9rem; width: 100%; color: var(--text-main);
}
.admin-users-buyer-page /* Data Table Container */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden; display: flex; flex-direction: column;
}
.admin-users-buyer-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-users-buyer-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-users-buyer-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-users-buyer-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-users-buyer-page .user-cell {
  display: flex; align-items: center; gap: 12px;
}
.admin-users-buyer-page .user-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e2e8f0;
}
.admin-users-buyer-page .user-name {
  font-weight: 600; color: var(--text-main); font-size: 0.95rem;
}
.admin-users-buyer-page .user-id {
  font-size: 0.75rem; color: var(--text-muted); font-family: monospace;
}
.admin-users-buyer-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-users-buyer-page .badge.success {
  background: #dcfce7; color: #166534;
}
.admin-users-buyer-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-users-buyer-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-users-buyer-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s;
}
.admin-users-buyer-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-users-buyer-page /* --- Drawer (Slide Panel) --- */
        .drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.3); backdrop-filter: blur(2px);
            z-index: 100; opacity: 0; pointer-events: none; transition: 0.3s;
}
.admin-users-buyer-page .drawer-backdrop.active {
  opacity: 1; pointer-events: all;
}
.admin-users-buyer-page .drawer {
  position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
            background: #ffffff; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            z-index: 101; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
}
.admin-users-buyer-page .drawer.active {
  transform: translateX(0);
}
.admin-users-buyer-page .drawer-header {
  padding: 24px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-users-buyer-page .drawer-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
            padding: 4px; border-radius: 4px;
}
.admin-users-buyer-page .drawer-close:hover {
  background: var(--bg-base); color: var(--text-main);
}
.admin-users-buyer-page .drawer-profile {
  display: flex; align-items: center; gap: 20px;
}
.admin-users-buyer-page .drawer-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
}
.admin-users-buyer-page .drawer-name {
  font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px;
}
.admin-users-buyer-page .drawer-role {
  font-size: 0.85rem; background: #e2e8f0; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.admin-users-buyer-page .drawer-body {
  flex: 1; overflow-y: auto; padding: 24px;
}
.admin-users-buyer-page .stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px;
}
.admin-users-buyer-page .stat-box {
  background: var(--bg-base); border: 1px solid var(--border-color); padding: 15px; border-radius: 12px;
}
.admin-users-buyer-page .stat-label {
  font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-bottom: 5px;
}
.admin-users-buyer-page .stat-val {
  font-size: 1.25rem; font-weight: 800; font-family: 'Outfit'; color: var(--text-main);
}
.admin-users-buyer-page .stat-val.alert {
  color: var(--danger);
}
.admin-users-buyer-page .section-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; color: var(--text-main); padding-bottom: 10px; border-bottom: 2px solid var(--bg-base);
}
.admin-users-buyer-page .history-list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px;
}
.admin-users-buyer-page .history-item {
  display: flex; justify-content: space-between; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
}
.admin-users-buyer-page .hi-title {
  font-weight: 600; font-size: 0.9rem;
}
.admin-users-buyer-page .hi-meta {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 4px;
}
.admin-users-buyer-page .hi-amount {
  font-weight: 700; font-family: 'Outfit';
}
.admin-users-buyer-page .drawer-footer {
  padding: 24px; border-top: 1px solid var(--border-color); background: var(--bg-base);
            display: flex; gap: 15px;
}
.admin-users-buyer-page .btn-full {
  flex: 1; padding: 12px; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; border: none; font-size: 0.95rem; transition: 0.2s;
}
.admin-users-buyer-page .btn-warning {
  background: #fff; border: 1px solid var(--warning); color: var(--warning);
}
.admin-users-buyer-page .btn-warning:hover {
  background: #fef3c7;
}
.admin-users-buyer-page .btn-danger {
  background: var(--danger); color: white;
}
.admin-users-buyer-page .btn-danger:hover {
  background: #dc2626;
}
.admin-users-seller-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-users-seller-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-users-seller-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-users-seller-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-users-seller-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-users-seller-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-users-seller-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-users-seller-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-users-seller-page .nav-item:hover, .admin-users-seller-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-users-seller-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-users-seller-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-users-seller-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-users-seller-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-users-seller-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-users-seller-page /* Controls (Tabs & Search) */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-users-seller-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-users-seller-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-users-seller-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-users-seller-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-users-seller-page .search-box {
  display: flex; align-items: center; background: #ffffff; border: 1px solid var(--border-color);
            border-radius: 10px; padding: 8px 15px; width: 300px;
}
.admin-users-seller-page .search-box svg {
  color: var(--text-muted); margin-right: 10px;
}
.admin-users-seller-page .search-box input {
  border: none; outline: none; font-size: 0.9rem; width: 100%; color: var(--text-main);
}
.admin-users-seller-page /* Data Table Container */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden; display: flex; flex-direction: column;
}
.admin-users-seller-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-users-seller-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-users-seller-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-users-seller-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-users-seller-page .user-cell {
  display: flex; align-items: center; gap: 12px;
}
.admin-users-seller-page .user-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e2e8f0;
}
.admin-users-seller-page .user-name {
  font-weight: 600; color: var(--text-main); font-size: 0.95rem;
}
.admin-users-seller-page .user-id {
  font-size: 0.75rem; color: var(--text-muted); font-family: monospace;
}
.admin-users-seller-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-users-seller-page .badge.success {
  background: #dcfce7; color: #166534;
}
.admin-users-seller-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-users-seller-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-users-seller-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s;
}
.admin-users-seller-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-users-seller-page /* --- Drawer (Slide Panel) --- */
        .drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.3); backdrop-filter: blur(2px);
            z-index: 100; opacity: 0; pointer-events: none; transition: 0.3s;
}
.admin-users-seller-page .drawer-backdrop.active {
  opacity: 1; pointer-events: all;
}
.admin-users-seller-page .drawer {
  position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
            background: #ffffff; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            z-index: 101; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
}
.admin-users-seller-page .drawer.active {
  transform: translateX(0);
}
.admin-users-seller-page .drawer-header {
  padding: 24px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-users-seller-page .drawer-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
            padding: 4px; border-radius: 4px;
}
.admin-users-seller-page .drawer-close:hover {
  background: var(--bg-base); color: var(--text-main);
}
.admin-users-seller-page .drawer-profile {
  display: flex; align-items: center; gap: 20px;
}
.admin-users-seller-page .drawer-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
}
.admin-users-seller-page .drawer-name {
  font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px;
}
.admin-users-seller-page .drawer-role {
  font-size: 0.85rem; background: #e2e8f0; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.admin-users-seller-page .drawer-body {
  flex: 1; overflow-y: auto; padding: 24px;
}
.admin-users-seller-page .stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px;
}
.admin-users-seller-page .stat-box {
  background: var(--bg-base); border: 1px solid var(--border-color); padding: 15px; border-radius: 12px;
}
.admin-users-seller-page .stat-label {
  font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-bottom: 5px;
}
.admin-users-seller-page .stat-val {
  font-size: 1.25rem; font-weight: 800; font-family: 'Outfit'; color: var(--text-main);
}
.admin-users-seller-page .stat-val.alert {
  color: var(--danger);
}
.admin-users-seller-page .section-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; color: var(--text-main); padding-bottom: 10px; border-bottom: 2px solid var(--bg-base);
}
.admin-users-seller-page .history-list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px;
}
.admin-users-seller-page .history-item {
  display: flex; justify-content: space-between; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
}
.admin-users-seller-page .hi-title {
  font-weight: 600; font-size: 0.9rem;
}
.admin-users-seller-page .hi-meta {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 4px;
}
.admin-users-seller-page .hi-amount {
  font-weight: 700; font-family: 'Outfit';
}
.admin-users-seller-page .drawer-footer {
  padding: 24px; border-top: 1px solid var(--border-color); background: var(--bg-base);
            display: flex; gap: 15px;
}
.admin-users-seller-page .btn-full {
  flex: 1; padding: 12px; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; border: none; font-size: 0.95rem; transition: 0.2s;
}
.admin-users-seller-page .btn-warning {
  background: #fff; border: 1px solid var(--warning); color: var(--warning);
}
.admin-users-seller-page .btn-warning:hover {
  background: #fef3c7;
}
.admin-users-seller-page .btn-danger {
  background: var(--danger); color: white;
}
.admin-users-seller-page .btn-danger:hover {
  background: #dc2626;
}
.admin-finance-payouts-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --success-light: #dcfce7;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-finance-payouts-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-finance-payouts-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-finance-payouts-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-finance-payouts-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-finance-payouts-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-finance-payouts-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-finance-payouts-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-finance-payouts-page .nav-item:hover, .admin-finance-payouts-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-finance-payouts-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-finance-payouts-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-finance-payouts-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-finance-payouts-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-finance-payouts-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-finance-payouts-page /* Summary Cards (Bento Box) */
        .summary-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px;
}
.admin-finance-payouts-page .summary-card {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            display: flex; flex-direction: column; justify-content: space-between;
}
.admin-finance-payouts-page .summary-card.highlight {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white; border: none; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
.admin-finance-payouts-page .sc-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px;
}
.admin-finance-payouts-page .highlight .sc-title {
  color: rgba(255,255,255,0.8);
}
.admin-finance-payouts-page .sc-val {
  font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; margin-top: 10px;
}
.admin-finance-payouts-page .sc-meta {
  font-size: 0.8rem; margin-top: 5px; font-weight: 500;
}
.admin-finance-payouts-page .sc-meta.positive {
  color: var(--success);
}
.admin-finance-payouts-page .highlight .sc-meta.positive {
  color: #a7f3d0;
}
.admin-finance-payouts-page /* Tabs & Controls */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-finance-payouts-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-finance-payouts-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-finance-payouts-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-finance-payouts-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-finance-payouts-page /* Data Table */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden;
}
.admin-finance-payouts-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-finance-payouts-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-finance-payouts-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-finance-payouts-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-finance-payouts-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-finance-payouts-page .badge.success {
  background: var(--success-light); color: #166534;
}
.admin-finance-payouts-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-finance-payouts-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-finance-payouts-page .badge.info {
  background: #e0f2fe; color: #075985;
}
.admin-finance-payouts-page .currency-val {
  font-family: 'Outfit'; font-weight: 700;
}
.admin-finance-payouts-page .currency-sub {
  font-size: 0.75rem; color: var(--text-muted);
}
.admin-finance-payouts-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s; display: inline-flex; align-items: center; gap: 4px;
}
.admin-finance-payouts-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-finance-payouts-page .btn-action.primary {
  background: var(--primary); color: white; border: none;
}
.admin-finance-payouts-page .btn-action.primary:hover {
  background: #2563eb;
}
.wallet-address { font-family:monospace; font-size:0.85rem; color:var(--text-muted); }
.btn-action:disabled { opacity:0.5; }
.admin-finance-points-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            --purple: #8b5cf6;
            
            --sidebar-width-expanded: 240px;
}
.admin-finance-points-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-finance-points-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            min-height: 100vh;
}
.admin-finance-points-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            overflow: hidden;
}
.admin-finance-points-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-finance-points-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-finance-points-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-finance-points-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-finance-points-page .nav-item:hover, .admin-finance-points-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-finance-points-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-finance-points-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-finance-points-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0;
}
.admin-finance-points-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;
}
.admin-finance-points-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-finance-points-page /* Summary Cards */
        .summary-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px;
}
.admin-finance-points-page .summary-card {
  background: var(--bg-surface); padding: 25px; border-radius: 16px;
            border: 1px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
            position: relative; overflow: hidden;
}
.admin-finance-points-page .summary-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 10px;
}
.admin-finance-points-page .summary-value {
  font-size: 2rem; font-weight: 800; font-family: 'Outfit', sans-serif; color: var(--purple);
}
.admin-finance-points-page .summary-sub {
  font-size: 0.85rem; font-weight: 600; margin-top: 8px;
}
.admin-finance-points-page .summary-icon {
  position: absolute; right: 20px; top: 25px; width: 48px; height: 48px;
            background: #f3e8ff; color: var(--purple); border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
}
.admin-finance-points-page /* Table UI */
        .data-card {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); overflow: hidden;
}
.admin-finance-points-page .data-header {
  padding: 20px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: center;
}
.admin-finance-points-page .data-title {
  font-weight: 700; font-size: 1.1rem;
}
.admin-finance-points-page .controls {
  display: flex; gap: 10px;
}
.admin-finance-points-page .search-input {
  padding: 10px 15px; border: 1px solid var(--border-color); border-radius: 8px;
            width: 250px; font-size: 0.9rem; outline: none; transition: 0.2s;
}
.admin-finance-points-page .search-input:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.admin-finance-points-page .btn-filter {
  background: white; border: 1px solid var(--border-color); padding: 10px 15px;
            border-radius: 8px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.admin-finance-points-page .table-responsive {
  width: 100%; overflow-x: auto;
}
.admin-finance-points-page table {
  width: 100%; border-collapse: collapse;
}
.admin-finance-points-page th {
  background: #f8fafc; padding: 15px 20px; text-align: left; font-size: 0.85rem;
            font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border-color);
            white-space: nowrap;
}
.admin-finance-points-page td {
  padding: 16px 20px; border-bottom: 1px solid var(--border-color); font-size: 0.95rem;
}
.admin-finance-points-page tr:hover {
  background: var(--bg-surface-hover);
}
.admin-finance-points-page .user-info {
  display: flex; align-items: center; gap: 12px;
}
.admin-finance-points-page .user-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); font-size: 0.9rem;
}
.admin-finance-points-page .user-details {
  display: flex; flex-direction: column;
}
.admin-finance-points-page .user-name {
  font-weight: 700; color: var(--text-main);
}
.admin-finance-points-page .user-id {
  font-size: 0.8rem; color: var(--text-muted);
}
.admin-finance-points-page .points-amount {
  font-weight: 800; color: var(--purple); font-family: 'Outfit', sans-serif;
}
.admin-finance-points-page .points-amount::before {
  content: "-"; margin-right: 2px;
}
.admin-finance-points-page .product-link {
  font-weight: 600; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.admin-finance-points-page .product-link:hover {
  text-decoration: underline;
}
.unit-pt { font-size:1rem; color:var(--text-muted); }
.text-success { color:var(--success); }
.text-muted { color:var(--text-muted); }
.table-footer-action { padding: 20px; display: flex; justify-content: center; border-top: 1px solid var(--border-color); }
.btn-outline { background:none; border:1px solid var(--border-color); padding:8px 16px; border-radius:8px; font-weight:600; cursor:pointer; transition: 0.2s; }
.btn-outline:hover { background: var(--bg-surface-hover); }
.admin-finance-sales-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --success-light: #dcfce7;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-finance-sales-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-finance-sales-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-finance-sales-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-finance-sales-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-finance-sales-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-finance-sales-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-finance-sales-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-finance-sales-page .nav-item:hover, .admin-finance-sales-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-finance-sales-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-finance-sales-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-finance-sales-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-finance-sales-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-finance-sales-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-finance-sales-page /* Summary Cards (Bento Box) */
        .summary-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px;
}
.admin-finance-sales-page .summary-card {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            display: flex; flex-direction: column; justify-content: space-between;
}
.admin-finance-sales-page .summary-card.highlight {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white; border: none; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
.admin-finance-sales-page .sc-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px;
}
.admin-finance-sales-page .highlight .sc-title {
  color: rgba(255,255,255,0.8);
}
.admin-finance-sales-page .sc-val {
  font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; margin-top: 10px;
}
.admin-finance-sales-page .sc-meta {
  font-size: 0.8rem; margin-top: 5px; font-weight: 500;
}
.admin-finance-sales-page .sc-meta.positive {
  color: var(--success);
}
.admin-finance-sales-page .highlight .sc-meta.positive {
  color: #a7f3d0;
}
.admin-finance-sales-page /* Tabs & Controls */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-finance-sales-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-finance-sales-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-finance-sales-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-finance-sales-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-finance-sales-page /* Data Table */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden;
}
.admin-finance-sales-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-finance-sales-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-finance-sales-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-finance-sales-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-finance-sales-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-finance-sales-page .badge.success {
  background: var(--success-light); color: #166534;
}
.admin-finance-sales-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-finance-sales-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-finance-sales-page .badge.info {
  background: #e0f2fe; color: #075985;
}
.admin-finance-sales-page .currency-val {
  font-family: 'Outfit'; font-weight: 700;
}
.admin-finance-sales-page .currency-sub {
  font-size: 0.75rem; color: var(--text-muted);
}
.admin-finance-sales-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s; display: inline-flex; align-items: center; gap: 4px;
}
.admin-finance-sales-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-finance-sales-page .btn-action.primary {
  background: var(--primary); color: white; border: none;
}
.admin-finance-sales-page .btn-action.primary:hover {
  background: #2563eb;
}
.admin-moderation-chat-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-expanded: 240px;
}
.admin-moderation-chat-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-moderation-chat-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-moderation-chat-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            overflow: hidden;
}
.admin-moderation-chat-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-moderation-chat-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-moderation-chat-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-moderation-chat-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-moderation-chat-page .nav-item:hover, .admin-moderation-chat-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-moderation-chat-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-moderation-chat-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-moderation-chat-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow: hidden;
}
.admin-moderation-chat-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-moderation-chat-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b; display: flex; align-items: center; gap: 15px;
}
.admin-moderation-chat-page .live-badge {
  background: rgba(239, 68, 68, 0.1); color: var(--danger); font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; font-weight: 700; display: flex; align-items: center; gap: 6px; letter-spacing: 0.05em;
}
.admin-moderation-chat-page .live-dot {
  width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.admin-moderation-chat-page .controls-bar {
  margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center;
}
.admin-moderation-chat-page /* Layout for Live Feed and Slide Panel */
        .chat-dashboard {
  display: flex; gap: 20px; flex: 1; overflow: hidden; position: relative;
}
.admin-moderation-chat-page /* Live Feed List */
        .live-feed {
  flex: 1; background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 16px; display: flex; flex-direction: column; overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.admin-moderation-chat-page .feed-header {
  padding: 15px 20px; background: var(--bg-surface-hover); border-bottom: 1px solid var(--border-color);
            font-weight: 700; color: var(--text-muted); font-size: 0.9rem;
            display: grid; grid-template-columns: 80px 200px 1fr 100px; gap: 15px;
}
.admin-moderation-chat-page .feed-body {
  flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 5px;
}
.admin-moderation-chat-page .feed-row {
  display: grid; grid-template-columns: 80px 200px 1fr 100px; gap: 15px;
            padding: 15px; border-radius: 10px; align-items: center; cursor: pointer;
            transition: 0.2s; border: 1px solid transparent;
}
.admin-moderation-chat-page .feed-row:hover, .admin-moderation-chat-page .feed-row.active {
  background: var(--bg-surface-hover); border-color: var(--border-color);
}
.admin-moderation-chat-page /* NG Word Alert Highlight */
        .feed-row.alert {
  background: #fef2f2; border-color: #fecaca;
}
.admin-moderation-chat-page .feed-row.alert:hover {
  background: #fee2e2;
}
.admin-moderation-chat-page .f-time {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
}
.admin-moderation-chat-page .f-users {
  font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.admin-moderation-chat-page .f-users .badge {
  font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; font-weight: 800;
}
.admin-moderation-chat-page .f-users .badge.buyer {
  background: #eff6ff; color: #3b82f6;
}
.admin-moderation-chat-page .f-users .badge.seller {
  background: #fdf2f8; color: #ec4899;
}
.admin-moderation-chat-page .f-users svg {
  color: var(--text-muted); width: 14px;
}
.admin-moderation-chat-page .f-msg {
  font-size: 0.95rem; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-moderation-chat-page .f-status {
  display: flex; justify-content: flex-end;
}
.admin-moderation-chat-page .highlight-word {
  background: var(--danger); color: white; padding: 0 4px; border-radius: 4px; font-weight: 700;
}
.admin-moderation-chat-page /* Right Context Panel (Slide over or side-by-side) */
        .context-panel {
  width: 450px; background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 16px; display: flex; flex-direction: column; overflow: hidden;
            box-shadow: -10px 0 25px rgba(0,0,0,0.05); transform: translateX(120%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: absolute; right: 0; top: 0; bottom: 0;
}
.admin-moderation-chat-page .context-panel.open {
  transform: translateX(0); position: relative;
}
.admin-moderation-chat-page .cp-header {
  padding: 20px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: center; background: #f8fafc;
}
.admin-moderation-chat-page .cp-title {
  font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px;
}
.admin-moderation-chat-page .cp-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 5px; border-radius: 6px;
}
.admin-moderation-chat-page .cp-close:hover {
  background: #e2e8f0; color: var(--text-main);
}
.admin-moderation-chat-page .cp-chat-history {
  flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px;
            background: #f1f5f9;
}
.admin-moderation-chat-page /* Chat Bubbles */
        .chat-bubble-wrap {
  display: flex; flex-direction: column; max-width: 85%;
}
.admin-moderation-chat-page .chat-bubble-wrap.left {
  align-self: flex-start;
}
.admin-moderation-chat-page .chat-bubble-wrap.right {
  align-self: flex-end; align-items: flex-end;
}
.admin-moderation-chat-page .chat-meta {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; display: flex; gap: 5px; align-items: center;
}
.admin-moderation-chat-page .chat-bubble {
  padding: 12px 16px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5;
            position: relative;
}
.admin-moderation-chat-page .chat-bubble-wrap.left .chat-bubble {
  background: #ffffff; border: 1px solid var(--border-color); border-bottom-left-radius: 4px;
}
.admin-moderation-chat-page .chat-bubble-wrap.right .chat-bubble {
  background: var(--primary); color: white; border-bottom-right-radius: 4px;
}
.admin-moderation-chat-page /* The flagged message in context */
        .chat-bubble.flagged {
  border: 2px solid var(--danger); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}
.admin-moderation-chat-page .cp-actions {
  padding: 20px; border-top: 1px solid var(--border-color); background: white;
            display: flex; gap: 10px;
}
.admin-moderation-chat-page .btn-ban {
  flex: 1; background: #fee2e2; color: var(--danger); border: none; padding: 12px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.admin-moderation-chat-page .btn-ban:hover {
  background: var(--danger); color: white;
}
.admin-moderation-chat-page .btn-warn {
  flex: 1; background: #fef3c7; color: #d97706; border: none; padding: 12px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.admin-moderation-chat-page .btn-warn:hover {
  background: #f59e0b; color: white;
}
.info-description { color:var(--text-muted); font-size:0.9rem; }
.text-right { text-align:right; }
.text-danger { color:var(--danger); }
.badge-ng { color:var(--danger); font-size:0.8rem; font-weight:800; background:rgba(239, 68, 68, 0.1); padding:4px 8px; border-radius:6px; }
.icon-primary { color:var(--primary); }
.chat-date-separator { text-align:center; font-size:0.75rem; color:var(--text-muted); margin: 10px 0; }
.role-badge-seller { background:#fdf2f8; color:#ec4899; padding:2px 4px; border-radius:4px; }
.role-badge-buyer { background:#eff6ff; color:#3b82f6; padding:2px 4px; border-radius:4px; }
.text-danger-bold { color:var(--danger); font-weight:800; }
.alert-ng-text { font-size:0.75rem; color:var(--danger); margin-top:4px; font-weight:700; }
.admin-moderation-content-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-moderation-content-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-moderation-content-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-moderation-content-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-moderation-content-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-moderation-content-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-moderation-content-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-moderation-content-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-moderation-content-page .nav-item:hover, .admin-moderation-content-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-moderation-content-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-moderation-content-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-moderation-content-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-moderation-content-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-moderation-content-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b; display: flex; align-items: center; gap: 15px;
}
.admin-moderation-content-page .live-badge {
  background: rgba(239, 68, 68, 0.1); color: var(--danger); font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; font-weight: 700; display: flex; align-items: center; gap: 6px; letter-spacing: 0.05em;
}
.admin-moderation-content-page .live-dot {
  width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: pulse 2s infinite;
}

.admin-moderation-content-page /* Tabs */
        .controls-bar {
  margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center;
}
.admin-moderation-content-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-moderation-content-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-moderation-content-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-moderation-content-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-moderation-content-page /* Container for content views */
        .view-container {
  flex: 1; overflow-y: auto; display: none;
}
.admin-moderation-content-page .view-container.active {
  display: block;
}
.admin-moderation-content-page /* --- Tab 1: Content Gallery (Masonry) --- */
        .gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.admin-moderation-content-page .content-card {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 16px; overflow: hidden; position: relative;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: 0.2s;
}
.admin-moderation-content-page .content-card:hover {
  transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.admin-moderation-content-page .cc-img-wrap {
  width: 100%; height: 200px; background: #e2e8f0; position: relative;
}
.admin-moderation-content-page .cc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.admin-moderation-content-page .cc-type-badge {
  position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
}
.admin-moderation-content-page .cc-info {
  padding: 15px;
}
.admin-moderation-content-page .cc-title {
  font-weight: 700; font-size: 1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-moderation-content-page .cc-seller {
  font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 15px;
}
.admin-moderation-content-page .cc-seller img {
  width: 24px; height: 24px; border-radius: 50%;
}
.admin-moderation-content-page .cc-actions {
  display: flex; gap: 10px; border-top: 1px solid var(--bg-base); padding-top: 15px;
}
.admin-moderation-content-page .btn-pause {
  flex: 1; background: var(--warning); color: white; border: none; padding: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px;
}
.admin-moderation-content-page .btn-pause:hover {
  background: #d97706;
}
.admin-moderation-content-page .btn-delete {
  flex: 1; background: #fee2e2; color: var(--danger); border: none; padding: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px;
}
.admin-moderation-content-page .btn-delete:hover {
  background: var(--danger); color: white;
}
.admin-moderation-content-page /* --- Tab 2: Chat Log (Timeline) --- */
        .chat-log-table {
  width: 100%; background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 16px; overflow: hidden; border-collapse: collapse;
}
.admin-moderation-content-page .chat-log-table th {
  background: var(--bg-base); padding: 16px 20px; text-align: left;
            font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase;
            border-bottom: 1px solid var(--border-color);
}
.admin-moderation-content-page .chat-log-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border-color); font-size: 0.9rem;
}
.admin-moderation-content-page .log-row {
  transition: 0.2s;
}
.admin-moderation-content-page .log-row:hover {
  background: var(--bg-surface-hover);
}
.admin-moderation-content-page .log-row.alert {
  background: #fef2f2;
}
.admin-moderation-content-page .log-row.alert:hover {
  background: #fee2e2;
}
.admin-moderation-content-page .log-msg {
  max-width: 400px; line-height: 1.5;
}
.admin-moderation-content-page .highlight-word {
  background: var(--danger); color: white; padding: 0 4px; border-radius: 4px; font-weight: 700;
}
.admin-moderation-content-page .btn-view {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.admin-moderation-content-page .btn-view:hover {
  background: var(--bg-base);
}
.search-wrapper { position: relative; width: 350px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search-input { width: 100%; padding: 10px 15px 10px 40px; border: 1px solid var(--border-color); border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none; transition: 0.2s; }
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.content-card-alert { border: 1px solid var(--danger); }
.text-danger-semibold { color:var(--danger); font-weight:600; }
.alert-badge-danger { color:var(--danger); font-weight:700; font-size:0.8rem; display:flex; align-items:center; gap:4px; }
.button-group { display:flex; gap:8px; }
.admin-moderation-content-page .btn-danger { color:white; background:var(--danger); border:none; transition: 0.2s; }
.admin-moderation-content-page .btn-danger:hover { background:#dc2626; }
.admin-reports-request-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-reports-request-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-reports-request-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-reports-request-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-reports-request-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-reports-request-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-reports-request-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-reports-request-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-reports-request-page .nav-item:hover, .admin-reports-request-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-reports-request-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-reports-request-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-reports-request-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-reports-request-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-reports-request-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-reports-request-page /* Controls (Tabs & Search) */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-reports-request-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-reports-request-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-reports-request-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-reports-request-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-reports-request-page .search-box {
  display: flex; align-items: center; background: #ffffff; border: 1px solid var(--border-color);
            border-radius: 10px; padding: 8px 15px; width: 300px;
}
.admin-reports-request-page .search-box svg {
  color: var(--text-muted); margin-right: 10px;
}
.admin-reports-request-page .search-box input {
  border: none; outline: none; font-size: 0.9rem; width: 100%; color: var(--text-main);
}
.admin-reports-request-page /* Data Table Container */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden; display: flex; flex-direction: column;
}
.admin-reports-request-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-reports-request-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-reports-request-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-reports-request-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-reports-request-page .user-cell {
  display: flex; align-items: center; gap: 12px;
}
.admin-reports-request-page .user-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e2e8f0;
}
.admin-reports-request-page .user-name {
  font-weight: 600; color: var(--text-main); font-size: 0.95rem;
}
.admin-reports-request-page .user-id {
  font-size: 0.75rem; color: var(--text-muted); font-family: monospace;
}
.admin-reports-request-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-reports-request-page .badge.success {
  background: #dcfce7; color: #166534;
}
.admin-reports-request-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-reports-request-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-reports-request-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s;
}
.admin-reports-request-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-reports-request-page /* --- Drawer (Slide Panel) --- */
        .drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.3); backdrop-filter: blur(2px);
            z-index: 100; opacity: 0; pointer-events: none; transition: 0.3s;
}
.admin-reports-request-page .drawer-backdrop.active {
  opacity: 1; pointer-events: all;
}
.admin-reports-request-page .drawer {
  position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
            background: #ffffff; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            z-index: 101; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
}
.admin-reports-request-page .drawer.active {
  transform: translateX(0);
}
.admin-reports-request-page .drawer-header {
  padding: 24px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-reports-request-page .drawer-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
            padding: 4px; border-radius: 4px;
}
.admin-reports-request-page .drawer-close:hover {
  background: var(--bg-base); color: var(--text-main);
}
.admin-reports-request-page .drawer-profile {
  display: flex; align-items: center; gap: 20px;
}
.admin-reports-request-page .drawer-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
}
.admin-reports-request-page .drawer-name {
  font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px;
}
.admin-reports-request-page .drawer-role {
  font-size: 0.85rem; background: #e2e8f0; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.admin-reports-request-page .drawer-body {
  flex: 1; overflow-y: auto; padding: 24px;
}
.admin-reports-request-page .stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px;
}
.admin-reports-request-page .stat-box {
  background: var(--bg-base); border: 1px solid var(--border-color); padding: 15px; border-radius: 12px;
}
.admin-reports-request-page .stat-label {
  font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-bottom: 5px;
}
.admin-reports-request-page .stat-val {
  font-size: 1.25rem; font-weight: 800; font-family: 'Outfit'; color: var(--text-main);
}
.admin-reports-request-page .stat-val.alert {
  color: var(--danger);
}
.admin-reports-request-page .section-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; color: var(--text-main); padding-bottom: 10px; border-bottom: 2px solid var(--bg-base);
}
.admin-reports-request-page .history-list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px;
}
.admin-reports-request-page .history-item {
  display: flex; justify-content: space-between; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
}
.admin-reports-request-page .hi-title {
  font-weight: 600; font-size: 0.9rem;
}
.admin-reports-request-page .hi-meta {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 4px;
}
.admin-reports-request-page .hi-amount {
  font-weight: 700; font-family: 'Outfit';
}
.admin-reports-request-page .drawer-footer {
  padding: 24px; border-top: 1px solid var(--border-color); background: var(--bg-base);
            display: flex; gap: 15px;
}
.admin-reports-request-page .btn-full {
  flex: 1; padding: 12px; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; border: none; font-size: 0.95rem; transition: 0.2s;
}
.admin-reports-request-page .btn-warning {
  background: #fff; border: 1px solid var(--warning); color: var(--warning);
}
.admin-reports-request-page .btn-warning:hover {
  background: #fef3c7;
}
.admin-reports-request-page .btn-danger {
  background: var(--danger); color: white;
}
.admin-reports-request-page .btn-danger:hover {
  background: #dc2626;
}
.badge-bug { background:#f3e8ff; color:#9333ea; }
.preview-text { max-width:300px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.drawer-title-size { font-size:1.2rem; }
.badge-alert { background:#fee2e2; color:#ef4444; }
.drawer-item-spacer { margin-bottom: 20px; }
.drawer-user-name { font-weight:700; margin-top:5px; color:var(--primary); }
.drawer-date { font-weight:500; margin-top:5px; }
.drawer-message-box { background:var(--bg-surface-hover); padding:20px; border-radius:12px; line-height:1.6; color:var(--text-main); font-size:0.95rem; margin-bottom:30px; }
.bg-white { background:#fff; }
.drawer-memo-section { margin-top:20px; }
.drawer-textarea { width:100%; padding:15px; border-radius:8px; border:1px solid var(--border-color); outline:none; resize:none; min-height:80px; transition: 0.2s; }
.drawer-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.btn-save-memo { margin-top:10px; width:100%; background:var(--bg-base); transition: 0.2s; }
.btn-save-memo:hover { background: var(--bg-surface-hover); }
.admin-reports-request-page .btn-primary { background:var(--primary); color:white; border:none; transition: 0.2s; }
.admin-reports-request-page .btn-primary:hover { background:#2563eb; }
.admin-reports-request-page .btn-muted-style { border: 1px solid var(--text-muted); color: var(--text-muted); background: white; transition: 0.2s; }
.admin-reports-request-page .btn-muted-style:hover { background: var(--bg-base); }

.admin-reports-violation-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            --warning: #f59e0b;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-reports-violation-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-reports-violation-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-reports-violation-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-reports-violation-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-reports-violation-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-reports-violation-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-reports-violation-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-reports-violation-page .nav-item:hover, .admin-reports-violation-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-reports-violation-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-reports-violation-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-reports-violation-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-reports-violation-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-reports-violation-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-reports-violation-page /* Controls (Tabs & Search) */
        .controls-bar {
  display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px;
}
.admin-reports-violation-page .tabs {
  display: flex; background: #e2e8f0; border-radius: 10px; padding: 4px;
}
.admin-reports-violation-page .tab {
  padding: 8px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.admin-reports-violation-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-reports-violation-page .tab.active {
  background: #ffffff; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.admin-reports-violation-page .search-box {
  display: flex; align-items: center; background: #ffffff; border: 1px solid var(--border-color);
            border-radius: 10px; padding: 8px 15px; width: 300px;
}
.admin-reports-violation-page .search-box svg {
  color: var(--text-muted); margin-right: 10px;
}
.admin-reports-violation-page .search-box input {
  border: none; outline: none; font-size: 0.9rem; width: 100%; color: var(--text-main);
}
.admin-reports-violation-page /* Data Table Container */
        .table-container {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            flex: 1; overflow: hidden; display: flex; flex-direction: column;
}
.admin-reports-violation-page .data-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.admin-reports-violation-page .data-table th {
  background: var(--bg-base); padding: 16px 24px; font-size: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
            border-bottom: 1px solid var(--border-color); font-weight: 700;
}
.admin-reports-violation-page .data-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
}
.admin-reports-violation-page .data-table tr:hover td {
  background: var(--bg-surface-hover);
}
.admin-reports-violation-page .user-cell {
  display: flex; align-items: center; gap: 12px;
}
.admin-reports-violation-page .user-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e2e8f0;
}
.admin-reports-violation-page .user-name {
  font-weight: 600; color: var(--text-main); font-size: 0.95rem;
}
.admin-reports-violation-page .user-id {
  font-size: 0.75rem; color: var(--text-muted); font-family: monospace;
}
.admin-reports-violation-page .badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.admin-reports-violation-page .badge.success {
  background: #dcfce7; color: #166534;
}
.admin-reports-violation-page .badge.warning {
  background: #fef3c7; color: #92400e;
}
.admin-reports-violation-page .badge.danger {
  background: #fee2e2; color: #991b1b;
}
.admin-reports-violation-page .btn-action {
  background: white; border: 1px solid var(--border-color); padding: 6px 12px;
            border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-main);
            transition: 0.2s;
}
.admin-reports-violation-page .btn-action:hover {
  background: var(--bg-base); border-color: #cbd5e1;
}
.admin-reports-violation-page /* --- Drawer (Slide Panel) --- */
        .drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.3); backdrop-filter: blur(2px);
            z-index: 100; opacity: 0; pointer-events: none; transition: 0.3s;
}
.admin-reports-violation-page .drawer-backdrop.active {
  opacity: 1; pointer-events: all;
}
.admin-reports-violation-page .drawer {
  position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
            background: #ffffff; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            z-index: 101; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
}
.admin-reports-violation-page .drawer.active {
  transform: translateX(0);
}
.admin-reports-violation-page .drawer-header {
  padding: 24px; border-bottom: 1px solid var(--border-color);
            display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-reports-violation-page .drawer-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
            padding: 4px; border-radius: 4px;
}
.admin-reports-violation-page .drawer-close:hover {
  background: var(--bg-base); color: var(--text-main);
}
.admin-reports-violation-page .drawer-profile {
  display: flex; align-items: center; gap: 20px;
}
.admin-reports-violation-page .drawer-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
}
.admin-reports-violation-page .drawer-name {
  font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px;
}
.admin-reports-violation-page .drawer-role {
  font-size: 0.85rem; background: #e2e8f0; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.admin-reports-violation-page .drawer-body {
  flex: 1; overflow-y: auto; padding: 24px;
}
.admin-reports-violation-page .stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px;
}
.admin-reports-violation-page .stat-box {
  background: var(--bg-base); border: 1px solid var(--border-color); padding: 15px; border-radius: 12px;
}
.admin-reports-violation-page .stat-label {
  font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-bottom: 5px;
}
.admin-reports-violation-page .stat-val {
  font-size: 1.25rem; font-weight: 800; font-family: 'Outfit'; color: var(--text-main);
}
.admin-reports-violation-page .stat-val.alert {
  color: var(--danger);
}
.admin-reports-violation-page .section-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; color: var(--text-main); padding-bottom: 10px; border-bottom: 2px solid var(--bg-base);
}
.admin-reports-violation-page .history-list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px;
}
.admin-reports-violation-page .history-item {
  display: flex; justify-content: space-between; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
}
.admin-reports-violation-page .hi-title {
  font-weight: 600; font-size: 0.9rem;
}
.admin-reports-violation-page .hi-meta {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 4px;
}
.admin-reports-violation-page .hi-amount {
  font-weight: 700; font-family: 'Outfit';
}
.admin-reports-violation-page .drawer-footer {
  padding: 24px; border-top: 1px solid var(--border-color); background: var(--bg-base);
            display: flex; gap: 15px;
}
.admin-reports-violation-page .btn-full {
  flex: 1; padding: 12px; border-radius: 8px; font-weight: 700; text-align: center; cursor: pointer; border: none; font-size: 0.95rem; transition: 0.2s;
}
.admin-reports-violation-page .btn-warning {
  background: #fff; border: 1px solid var(--warning); color: var(--warning);
}
.admin-reports-violation-page .btn-warning:hover {
  background: #fef3c7;
}
.admin-reports-violation-page .btn-danger {
  background: var(--danger); color: white;
}
.admin-reports-violation-page .btn-danger:hover {
  background: #dc2626;
}
.badge-request { background:#e0f2fe; color:#0284c7; }
.admin-reports-violation-page .btn-primary { background:var(--primary); color:white; border:none; transition: 0.2s; }
.admin-reports-violation-page .btn-primary:hover { background:#2563eb; }
.admin-reports-violation-page .btn-success-style { border: 1px solid var(--success); color: var(--success); background: white; transition: 0.2s; }
.admin-reports-violation-page .btn-success-style:hover { background: #ecfdf5; }
.admin-support-buyer-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-support-buyer-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-support-buyer-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-support-buyer-page /* --- Sidebar (共通) --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-support-buyer-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-support-buyer-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-support-buyer-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-support-buyer-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-support-buyer-page .nav-item:hover, .admin-support-buyer-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-support-buyer-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-support-buyer-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-support-buyer-page .nav-badge {
  position: absolute; top: 12px; left: 32px; width: 8px; height: 8px;
            background: var(--danger); border-radius: 50%; border: 2px solid white;
}
.admin-support-buyer-page /* --- Main Content Layout --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-support-buyer-page /* Header */
        .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-support-buyer-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-support-buyer-page /* Support Area (2 Columns) */
        .support-container {
  flex: 1; display: flex; gap: 20px; overflow: hidden;
            background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-support-buyer-page /* Left Column: Chat List */
        .chat-list-col {
  width: 350px; border-right: 1px solid var(--border-color);
            display: flex; flex-direction: column; background: #ffffff;
}
.admin-support-buyer-page .chat-tabs {
  display: flex; border-bottom: 1px solid var(--border-color); padding: 10px 15px 0;
}
.admin-support-buyer-page .tab {
  flex: 1; text-align: center; padding: 12px 0; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent;
            transition: 0.2s;
}
.admin-support-buyer-page .tab:hover {
  color: var(--text-main);
}
.admin-support-buyer-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-support-buyer-page .tab.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.admin-support-buyer-page .list-search {
  padding: 15px; border-bottom: 1px solid var(--border-color);
}
.admin-support-buyer-page .list-search input {
  width: 100%; padding: 10px 15px; border: 1px solid var(--border-color);
            border-radius: 8px; font-size: 0.9rem; background: var(--bg-base); outline: none;
            transition: 0.2s;
}
.admin-support-buyer-page .list-search input:focus {
  border-color: var(--primary); background: #fff;
}
.admin-support-buyer-page .chat-items {
  flex: 1; overflow-y: auto;
}
.admin-support-buyer-page .chat-item {
  display: flex; padding: 15px; border-bottom: 1px solid var(--bg-base);
            cursor: pointer; transition: 0.2s; position: relative;
}
.admin-support-buyer-page .chat-item:hover {
  background: var(--bg-surface-hover);
}
.admin-support-buyer-page .chat-item.active {
  background: var(--primary-light); border-left: 4px solid var(--primary); padding-left: 11px;
}
.admin-support-buyer-page .user-avatar {
  width: 45px; height: 45px; border-radius: 50%; background: #e2e8f0; margin-right: 15px; flex-shrink: 0; overflow:hidden;
}
.admin-support-buyer-page .user-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.admin-support-buyer-page .chat-preview {
  flex: 1; min-width: 0;
}
.admin-support-buyer-page .chat-header-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px;
}
.admin-support-buyer-page .chat-name {
  font-weight: 700; font-size: 0.95rem; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-support-buyer-page .chat-time {
  font-size: 0.75rem; color: var(--text-muted);
}
.admin-support-buyer-page .chat-snippet {
  font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-support-buyer-page .chat-item.unread .chat-name {
  color: var(--text-main);
}
.admin-support-buyer-page .chat-item.unread .chat-snippet {
  font-weight: 600; color: var(--text-main);
}
.admin-support-buyer-page .chat-unread-badge {
  position: absolute; right: 15px; bottom: 15px; background: var(--primary); color: white;
            font-size: 0.7rem; font-weight: 700; border-radius: 10px; padding: 2px 6px;
}
.admin-support-buyer-page /* Right Column: Chat Window */
        .chat-window-col {
  flex: 1; display: flex; flex-direction: column; background: var(--bg-base);
}
.admin-support-buyer-page /* Chat Header */
        .chat-header {
  padding: 20px 25px; border-bottom: 1px solid var(--border-color); background: #ffffff;
            display: flex; justify-content: space-between; align-items: center;
}
.admin-support-buyer-page .chat-user-info {
  display: flex; align-items: center;
}
.admin-support-buyer-page .header-avatar {
  width: 50px; height: 50px; border-radius: 50%; margin-right: 15px;
}
.admin-support-buyer-page .header-name {
  font-weight: 700; font-size: 1.1rem; color: var(--text-main); display: flex; align-items: center; gap: 8px;
}
.admin-support-buyer-page .header-role {
  font-size: 0.75rem; background: #e2e8f0; color: #475569; padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.admin-support-buyer-page .header-status {
  font-size: 0.85rem; color: var(--success); margin-top: 3px; display: flex; align-items: center; gap: 4px;
}
.admin-support-buyer-page .status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
}
.admin-support-buyer-page .header-actions button {
  background: white; border: 1px solid var(--border-color); padding: 8px 15px;
            border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--text-main);
            transition: 0.2s; display: flex; align-items: center; gap: 6px;
}
.admin-support-buyer-page .header-actions button:hover {
  background: var(--bg-surface-hover);
}
.admin-support-buyer-page /* Chat Messages */
        .chat-messages {
  flex: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 20px;
}
.admin-support-buyer-page .message {
  display: flex; max-width: 75%;
}
.admin-support-buyer-page .msg-user {
  align-self: flex-start;
}
.admin-support-buyer-page .msg-admin {
  align-self: flex-end; flex-direction: row-reverse;
}
.admin-support-buyer-page .msg-avatar {
  width: 36px; height: 36px; border-radius: 50%; margin-top: auto;
}
.admin-support-buyer-page .msg-user .msg-avatar {
  margin-right: 12px;
}
.admin-support-buyer-page .msg-admin .msg-avatar {
  margin-left: 12px;
}
.admin-support-buyer-page .msg-content {
  display: flex; flex-direction: column;
}
.admin-support-buyer-page .msg-admin .msg-content {
  align-items: flex-end;
}
.admin-support-buyer-page .msg-bubble {
  padding: 12px 18px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5;
            position: relative;
}
.admin-support-buyer-page .msg-user .msg-bubble {
  background: #ffffff; color: var(--text-main); border: 1px solid var(--border-color); border-bottom-left-radius: 4px;
}
.admin-support-buyer-page .msg-admin .msg-bubble {
  background: var(--primary); color: #ffffff; border-bottom-right-radius: 4px;
}
.admin-support-buyer-page .msg-time {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; margin-bottom: 2px;
}
.admin-support-buyer-page /* Chat Input */
        .chat-input-area {
  padding: 20px; background: #ffffff; border-top: 1px solid var(--border-color);
}
.admin-support-buyer-page .input-wrapper {
  display: flex; align-items: flex-end; gap: 10px; background: var(--bg-base);
            border: 1px solid var(--border-color); border-radius: 12px; padding: 10px;
            transition: 0.2s;
}
.admin-support-buyer-page .input-wrapper:focus-within {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-support-buyer-page .input-wrapper textarea {
  flex: 1; border: none; background: transparent; outline: none; resize: none;
            padding: 5px; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main);
            min-height: 44px; max-height: 120px; line-height: 1.5;
}
.admin-support-buyer-page .input-actions {
  display: flex; gap: 8px; align-items: center; padding-bottom: 5px;
}
.admin-support-buyer-page .btn-icon {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
            padding: 8px; border-radius: 8px; transition: 0.2s; display: flex; justify-content: center; align-items: center;
}
.admin-support-buyer-page .btn-icon:hover {
  background: #e2e8f0; color: var(--text-main);
}
.admin-support-buyer-page .btn-send {
  background: var(--primary); border: none; color: white; cursor: pointer;
            padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: 0.2s;
            display: flex; align-items: center; gap: 6px;
}
.admin-support-buyer-page .btn-send:hover {
  background: #2563eb;
}

.admin-support-seller-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-support-seller-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-support-seller-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-support-seller-page /* --- Sidebar (共通) --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-support-seller-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-support-seller-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-support-seller-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-support-seller-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-support-seller-page .nav-item:hover, .admin-support-seller-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-support-seller-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-support-seller-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-support-seller-page .nav-badge {
  position: absolute; top: 12px; left: 32px; width: 8px; height: 8px;
            background: var(--danger); border-radius: 50%; border: 2px solid white;
}
.admin-support-seller-page /* --- Main Content Layout --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
}
.admin-support-seller-page /* Header */
        .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-shrink: 0;
}
.admin-support-seller-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-support-seller-page /* Support Area (2 Columns) */
        .support-container {
  flex: 1; display: flex; gap: 20px; overflow: hidden;
            background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-support-seller-page /* Left Column: Chat List */
        .chat-list-col {
  width: 350px; border-right: 1px solid var(--border-color);
            display: flex; flex-direction: column; background: #ffffff;
}
.admin-support-seller-page .chat-tabs {
  display: flex; border-bottom: 1px solid var(--border-color); padding: 10px 15px 0;
}
.admin-support-seller-page .tab {
  flex: 1; text-align: center; padding: 12px 0; font-weight: 600; font-size: 0.9rem;
            color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent;
            transition: 0.2s;
}
.admin-support-seller-page .tab:hover {
  color: var(--text-main);
}
.admin-support-seller-page a.tab {
  text-decoration: none; display: inline-block;
}
.admin-support-seller-page .tab.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.admin-support-seller-page .list-search {
  padding: 15px; border-bottom: 1px solid var(--border-color);
}
.admin-support-seller-page .list-search input {
  width: 100%; padding: 10px 15px; border: 1px solid var(--border-color);
            border-radius: 8px; font-size: 0.9rem; background: var(--bg-base); outline: none;
            transition: 0.2s;
}
.admin-support-seller-page .list-search input:focus {
  border-color: var(--primary); background: #fff;
}
.admin-support-seller-page .chat-items {
  flex: 1; overflow-y: auto;
}
.admin-support-seller-page .chat-item {
  display: flex; padding: 15px; border-bottom: 1px solid var(--bg-base);
            cursor: pointer; transition: 0.2s; position: relative;
}
.admin-support-seller-page .chat-item:hover {
  background: var(--bg-surface-hover);
}
.admin-support-seller-page .chat-item.active {
  background: var(--primary-light); border-left: 4px solid var(--primary); padding-left: 11px;
}
.admin-support-seller-page .user-avatar {
  width: 45px; height: 45px; border-radius: 50%; background: #e2e8f0; margin-right: 15px; flex-shrink: 0; overflow:hidden;
}
.admin-support-seller-page .user-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.admin-support-seller-page .chat-preview {
  flex: 1; min-width: 0;
}
.admin-support-seller-page .chat-header-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px;
}
.admin-support-seller-page .chat-name {
  font-weight: 700; font-size: 0.95rem; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-support-seller-page .chat-time {
  font-size: 0.75rem; color: var(--text-muted);
}
.admin-support-seller-page .chat-snippet {
  font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-support-seller-page .chat-item.unread .chat-name {
  color: var(--text-main);
}
.admin-support-seller-page .chat-item.unread .chat-snippet {
  font-weight: 600; color: var(--text-main);
}
.admin-support-seller-page .chat-unread-badge {
  position: absolute; right: 15px; bottom: 15px; background: var(--primary); color: white;
            font-size: 0.7rem; font-weight: 700; border-radius: 10px; padding: 2px 6px;
}
.admin-support-seller-page /* Right Column: Chat Window */
        .chat-window-col {
  flex: 1; display: flex; flex-direction: column; background: var(--bg-base);
}
.admin-support-seller-page /* Chat Header */
        .chat-header {
  padding: 20px 25px; border-bottom: 1px solid var(--border-color); background: #ffffff;
            display: flex; justify-content: space-between; align-items: center;
}
.admin-support-seller-page .chat-user-info {
  display: flex; align-items: center;
}
.admin-support-seller-page .header-avatar {
  width: 50px; height: 50px; border-radius: 50%; margin-right: 15px;
}
.admin-support-seller-page .header-name {
  font-weight: 700; font-size: 1.1rem; color: var(--text-main); display: flex; align-items: center; gap: 8px;
}
.admin-support-seller-page .header-role {
  font-size: 0.75rem; background: #e2e8f0; color: #475569; padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.admin-support-seller-page .header-status {
  font-size: 0.85rem; color: var(--success); margin-top: 3px; display: flex; align-items: center; gap: 4px;
}
.admin-support-seller-page .status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
}
.admin-support-seller-page .header-actions button {
  background: white; border: 1px solid var(--border-color); padding: 8px 15px;
            border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--text-main);
            transition: 0.2s; display: flex; align-items: center; gap: 6px;
}
.admin-support-seller-page .header-actions button:hover {
  background: var(--bg-surface-hover);
}
.admin-support-seller-page /* Chat Messages */
        .chat-messages {
  flex: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 20px;
}
.admin-support-seller-page .message {
  display: flex; max-width: 75%;
}
.admin-support-seller-page .msg-user {
  align-self: flex-start;
}
.admin-support-seller-page .msg-admin {
  align-self: flex-end; flex-direction: row-reverse;
}
.admin-support-seller-page .msg-avatar {
  width: 36px; height: 36px; border-radius: 50%; margin-top: auto;
}
.admin-support-seller-page .msg-user .msg-avatar {
  margin-right: 12px;
}
.admin-support-seller-page .msg-admin .msg-avatar {
  margin-left: 12px;
}
.admin-support-seller-page .msg-content {
  display: flex; flex-direction: column;
}
.admin-support-seller-page .msg-admin .msg-content {
  align-items: flex-end;
}
.admin-support-seller-page .msg-bubble {
  padding: 12px 18px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5;
            position: relative;
}
.admin-support-seller-page .msg-user .msg-bubble {
  background: #ffffff; color: var(--text-main); border: 1px solid var(--border-color); border-bottom-left-radius: 4px;
}
.admin-support-seller-page .msg-admin .msg-bubble {
  background: var(--primary); color: #ffffff; border-bottom-right-radius: 4px;
}
.admin-support-seller-page .msg-time {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; margin-bottom: 2px;
}
.admin-support-seller-page /* Chat Input */
        .chat-input-area {
  padding: 20px; background: #ffffff; border-top: 1px solid var(--border-color);
}
.admin-support-seller-page .input-wrapper {
  display: flex; align-items: flex-end; gap: 10px; background: var(--bg-base);
            border: 1px solid var(--border-color); border-radius: 12px; padding: 10px;
            transition: 0.2s;
}
.admin-support-seller-page .input-wrapper:focus-within {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-support-seller-page .input-wrapper textarea {
  flex: 1; border: none; background: transparent; outline: none; resize: none;
            padding: 5px; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main);
            min-height: 44px; max-height: 120px; line-height: 1.5;
}
.admin-support-seller-page .input-actions {
  display: flex; gap: 8px; align-items: center; padding-bottom: 5px;
}
.admin-support-seller-page .btn-icon {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
            padding: 8px; border-radius: 8px; transition: 0.2s; display: flex; justify-content: center; align-items: center;
}
.admin-support-seller-page .btn-icon:hover {
  background: #e2e8f0; color: var(--text-main);
}
.admin-support-seller-page .btn-send {
  background: var(--primary); border: none; color: white; cursor: pointer;
            padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: 0.2s;
            display: flex; align-items: center; gap: 6px;
}
.admin-support-seller-page .btn-send:hover {
  background: #2563eb;
}
.admin-support-templates-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-support-templates-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-support-templates-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-support-templates-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-support-templates-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-support-templates-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-support-templates-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-support-templates-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-support-templates-page .nav-item:hover, .admin-support-templates-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-support-templates-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-support-templates-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-support-templates-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-support-templates-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-support-templates-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-support-templates-page /* Bento Grid */
        .settings-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.admin-support-templates-page .bento-box {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-support-templates-page .bento-box.wide {
  grid-column: 1 / -1;
}
.admin-support-templates-page .box-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.admin-support-templates-page .box-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; justify-content: center; align-items: center;
}
.admin-support-templates-page .box-title {
  font-weight: 700; font-size: 1.2rem; color: var(--text-main);
}
.admin-support-templates-page /* Form Elements */
        .form-group {
  margin-bottom: 20px;
}
.admin-support-templates-page .form-label {
  display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px;
}
.admin-support-templates-page .form-input, .admin-support-templates-page .form-textarea {
  width: 100%; border: 1px solid var(--border-color); background: var(--bg-base);
            border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; outline: none; transition: 0.2s;
            font-family: 'Inter', sans-serif;
}
.admin-support-templates-page .form-input:focus, .admin-support-templates-page .form-textarea:focus {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-support-templates-page .form-textarea {
  resize: vertical; min-height: 100px;
}
.admin-support-templates-page .radio-group {
  display: flex; gap: 15px;
}
.admin-support-templates-page .radio-label {
  display: flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer;
}
.admin-support-templates-page .radio-label input {
  accent-color: var(--primary); width: 16px; height: 16px;
}
.admin-support-templates-page .btn-save {
  background: var(--primary); color: white; border: none; padding: 12px 24px;
            border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
            display: inline-flex; align-items: center; gap: 8px;
}
.admin-support-templates-page .btn-save:hover {
  background: #2563eb;
}
.admin-support-templates-page /* Tags for NG Words */
        .tags-container {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; background: var(--bg-base); border: 1px solid var(--border-color); border-radius: 10px;
}
.admin-support-templates-page .tag {
  background: #fee2e2; color: var(--danger); padding: 6px 12px; border-radius: 20px;
            font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.admin-support-templates-page .tag-remove {
  background: none; border: none; color: var(--danger); cursor: pointer; display: flex; align-items: center; padding: 0;
}
.admin-support-templates-page .tag-remove:hover {
  color: #991b1b;
}
.admin-support-templates-page /* Currency input wrapper */
        .input-with-addon {
  display: flex; align-items: center;
}
.admin-support-templates-page .input-with-addon .form-input {
  border-radius: 10px 0 0 10px; border-right: none; font-size: 1.2rem; font-weight: 700; width: 100px; text-align: center;
}
.admin-support-templates-page .input-addon {
  background: #e2e8f0; border: 1px solid var(--border-color); padding: 12px 15px; border-radius: 0 10px 10px 0; font-weight: 700; color: var(--text-muted); font-size: 1.2rem;
}
.admin-settings-commission-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-settings-commission-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-settings-commission-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-settings-commission-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-settings-commission-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-settings-commission-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-settings-commission-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-settings-commission-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-settings-commission-page .nav-item:hover, .admin-settings-commission-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-settings-commission-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-settings-commission-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-settings-commission-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-settings-commission-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-settings-commission-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-settings-commission-page /* Bento Grid */
        .settings-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.admin-settings-commission-page .bento-box {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-settings-commission-page .bento-box.wide {
  grid-column: 1 / -1;
}
.admin-settings-commission-page .box-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.admin-settings-commission-page .box-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; justify-content: center; align-items: center;
}
.admin-settings-commission-page .box-title {
  font-weight: 700; font-size: 1.2rem; color: var(--text-main);
}
.admin-settings-commission-page /* Form Elements */
        .form-group {
  margin-bottom: 20px;
}
.admin-settings-commission-page .form-label {
  display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px;
}
.admin-settings-commission-page .form-input, .admin-settings-commission-page .form-textarea {
  width: 100%; border: 1px solid var(--border-color); background: var(--bg-base);
            border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; outline: none; transition: 0.2s;
            font-family: 'Inter', sans-serif;
}
.admin-settings-commission-page .form-input:focus, .admin-settings-commission-page .form-textarea:focus {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-settings-commission-page .form-textarea {
  resize: vertical; min-height: 100px;
}
.admin-settings-commission-page .radio-group {
  display: flex; gap: 15px;
}
.admin-settings-commission-page .radio-label {
  display: flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer;
}
.admin-settings-commission-page .radio-label input {
  accent-color: var(--primary); width: 16px; height: 16px;
}
.admin-settings-commission-page .btn-save {
  background: var(--primary); color: white; border: none; padding: 12px 24px;
            border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
            display: inline-flex; align-items: center; gap: 8px;
}
.admin-settings-commission-page .btn-save:hover {
  background: #2563eb;
}
.admin-settings-commission-page /* Tags for NG Words */
        .tags-container {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; background: var(--bg-base); border: 1px solid var(--border-color); border-radius: 10px;
}
.admin-settings-commission-page .tag {
  background: #fee2e2; color: var(--danger); padding: 6px 12px; border-radius: 20px;
            font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.admin-settings-commission-page .tag-remove {
  background: none; border: none; color: var(--danger); cursor: pointer; display: flex; align-items: center; padding: 0;
}
.admin-settings-commission-page .tag-remove:hover {
  color: #991b1b;
}
.admin-settings-commission-page /* Currency input wrapper */
        .input-with-addon {
  display: flex; align-items: center;
}
.admin-settings-commission-page .input-with-addon .form-input {
  border-radius: 10px 0 0 10px; border-right: none; font-size: 1.2rem; font-weight: 700; width: 100px; text-align: center;
}
.admin-settings-commission-page .input-addon {
  background: #e2e8f0; border: 1px solid var(--border-color); padding: 12px 15px; border-radius: 0 10px 10px 0; font-weight: 700; color: var(--text-muted); font-size: 1.2rem;
}
.form-group-limit { max-width: 300px; }
.add-custom-row { display:flex; gap:15px; align-items:flex-end; margin-bottom: 30px; background:var(--bg-surface-hover); padding:20px; border-radius:12px; border:1px dashed var(--border-color); }
.form-group-flex { margin-bottom:0; flex:1; }
.form-group-width { margin-bottom:0; width:150px; }

.setting-list-title { font-size:1rem; margin-bottom:15px; color:var(--text-main); }
.setting-list { display:flex; flex-direction:column; gap:10px; }
.setting-item { display:flex; justify-content:space-between; align-items:center; padding:15px; border:1px solid var(--border-color); border-radius:10px; background:#fff; }
.item-user-info { display:flex; align-items:center; gap:12px; }
.item-avatar { width:40px; height:40px; border-radius:50%; }
.item-name { font-weight:700; }
.item-action-area { display:flex; align-items:center; gap:20px; }
.item-rate { font-weight:800; font-size:1.2rem; color:var(--primary); }
.btn-danger-action { background:var(--danger); padding:8px 15px; }

/* --- Settings Commission Classes --- */
.bento-description { color:var(--text-muted); font-size:0.9rem; margin-bottom:20px; line-height:1.5; }
.icon-warning { background:#fef3c7; color:var(--warning); }
.btn-dark { background:var(--text-main); }
.text-xs-muted { font-size:0.75rem; color:var(--text-muted); }
.admin-settings-ngword-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-settings-ngword-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-settings-ngword-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-settings-ngword-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-settings-ngword-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-settings-ngword-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-settings-ngword-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-settings-ngword-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-settings-ngword-page .nav-item:hover, .admin-settings-ngword-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-settings-ngword-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-settings-ngword-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-settings-ngword-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-settings-ngword-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-settings-ngword-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-settings-ngword-page /* Bento Grid */
        .settings-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.admin-settings-ngword-page .bento-box {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-settings-ngword-page .bento-box.wide {
  grid-column: 1 / -1;
}
.admin-settings-ngword-page .box-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.admin-settings-ngword-page .box-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; justify-content: center; align-items: center;
}
.admin-settings-ngword-page .box-title {
  font-weight: 700; font-size: 1.2rem; color: var(--text-main);
}
.admin-settings-ngword-page /* Form Elements */
        .form-group {
  margin-bottom: 20px;
}
.admin-settings-ngword-page .form-label {
  display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px;
}
.admin-settings-ngword-page .form-input, .admin-settings-ngword-page .form-textarea {
  width: 100%; border: 1px solid var(--border-color); background: var(--bg-base);
            border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; outline: none; transition: 0.2s;
            font-family: 'Inter', sans-serif;
}
.admin-settings-ngword-page .form-input:focus, .admin-settings-ngword-page .form-textarea:focus {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-settings-ngword-page .form-textarea {
  resize: vertical; min-height: 100px;
}
.admin-settings-ngword-page .radio-group {
  display: flex; gap: 15px;
}
.admin-settings-ngword-page .radio-label {
  display: flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer;
}
.admin-settings-ngword-page .radio-label input {
  accent-color: var(--primary); width: 16px; height: 16px;
}
.admin-settings-ngword-page .btn-save {
  background: var(--primary); color: white; border: none; padding: 12px 24px;
            border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
            display: inline-flex; align-items: center; gap: 8px;
}
.admin-settings-ngword-page .btn-save:hover {
  background: #2563eb;
}
.admin-settings-ngword-page /* Tags for NG Words */
        .tags-container {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; background: var(--bg-base); border: 1px solid var(--border-color); border-radius: 10px;
}
.admin-settings-ngword-page .tag {
  background: #fee2e2; color: var(--danger); padding: 6px 12px; border-radius: 20px;
            font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.admin-settings-ngword-page .tag-remove {
  background: none; border: none; color: var(--danger); cursor: pointer; display: flex; align-items: center; padding: 0;
}
.admin-settings-ngword-page .tag-remove:hover {
  color: #991b1b;
}
.admin-settings-ngword-page /* Currency input wrapper */
        .input-with-addon {
  display: flex; align-items: center;
}
.admin-settings-ngword-page .input-with-addon .form-input {
  border-radius: 10px 0 0 10px; border-right: none; font-size: 1.2rem; font-weight: 700; width: 100px; text-align: center;
}
.admin-settings-ngword-page .input-addon {
  background: #e2e8f0; border: 1px solid var(--border-color); padding: 12px 15px; border-radius: 0 10px 10px 0; font-weight: 700; color: var(--text-muted); font-size: 1.2rem;
}
.icon-danger { background:#fee2e2; color:var(--danger); }
.bento-description-sm { color:var(--text-muted); font-size:0.9rem; margin-bottom:15px; }
.tags-container-margin { margin-bottom:15px; }
.form-inline-wrap { display:flex; gap:10px; max-width: 400px; }
.admin-settings-notice-page :root {
  --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --border-color: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --danger: #ef4444;
            --success: #10b981;
            
            --sidebar-width-collapsed: 80px;
            --sidebar-width-expanded: 240px;
}
.admin-settings-notice-page * {
  margin: 0; padding: 0; box-sizing: border-box;
}
.admin-settings-notice-page body {
  font-family: 'Inter', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
}
.admin-settings-notice-page /* --- Sidebar --- */
        .sidebar {
  position: fixed; top: 20px; left: 20px; bottom: 20px; 
            width: var(--sidebar-width-expanded);
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
            border: 1px solid var(--border-color); border-radius: 20px;
            display: flex; flex-direction: column; align-items: flex-start; padding: 30px 0;
            z-index: 50; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
}
.admin-settings-notice-page .sidebar-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem;
            color: var(--primary); text-decoration: none; font-style: italic;
            margin-bottom: 40px; padding-left: 25px;
            display: flex; align-items: center; white-space: nowrap;
}
.admin-settings-notice-page .logo-text {
  opacity: 1; margin-left: 10px; font-size: 1.2rem;
}
.admin-settings-notice-page .nav-items {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 15px;
}
.admin-settings-notice-page .nav-item {
  height: 50px; border-radius: 12px; text-decoration: none;
            display: flex; align-items: center; padding-left: 13px;
            color: var(--text-muted); cursor: pointer; transition: all 0.2s;
            position: relative; white-space: nowrap; overflow: hidden;
}
.admin-settings-notice-page .nav-item:hover, .admin-settings-notice-page .nav-item.active {
  background: var(--bg-surface-hover); color: var(--primary);
}
.admin-settings-notice-page .nav-item svg {
  width: 24px; height: 24px; stroke-width: 1.5; flex-shrink: 0;
}
.admin-settings-notice-page .nav-label {
  margin-left: 15px; font-weight: 600; font-size: 0.95rem;
            opacity: 1; transform: translateX(0);
}
.admin-settings-notice-page /* --- Main Content --- */
        .main-wrapper {
  margin-left: calc(var(--sidebar-width-expanded) + 40px);
            flex: 1; display: flex; flex-direction: column;
            padding: 20px 20px 20px 0; z-index: 10;
            overflow-y: auto;
}
.admin-settings-notice-page .header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-shrink: 0;
}
.admin-settings-notice-page .page-title {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #1e293b;
}
.admin-settings-notice-page /* Bento Grid */
        .settings-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.admin-settings-notice-page .bento-box {
  background: var(--bg-surface); border: 1px solid var(--border-color);
            border-radius: 20px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.admin-settings-notice-page .bento-box.wide {
  grid-column: 1 / -1;
}
.admin-settings-notice-page .box-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.admin-settings-notice-page .box-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; justify-content: center; align-items: center;
}
.admin-settings-notice-page .box-title {
  font-weight: 700; font-size: 1.2rem; color: var(--text-main);
}
.admin-settings-notice-page /* Form Elements */
        .form-group {
  margin-bottom: 20px;
}
.admin-settings-notice-page .form-label {
  display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px;
}
.admin-settings-notice-page .form-input, .admin-settings-notice-page .form-textarea {
  width: 100%; border: 1px solid var(--border-color); background: var(--bg-base);
            border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; outline: none; transition: 0.2s;
            font-family: 'Inter', sans-serif;
}
.admin-settings-notice-page .form-input:focus, .admin-settings-notice-page .form-textarea:focus {
  border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px var(--primary-light);
}
.admin-settings-notice-page .form-textarea {
  resize: vertical; min-height: 100px;
}
.admin-settings-notice-page .radio-group {
  display: flex; gap: 15px;
}
.admin-settings-notice-page .radio-label {
  display: flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer;
}
.admin-settings-notice-page .radio-label input {
  accent-color: var(--primary); width: 16px; height: 16px;
}
.admin-settings-notice-page .btn-save {
  background: var(--primary); color: white; border: none; padding: 12px 24px;
            border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
            display: inline-flex; align-items: center; gap: 8px;
}
.admin-settings-notice-page .btn-save:hover {
  background: #2563eb;
}
.admin-settings-notice-page /* Tags for NG Words */
        .tags-container {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; background: var(--bg-base); border: 1px solid var(--border-color); border-radius: 10px;
}
.admin-settings-notice-page .tag {
  background: #fee2e2; color: var(--danger); padding: 6px 12px; border-radius: 20px;
            font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.admin-settings-notice-page .tag-remove {
  background: none; border: none; color: var(--danger); cursor: pointer; display: flex; align-items: center; padding: 0;
}
.admin-settings-notice-page .tag-remove:hover {
  color: #991b1b;
}
.admin-settings-notice-page /* Currency input wrapper */
        .input-with-addon {
  display: flex; align-items: center;
}
.admin-settings-notice-page .input-with-addon .form-input {
  border-radius: 10px 0 0 10px; border-right: none; font-size: 1.2rem; font-weight: 700; width: 100px; text-align: center;
}
.admin-settings-notice-page .input-addon {
  background: #e2e8f0; border: 1px solid var(--border-color); padding: 12px 15px; border-radius: 0 10px 10px 0; font-weight: 700; color: var(--text-muted); font-size: 1.2rem;
}
.btn-align-right { display:flex; justify-content:flex-end; }
.icon-info { background:#eff6ff; color:var(--primary); }
.icon-success { background:#dcfce7; color:var(--success); }

/* --- Support Semantic Classes (from support_buyer.php / support_seller.php) --- */
.system-action-row { text-align:center; margin: 10px 0; }
.system-action-badge { background:var(--bg-surface-hover); color:var(--text-muted); padding:4px 12px; border-radius:12px; font-size:0.75rem; font-weight:600; }
.chat-template-bar { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; padding: 0 5px; }
.select-template { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-color); font-size: 0.9rem; outline: none; background: var(--bg-base); color: var(--text-main); font-weight: 500; cursor: pointer; min-width: 250px; }
.link-template-manage { font-size: 0.85rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 4px; font-weight: 600; }

/* --- Support Templates Semantic Classes --- */
.icon-primary { background:var(--primary-light); color:var(--primary); }
.box-description { color:var(--text-muted); font-size:0.9rem; margin-bottom:20px; line-height:1.5; }
.template-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.template-table th { padding: 10px; border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
.template-table td { padding: 12px 10px; border-bottom: 1px solid var(--border-color); }
.tag-code { background: var(--bg-base); padding: 4px 8px; border-radius: 6px; color: var(--primary); font-weight: bold; }
.btn-group-right { display:flex; justify-content:flex-end; gap: 10px; }
.btn-outline-danger { background: white; color: var(--danger); border: 1px solid var(--danger); transition: 0.2s; }
.btn-outline-danger:hover { background: #fee2e2; }

/* --- Users Semantic Classes --- */
.amount-text { font-family:'Outfit'; font-weight:700; }
.user-id-spacer { margin-left:10px; }
.stat-box-danger { grid-column: span 2; border-color:#fca5a5; background:#fef2f2; }
.stat-label-danger { color:#ef4444; }
.kyc-file-row { background:var(--bg-base); padding:15px; border-radius:8px; margin-bottom:30px; display:flex; justify-content:space-between; align-items:center; }
.kyc-file-name { font-weight:600; font-size:0.9rem; }
.kyc-file-meta { font-size:0.75rem; color:var(--text-muted); }
.btn-kyc-action { color:var(--primary); border-color:var(--primary); transition: 0.2s; }
.btn-kyc-action:hover { background: var(--bg-surface-hover); }
