/* =============================================
   MikroTik Hotspot Manager - Design System
   ============================================= */

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =============================================
   CSS Variables - Cores e Espacamentos
   ============================================= */
:root {
    /* Brand Colors */
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-800: #1e40af;
    --brand-900: #1e3a5f;

    /* Surface Colors */
    --surface-50: #f8fafc;
    --surface-100: #f1f5f9;
    --surface-200: #e2e8f0;
    --surface-300: #cbd5e1;
    --surface-400: #94a3b8;
    --surface-500: #64748b;
    --surface-600: #475569;
    --surface-700: #334155;
    --surface-800: #1e293b;
    --surface-900: #0f172a;

    /* Semantic Colors */
    --success-50: #ecfdf5;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;

    --danger-50: #fef2f2;
    --danger-500: #ef4444;
    --danger-600: #dc2626;
    --danger-700: #b91c1c;

    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;

    /* Spacing */
    --sidebar-width: 256px;
    --header-height: 64px;
}

/* =============================================
   Base Styles
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--surface-100);
    color: var(--surface-800);
    min-height: 100vh;
    line-height: 1.5;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface-100);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--surface-400);
}

/* =============================================
   Sidebar
   ============================================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background-color: var(--surface-900);
    color: white;
    z-index: 50;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--surface-700);
    gap: 0.75rem;
}

.sidebar-logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--brand-500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
}

.sidebar-logo-text span:first-child {
    font-weight: 600;
    font-size: 0.875rem;
}

.sidebar-logo-text span:last-child {
    font-size: 0.75rem;
    color: var(--surface-400);
}

.sidebar-nav {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--surface-300);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background-color: var(--surface-800);
    color: white;
}

.sidebar-nav a.active {
    background-color: var(--brand-600);
    color: white;
}

.sidebar-nav a svg {
    width: 20px;
    height: 20px;
}

.sidebar-nav .badge {
    margin-left: auto;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar-nav .badge-default {
    background-color: var(--surface-700);
    color: var(--surface-300);
}

.sidebar-nav .badge-warning {
    background-color: var(--warning-500);
    color: white;
}

.sidebar-divider {
    margin: 1rem 0;
    border-top: 1px solid var(--surface-700);
}

.sidebar-user {
    padding: 1rem;
    border-top: 1px solid var(--surface-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--brand-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.sidebar-user-info {
    flex: 1;
}

.sidebar-user-info p:first-child {
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-user-info p:last-child {
    font-size: 0.75rem;
    color: var(--surface-400);
}

.sidebar-user button {
    background: none;
    border: none;
    color: var(--surface-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-user button:hover {
    color: var(--danger-500);
    background-color: var(--surface-800);
}

/* =============================================
   Main Content Area
   ============================================= */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* =============================================
   Top Header
   ============================================= */
.top-header {
    height: var(--header-height);
    background-color: white;
    border-bottom: 1px solid var(--surface-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 40;
}

.top-header-title h1 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--surface-800);
}

.top-header-title p {
    font-size: 0.875rem;
    color: var(--surface-500);
}

