:root {
    /* Theme Variables - Default Pink/Blue */
    --primary-pink: #ff206e;
    --primary-blue: #0f71f2;
    --danger-red: #ff3b3b;
    --success-green: #00d28a;
    --warning-orange: #ff9f43;
    --warning-yellow: #ffd000;
    
    /* Dark Mode Defaults */
    --bg-main: #0c0d12;
    --bg-sidebar: #050608;
    --bg-card: #15161e;
    --bg-input: #1e202c;
    --text-main: #ffffff;
    --text-muted: #8b929a;
    --border-color: #252836;
}

/* Multi-Theme Options */
body[data-color-theme="green"] { --primary-pink: #00b894; --primary-blue: #0984e3; }
body[data-color-theme="red"] { --primary-pink: #d63031; --primary-blue: #e84393; }
body[data-color-theme="purple"] { --primary-pink: #9b59b6; --primary-blue: #8e44ad; }

body.light-mode {
    --bg-main: #f4f5f7;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8f9fa;
    --text-main: #1e202c;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
}

#adminApp {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #2d2f3f; border-radius: 4px; }
body.light-mode ::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: #3d3f54; }

/* --- Sidebar --- */
.sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    transition: background-color 0.3s;
    z-index: 100;
}
.sidebar-header {
    padding: 25px 20px;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}
.logo-text {
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-list { list-style: none; padding: 15px 10px; margin: 0; flex-grow: 1; overflow-y: auto; }
.menu-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.menu-item:hover { background-color: rgba(128, 128, 128, 0.1); color: var(--text-main); }
.menu-item.active { background: linear-gradient(135deg, var(--primary-pink), var(--primary-blue)); color: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.menu-item i { width: 20px; text-align: center; font-size: 16px; }

.menu-item.danger { color: var(--danger-red); border-top: 1px solid var(--border-color); border-radius: 0; margin-top: auto; }
.menu-item.danger:hover { background-color: rgba(255, 59, 59, 0.1); }

/* --- Main Content --- */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 25px 35px;
    position: relative;
}

/* Header & Top Bar Icons */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar h2 { margin: 0; font-size: 26px; font-weight: 700; }
.top-bar .subtitle { color: var(--text-muted); font-size: 13px; margin-top: 5px; }

.top-controls { display: flex; align-items: center; gap: 15px; }

.icon-btn {
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-main); width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; position: relative;
}
.icon-btn:hover { background: var(--bg-input); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.notification-badge {
    position: absolute; top: -5px; right: -5px; background: var(--danger-red); color: white;
    font-size: 10px; font-weight: bold; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-main);
}

.search-shortcut-hint {
    background: var(--bg-input); border: 1px solid var(--border-color); padding: 8px 15px;
    border-radius: 20px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px;
    cursor: pointer; transition: 0.2s;
}
.search-shortcut-hint:hover { background: var(--bg-card); border-color: var(--primary-blue); color: var(--text-main); }
.search-shortcut-hint kbd { background: var(--bg-main); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 11px; font-weight: bold;}

/* Dropdowns */
.dropdown-menu {
    position: absolute; top: 50px; right: 0; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); width: 320px; z-index: 1000;
    display: none; flex-direction: column; overflow: hidden; animation: fadeIn 0.2s;
}
.dropdown-menu.show { display: flex; }
.dropdown-header { padding: 15px; font-weight: bold; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between;}
.dropdown-list { max-height: 300px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dropdown-item { padding: 10px; border-radius: 8px; background: var(--bg-input); border: 1px solid transparent; font-size: 12px; cursor: pointer; transition: 0.2s;}
.dropdown-item:hover { border-color: var(--primary-blue); }

.stats-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
    padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pill.red { background-color: rgba(255, 59, 59, 0.15); color: var(--danger-red); border: 1px solid rgba(255, 59, 59, 0.2); }
.pill.blue { background-color: rgba(15, 113, 242, 0.15); color: var(--primary-blue); border: 1px solid rgba(15, 113, 242, 0.2); }
.pill.green { background-color: rgba(0, 210, 138, 0.15); color: var(--success-green); border: 1px solid rgba(0, 210, 138, 0.2); }
.pill.orange { background-color: rgba(255, 159, 67, 0.15); color: var(--warning-orange); border: 1px solid rgba(255, 159, 67, 0.2); }
.pill.pink { background-color: rgba(255, 32, 110, 0.15); color: var(--primary-pink); border: 1px solid rgba(255, 32, 110, 0.2); }

/* --- Tab System --- */
.tab-pane { display: none; animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* --- Cards & Forms --- */
.card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: background-color 0.3s;
}
.card-header { font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;}
.card-header span { display: flex; align-items: center; gap: 10px; }

.form-row { display: flex; gap: 15px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
.form-row > * { flex: 1; min-width: 180px; }
.form-row button { flex: 0.3; min-width: 140px; margin-top: 25px;}

.input-group-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }

input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], textarea, select {
    width: 100%; padding: 12px 16px; background-color: var(--bg-input); border: 1px solid var(--border-color);
    color: var(--text-main); border-radius: 10px; font-size: 14px; outline: none; transition: border 0.3s, box-shadow 0.3s; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(15, 113, 242, 0.15); }
select option { background-color: var(--bg-card); color: var(--text-main); }
::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.5; cursor: pointer;}
body.light-mode ::-webkit-calendar-picker-indicator { filter: invert(0); }

