/* ========================================
   SubManager Pro — Design System
   ======================================== */

:root {
    /* Color Palette */
    --bg-primary: #0f1117;
    --bg-secondary: #161822;
    --bg-card: #1c1f2e;
    --bg-card-hover: #232740;
    --bg-elevated: #252a3a;
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);

    --text-primary: #e8eaf0;
    --text-secondary: #8b90a0;
    --text-muted: #5c6178;

    --accent-blue: #6366f1;
    --accent-blue-hover: #818cf8;
    --accent-blue-glow: rgba(99,102,241,0.25);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16,185,129,0.2);
    --accent-amber: #f59e0b;
    --accent-amber-glow: rgba(245,158,11,0.2);
    --accent-red: #ef4444;
    --accent-red-glow: rgba(239,68,68,0.2);

    /* Sidebar */
    --sidebar-w: 260px;
    --sidebar-bg: #12141f;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);

    /* Transitions */
    --ease: cubic-bezier(0.4,0,0.2,1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ========== LAYOUT ========== */
.app-layout { display: flex; height: 100vh; }

/* ========== SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), width 0.3s var(--ease);
    z-index: 50;
}
.sidebar.collapsed { transform: translateX(calc(var(--sidebar-w) * -1)); width: 0; min-width: 0; border: none; }

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border-color);
}
.brand-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent-blue), #a855f7);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.brand-icon svg { width: 20px; height: 20px; }
.brand-text h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.3px; color: var(--text-primary); }
.brand-version { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding: 16px 12px 6px;
    font-weight: 600;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s var(--ease);
    position: relative;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
}
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%;
    background: var(--accent-blue);
    border-radius: 0 4px 4px 0;
}
.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }
.nav-icon svg { width: 100%; height: 100%; }

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}
.system-status { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); }
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald-glow);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== MAIN CONTENT ========== */
.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* ========== TOP HEADER ========== */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 60px;
    background: rgba(22,24,34,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    z-index: 20;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.sidebar-toggle {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.sidebar-toggle:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.sidebar-toggle svg { width: 18px; height: 18px; }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.breadcrumb-item { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb-item:hover { color: var(--text-secondary); }
.breadcrumb-item:last-child { color: var(--text-primary); font-weight: 600; pointer-events: none; }
.breadcrumb-sep { color: var(--text-muted); font-size: 0.7rem; }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-action-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px var(--accent-blue-glow);
}
.header-action-btn:hover { background: var(--accent-blue-hover); transform: translateY(-1px); }
.header-action-btn svg { width: 16px; height: 16px; }

/* ========== CONTENT AREA ========== */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    scroll-behavior: smooth;
}
.section { display: none; }
.section.active { display: block; }

.section-header { margin-bottom: 24px; }
.section-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; }
.section-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

/* ========== STATS GRID ========== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s var(--ease);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon-blue { background: rgba(99,102,241,0.12); color: var(--accent-blue); }
.stat-icon-amber { background: rgba(245,158,11,0.12); color: var(--accent-amber); }
.stat-icon-red { background: rgba(239,68,68,0.12); color: var(--accent-red); }
.stat-icon-emerald { background: rgba(16,185,129,0.12); color: var(--accent-emerald); }

.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; }
.stat-value { font-size: 1.7rem; font-weight: 800; letter-spacing: -1px; margin-top: 2px; }

/* ========== CARDS ========== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s;
}
.card:hover { border-color: var(--border-hover); }
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
    flex-wrap: wrap;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}
.card-title-icon { width: 18px; height: 18px; color: var(--text-secondary); }
.card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-body { padding: 0; }
.card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.badge-amber { background: rgba(245,158,11,0.15); color: var(--accent-amber); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.badge-emerald { background: rgba(16,185,129,0.15); color: var(--accent-emerald); }
.badge-blue { background: rgba(99,102,241,0.15); color: var(--accent-blue); }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 16px; }

/* ========== SEARCH ========== */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 12px;
    transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--accent-blue); box-shadow: 0 0 0 3px var(--accent-blue-glow); }