.top-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--surface-600);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--success-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.status-dot.offline {
    background-color: var(--danger-500);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.top-header-time {
    font-size: 0.875rem;
    color: var(--surface-500);
    font-weight: 500;
}

.notification-btn {
    position: relative;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--surface-500);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.notification-btn:hover {
    background-color: var(--surface-100);
    color: var(--surface-700);
}

.notification-btn .dot {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 8px;
    height: 8px;
    background-color: var(--danger-500);
    border-radius: 50%;
}

/* =============================================
   Page Content
   ============================================= */
.page-content {
    padding: 1.5rem;
}

/* =============================================
   Stats Cards
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--surface-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card-content p:first-child {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--surface-500);
}

.stat-card-content .value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.stat-card-content .subtitle {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-icon svg {
    width: 28px;
    height: 28px;
}

/* Stat Card Variants */
.stat-card.default .value { color: var(--surface-800); }
.stat-card.default .subtitle { color: var(--surface-400); }
.stat-card.default .stat-card-icon { background-color: var(--surface-100); }
.stat-card.default .stat-card-icon svg { color: var(--surface-600); }

.stat-card.success .value { color: var(--success-600); }
.stat-card.success .subtitle { color: var(--success-500); }
.stat-card.success .stat-card-icon { background-color: var(--success-50); }
.stat-card.success .stat-card-icon svg { color: var(--success-500); }

.stat-card.danger .value { color: var(--danger-600); }
.stat-card.danger .subtitle { color: var(--danger-500); }
.stat-card.danger .stat-card-icon { background-color: var(--danger-50); }
.stat-card.danger .stat-card-icon svg { color: var(--danger-500); }

.stat-card.warning .value { color: var(--warning-600); }
.stat-card.warning .subtitle { color: var(--warning-500); }
.stat-card.warning .stat-card-icon { background-color: var(--warning-50); }
.stat-card.warning .stat-card-icon svg { color: var(--warning-500); }

/* =============================================
   Section Header
   ============================================= */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--surface-800);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background-color: var(--brand-600);
    color: white;
}

.btn-primary:hover {
    background-color: var(--brand-700);
}

.btn-success {
    background-color: var(--success-500);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-600);
}

.btn-danger {
    background-color: var(--danger-500);
    color: white;
}

.btn-danger:hover {
    background-color: var(--danger-600);
}

.btn-warning {
    background-color: var(--warning-500);
    color: white;
}

.btn-warning:hover {
    background-color: var(--warning-600);
}

.btn-secondary {
    background-color: var(--surface-100);
    color: var(--surface-700);
}

.btn-secondary:hover {
    background-color: var(--surface-200);
}

.btn-ghost {
    background-color: transparent;
    color: var(--surface-600);
}

.btn-ghost:hover {
    background-color: var(--surface-100);
    color: var(--surface-800);
}

.btn-ghost-primary {
    background-color: transparent;
    color: var(--brand-600);
}

.btn-ghost-primary:hover {
    background-color: var(--brand-50);
}

.btn-ghost-danger {
    background-color: transparent;
    color: var(--danger-600);
}

.btn-ghost-danger:hover {
    background-color: var(--danger-50);
}

/* =============================================
   Vehicle Cards Grid
   ============================================= */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.vehicle-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--surface-200);
    overflow: hidden;
    transition: all 0.2s ease;
    min-width: 0;
}