textarea { height: 120px; resize: vertical; margin-top: 5px; }

button {
    padding: 12px 20px; background-color: var(--primary-blue); color: white; border: none; border-radius: 10px;
    cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
}
button:hover { filter: brightness(1.15); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
button:active { transform: translateY(1px); }

.btn-pink { background-color: var(--primary-pink); }
.btn-danger { background-color: var(--danger-red); }
.btn-success { background-color: var(--success-green); }
.btn-orange { background-color: var(--warning-orange); }
.btn-yellow { background-color: var(--warning-yellow); color: #000; }
.btn-whatsapp { background-color: #25D366; color: white; }
.btn-primary { background-color: var(--primary-blue); color: white; }
.btn-icon-only { width: 34px; height: 34px; padding: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }

/* --- Custom Tooltips --- */
[data-tooltip] { position: relative; cursor: pointer; }
[data-tooltip]:hover::before {
    content: attr(data-tooltip); position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%);
    background: var(--text-main); color: var(--bg-main); padding: 5px 10px; border-radius: 6px; font-size: 11px;
    white-space: nowrap; z-index: 1000; opacity: 1; pointer-events: none; font-weight: bold;
}
[data-tooltip]:hover::after {
    content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    border-width: 5px; border-style: solid; border-color: var(--text-main) transparent transparent transparent;
}

/* --- SCROLLABLE TABLES & PAGINATION --- */
.table-responsive { 
    width: 100%; border-radius: 12px; border: 1px solid var(--border-color); 
    background-color: var(--bg-input); max-height: 450px; overflow-y: auto; overflow-x: auto;
}
table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--border-color); font-size: 13px; }
thead th { position: sticky; top: 0; z-index: 10; background-color: var(--bg-card); color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; box-shadow: 0 1px 0 var(--border-color); }
td { color: var(--text-main); vertical-align: middle; background-color: var(--bg-input); }
tr:hover td { background-color: rgba(128,128,128,0.05); }
tr:last-child td { border-bottom: none; }

.pagination-container {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 0 5px; flex-wrap: wrap; gap: 10px;
}
.pagination-controls { display: flex; gap: 5px; align-items: center;}
.page-btn { padding: 6px 12px; border-radius: 6px; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-main); font-size: 12px; cursor: pointer; height: auto;}
.page-btn:hover:not(:disabled) { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }
.page-btn.active { background: var(--primary-blue); color: white; font-weight: bold; border-color: var(--primary-blue); }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.action-btns { display: flex; gap: 6px; }
.action-btns button { padding: 6px 10px; font-size: 12px; min-width: auto; border-radius: 6px; height: auto;}
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-muted); }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--primary-pink); cursor: pointer; }
.copy-icon { cursor: pointer; color: var(--primary-blue); margin-left: 6px; font-size: 12px; opacity: 0.7; transition: opacity 0.2s;}
.copy-icon:hover { opacity: 1; }
.info-text { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); font-style: italic; background: rgba(128,128,128,0.05); border-radius: 12px; }