.search-icon { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-input {
    background: none; border: none; outline: none;
    color: var(--text-primary);
    padding: 8px 0;
    width: 180px;
    font-size: 0.85rem;
}
.search-input::placeholder { color: var(--text-muted); }

/* ========== TABLE ========== */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0,0,0,0.15);
    white-space: nowrap;
}
.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.data-table td {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Status badges */
.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-active { background: rgba(16,185,129,0.12); color: var(--accent-emerald); }
.status-expired { background: rgba(239,68,68,0.12); color: var(--accent-red); }

/* Utilization bar */
.util-bar-wrap { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.util-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.util-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s var(--ease); }
.util-bar-fill.low { background: var(--accent-emerald); }
.util-bar-fill.medium { background: var(--accent-amber); }
.util-bar-fill.high { background: var(--accent-red); }
.util-text { font-size: 0.78rem; font-weight: 600; min-width: 36px; text-align: right; }

/* Action buttons in table */
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }
.action-btn {
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}
.action-btn-primary { color: var(--accent-blue); background: rgba(99,102,241,0.1); }
.action-btn-primary:hover { background: rgba(99,102,241,0.2); }
.action-btn-danger { color: var(--accent-red); background: rgba(239,68,68,0.1); }
.action-btn-danger:hover { background: rgba(239,68,68,0.2); }
.action-btn-amber { color: var(--accent-amber); background: rgba(245,158,11,0.1); }
.action-btn-amber:hover { background: rgba(245,158,11,0.2); }
.action-btn-emerald { color: var(--accent-emerald); background: rgba(16,185,129,0.1); }
.action-btn-emerald:hover { background: rgba(16,185,129,0.2); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 2px 8px var(--accent-blue-glow);
}
.btn-primary:hover { background: var(--accent-blue-hover); transform: translateY(-1px); }
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-hover); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.btn-danger { background: var(--accent-red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-block { width: 100%; justify-content: center; padding: 12px; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ========== MODALS ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s var(--ease);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px; }

/* Confirm modal */
.confirm-modal { text-align: center; padding: 32px 24px; max-width: 380px; }
.confirm-icon { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--accent-amber); }
.confirm-icon svg { width: 100%; height: 100%; }
.confirm-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.confirm-message { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; }

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    z-index: 200;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    animation: toast-in 0.3s var(--ease);
}
.toast.toast-out { animation: toast-out 0.3s var(--ease) forwards; }
.toast-success { background: linear-gradient(135deg, #059669, #10b981); }
.toast-error { background: linear-gradient(135deg, #dc2626, #ef4444); }
.toast-icon { font-size: 1.1rem; }

@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(30px); } }

/* ========== EMPTY & LOADING ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
    gap: 10px;
}
.empty-icon { width: 40px; height: 40px; opacity: 0.4; }
.empty-state p { font-size: 0.88rem; }

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--text-muted);
}
.spinner {
    width: 28px; height: 28px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== REPORT CONTROLS ========== */
.report-controls {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.report-filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-select {
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}
.filter-select:focus { border-color: var(--accent-blue); }

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeSlideUp 0.4s var(--ease) both;
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar { position: fixed; left: 0; top: 0; bottom: 0; }
    .sidebar.collapsed { transform: translateX(-100%); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .card-header { flex-direction: column; align-items: flex-start; }
}

/* API Docs */
.api-docs-container {
    max-width: 900px;
}

.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.doc-card h3 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.doc-card h4 {
    margin: 24px 0 12px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.endpoint-badge {
    display: inline-flex;
    align-items: center;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 12px 0;
    font-family: monospace;
}

.endpoint-badge .method {
    color: var(--accent-emerald);
    font-weight: 700;
    margin-right: 12px;
}

.endpoint-badge .url {
    color: var(--text-secondary);
}

.code-header {
    background: rgba(255,255,255,0.03);
    padding: 6px 12px;
    border-radius: 6px 6px 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.code-block {
    margin: 0 0 16px 0;
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 0 0 6px 6px;
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    color: #e6edf3;
    line-height: 1.5;
}

pre { margin: 0; }

/* Login Screen */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.5);
}

.login-logo svg {
    width: 32px;
    height: 32px;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-weight: 600;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.logout-btn svg {
    width: 20px;
    height: 20px;
}