.vehicle-card * {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vehicle-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vehicle-card.has-pending {
    border-color: var(--warning-500);
}

.vehicle-card.offline {
    opacity: 0.75;
}

.vehicle-card-body {
    padding: 1rem;
}

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vehicle-card-header > div:first-child {
    min-width: 0;
    flex: 1;
}

.vehicle-card-header h3 {
    font-weight: 600;
    color: var(--surface-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-card-header p {
    font-size: 0.875rem;
    color: var(--surface-500);
}

.vehicle-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.vehicle-card-info-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.vehicle-card-info-row span:first-child {
    color: var(--surface-500);
    flex-shrink: 0;
}

.vehicle-card-info-row span:last-child {
    color: var(--surface-700);
    font-weight: 500;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-card-footer {
    padding: 0.75rem 1rem;
    background-color: var(--surface-50);
    border-top: 1px solid var(--surface-100);
    display: flex;
    gap: 0.5rem;
}

.vehicle-card.has-pending .vehicle-card-footer {
    background-color: var(--warning-50);
    border-top-color: var(--warning-100);
}

.vehicle-card-footer .btn {
    flex: 1;
    justify-content: center;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* =============================================
   Status Badge
   ============================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.online {
    background-color: var(--success-50);
    color: var(--success-700);
}

.status-badge.online .dot {
    background-color: var(--success-500);
}

.status-badge.offline {
    background-color: var(--danger-50);
    color: var(--danger-700);
}

.status-badge.offline .dot {
    background-color: var(--danger-500);
}

.status-badge.pending {
    background-color: var(--warning-50);
    color: var(--warning-700);
}

.status-badge.pending .dot {
    background-color: var(--warning-500);
    animation: pulse 2s infinite;
}

.status-badge.authorized {
    background-color: var(--brand-50);
    color: var(--brand-700);
}

.status-badge.authorized .dot {
    background-color: var(--brand-500);
}

.status-badge.blocked {
    background-color: var(--surface-100);
    color: var(--surface-600);
}

.status-badge.blocked .dot {
    background-color: var(--surface-400);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* =============================================
   Tables
   ============================================= */
.table-container {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--surface-200);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background-color: var(--surface-50);
}

.table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--surface-500);
}

.table th.text-right {
    text-align: right;
}

.table tbody tr {
    border-top: 1px solid var(--surface-100);
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: var(--surface-50);
}

.table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
}

.table td.text-right {
    text-align: right;
}

.table-device-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-device-icon {
    width: 40px;
    height: 40px;
    background-color: var(--surface-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-device-icon svg {
    width: 20px;
    height: 20px;
    color: var(--surface-500);
}

.table-device-info p:first-of-type {
    font-weight: 500;
    color: var(--surface-800);
}

.table-device-info p:last-of-type {
    font-size: 0.875rem;
    color: var(--surface-500);
}

.table code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8125rem;
    background-color: var(--surface-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* =============================================
   Forms
   ============================================= */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--surface-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--surface-300);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--surface-800);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: var(--surface-400);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-grid .full-width {
    grid-column: span 2;
}

/* =============================================
   Modals
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    margin: 1rem;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal.lg {
    max-width: 640px;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--surface-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--surface-800);
}

.modal-close {
    background: none;
    border: none;
    color: var(--surface-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--surface-100);
    color: var(--surface-600);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    background-color: var(--surface-50);
    border-top: 1px solid var(--surface-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    border-radius: 0 0 16px 16px;
}

/* =============================================
   Filter Bar
   ============================================= */
.filter-bar {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--surface-200);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-bar .search-input {
    flex: 1;
    min-width: 250px;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background-color: var(--surface-100);
    color: var(--surface-600);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--surface-200);
}

.filter-btn.active {
    background-color: var(--brand-600);
    color: white;
}

/* =============================================
   Session Cards
   ============================================= */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--surface-200);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.session-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.session-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--success-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.session-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--success-500);
}

.session-card-info {
    flex: 1;
}

.session-card-info h4 {
    font-weight: 600;
    color: var(--surface-800);
}

.session-card-info p {
    font-size: 0.875rem;
    color: var(--surface-500);
}

.session-card-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
}

.session-card-meta div {
    text-align: center;
}

.session-card-meta span:first-child {
    display: block;
    color: var(--surface-500);
    font-size: 0.75rem;
}

.session-card-meta span:last-child {
    font-weight: 600;
    color: var(--surface-700);
}

/* =============================================
   Login Page
   ============================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-900) 0%, var(--brand-900) 100%);
    padding: 1rem;
}

.login-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background-color: var(--brand-500);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.login-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surface-800);
}

.login-logo p {
    color: var(--surface-500);
    margin-top: 0.25rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--surface-400);
}

.login-error {
    background-color: var(--danger-50);
    border: 1px solid var(--danger-200);
    color: var(--danger-700);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.login-error.show {
    display: block;
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--surface-500);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.875rem;
}

/* =============================================
   Utilities
   ============================================= */
.hidden {
    display: none !important;
}

.text-success { color: var(--success-600); }
.text-danger { color: var(--danger-600); }
.text-warning { color: var(--warning-600); }
.text-muted { color: var(--surface-500); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* User actions in sidebar */
.user-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    color: white;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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