/* --- Badges & Custom Grid --- */
.badge { padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.badge-active { background-color: rgba(0, 210, 138, 0.15); color: var(--success-green); border: 1px solid rgba(0, 210, 138, 0.2); }
.badge-expired { background-color: rgba(255, 59, 59, 0.15); color: var(--danger-red); border: 1px solid rgba(255, 59, 59, 0.2); }
.badge-warning { background-color: rgba(255, 159, 67, 0.15); color: var(--warning-orange); border: 1px solid rgba(255, 159, 67, 0.2); animation: pulse 2s infinite;}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

.rev-pkg-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-left: 4px solid var(--primary-pink); padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all 0.2s ease; }
.rev-pkg-card:hover { transform: translateY(-2px); border-color: var(--primary-pink); background: rgba(255, 32, 110, 0.05); }
.rev-pkg-card.active-filter { border-color: var(--primary-blue); border-left-color: var(--primary-blue); background: rgba(15, 113, 242, 0.1); box-shadow: 0 4px 15px rgba(15, 113, 242, 0.2);}

.charts-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 25px; }
.chart-container { background-color: var(--bg-card); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); position: relative; height: 300px; }

/* Heatmap Styles */
.heatmap-container { display: flex; flex-direction: column; gap: 5px; height: 100%; justify-content: center; }
.heatmap-row { display: flex; gap: 5px; justify-content: center; align-items: center; }
.heatmap-label { width: 40px; font-size: 10px; color: var(--text-muted); text-align: right; padding-right: 5px; }
.heatmap-cell { width: 100%; height: 25px; border-radius: 4px; background: var(--bg-input); transition: 0.2s; cursor: pointer; position: relative; }
.heatmap-cell:hover { transform: scale(1.1); z-index: 10; border: 1px solid var(--text-main); }

/* Drag handle for widgets */
.widget-drag-handle { position: absolute; top: 10px; right: 15px; color: var(--text-muted); cursor: grab; opacity: 0.3; transition: 0.2s; }
.chart-container:hover .widget-drag-handle, .card:hover .widget-drag-handle { opacity: 1; }
.widget-drag-handle:active { cursor: grabbing; }

/* --- Modal & Overlays --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.modal { background: var(--bg-card); width: 100%; max-width: 650px; padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 15px 40px rgba(0,0,0,0.3); animation: modalSlideUp 0.3s ease; color: var(--text-main); max-height: 90vh; overflow-y: auto; }
@keyframes modalSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal h3 { margin-top: 0; margin-bottom: 20px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.modal-form-group { margin-bottom: 20px; text-align: left; }
.modal-form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; }

.search-container { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.search-container input[type="search"] { flex: 2; min-width: 200px; }
.search-container select { flex: 1; min-width: 150px; }

/* Global Search Modal specific */
#globalSearchInput { font-size: 18px; padding: 15px 20px; border-radius: 12px; border: 2px solid var(--primary-blue); background: var(--bg-input); }
.search-results-box { max-height: 400px; overflow-y: auto; margin-top: 15px; display: flex; flex-direction: column; gap: 10px; }
.search-result-item { background: var(--bg-input); padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.2s;}
.search-result-item:hover { background: var(--bg-card); border-color: var(--primary-pink); }

/* AI Chatbot Widget */
.ai-chat-btn { position: fixed; bottom: 30px; left: 30px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #8e44ad, var(--primary-blue)); color: white; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1000; transition: 0.3s; display: flex; align-items: center; justify-content: center; padding:0;}
.ai-chat-btn:hover { transform: scale(1.1); }
.ai-chat-window { position: fixed; bottom: 100px; left: 30px; width: 350px; height: 450px; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 1000; display: none; flex-direction: column; overflow: hidden; animation: modalSlideUp 0.3s;}
.ai-chat-header { background: linear-gradient(135deg, #8e44ad, var(--primary-blue)); padding: 15px; color: white; font-weight: bold; display: flex; justify-content: space-between; align-items: center;}
.ai-chat-body { flex-grow: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg-main);}
.ai-chat-input { padding: 15px; border-top: 1px solid var(--border-color); background: var(--bg-card); display: flex; gap: 10px;}
.ai-chat-input input { flex-grow: 1; border-radius: 20px; padding: 10px 15px; border: 1px solid var(--border-color); background: var(--bg-input); color: var(--text-main); outline: none;}
.chat-bubble { max-width: 85%; padding: 10px 15px; border-radius: 12px; font-size: 13px; line-height: 1.4;}
.chat-bubble.bot { background: var(--bg-input); border: 1px solid var(--border-color); align-self: flex-start; border-bottom-left-radius: 2px;}
.chat-bubble.user { background: var(--primary-blue); color: white; align-self: flex-end; border-bottom-right-radius: 2px;}

/* --- Kanban & FAB Styles --- */
.kanban-board { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.kanban-column { background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 12px; width: 280px; min-width: 280px; display: flex; flex-direction: column; max-height: 600px; }
.kanban-header { padding: 15px; font-weight: 700; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.kanban-cards { padding: 15px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: 12px; min-height: 100px; }
.kanban-card { background: var(--bg-card); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); cursor: grab; box-shadow: 0 2px 5px rgba(0,0,0,0.05); position: relative; }
.kanban-card:active { cursor: grabbing; }

.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 15px; pointer-events: none; }
.fab-btn { pointer-events: auto; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-pink), var(--primary-blue)); color: white; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; display: flex; align-items: center; justify-content: center; padding: 0;}
.fab-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.fab-menu { position: relative; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform: translateY(20px); align-items: flex-end;}
.fab-menu::after { content: ''; position: absolute; bottom: -15px; width: 100%; height: 15px; } 
.fab-container:hover .fab-menu, .fab-container:focus-within .fab-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-item { display: flex; align-items: center; gap: 10px; flex-direction: row; cursor: pointer; }
.fab-item-label { background: var(--bg-card); color: var(--text-main); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 1px solid var(--border-color);}
.fab-item-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-main); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: 0.2s;}
.fab-item:hover .fab-item-icon { background: var(--primary-blue); color: white; border-color: var(--primary-blue);}

/* Portal Specific Styles */
#customerPortal { display: none; width: 100%; height: 100%; overflow-y: auto; align-items: center; justify-content: flex-start; flex-direction: column; background: var(--bg-main); padding: 40px 20px;}
.portal-card { background: var(--bg-card); padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 100%; max-width: 450px; text-align: center; }
.portal-info-box { background: var(--bg-input); padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); margin: 20px 0; text-align: left; }
.portal-info-row { display: flex; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.portal-info-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

/* Link Button in Portal */
.portal-website-link { display: block; background: rgba(15, 113, 242, 0.05); color: var(--primary-blue); padding: 12px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: bold; border: 1px dashed var(--primary-blue); text-align: center; transition: 0.2s; margin-bottom: 20px;}
.portal-website-link:hover { background: rgba(15, 113, 242, 0.15); transform: translateY(-2px); }

@media (max-width: 900px) { .charts-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    #adminApp { flex-direction: column; }
    .sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border-color); }
    .sidebar-header { padding: 15px 20px; }
    .menu-list { display: flex; overflow-x: auto; padding: 10px; gap: 8px; }
    .menu-item { margin-bottom: 0; white-space: nowrap; padding: 10px 15px; }
    .menu-item.danger { margin-top: 0; border-top: none; }
    .main-content { padding: 15px; }
    .top-bar { flex-direction: column; align-items: flex-start; }
    .search-shortcut-hint { display: none; }
}