@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Base Colors (Dark UI by default for premium look) */
    --bg-main: #0b0c10;
    --bg-surface: rgba(26, 29, 36, 0.65);
    --bg-surface-solid: #1a1d24;
    --bg-surface-hover: rgba(38, 42, 52, 0.8);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Dynamic Theme Variables (overwritten by tenant class) */
    --brand-color: #e82127;
    --brand-color-rgba: rgba(232, 33, 39, 0.15);
    --brand-gradient: linear-gradient(135deg, #e82127 0%, #a61217 100%);
    --shadow-color: rgba(232, 33, 39, 0.1);
    
    /* Status Colors */
    --status-draft: #6b7280;
    --status-ordered: #3b82f6;
    --status-transit: #f59e0b;
    --status-delivered: #10b981;
    --status-invoiced: #8b5cf6;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tenant-specific themes */
[data-theme="carfixtesla.sk"] {
    --brand-color: #e82127;
    --brand-color-rgba: rgba(232, 33, 39, 0.15);
    --brand-gradient: linear-gradient(135deg, #e82127 0%, #a61217 100%);
    --shadow-color: rgba(232, 33, 39, 0.1);
}

[data-theme="peter.zsilka.sk"] {
    --brand-color: #3b82f6;
    --brand-color-rgba: rgba(59, 130, 246, 0.15);
    --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --shadow-color: rgba(59, 130, 246, 0.1);
}

[data-theme="servisapp.sk"] {
    --brand-color: #10b981;
    --brand-color-rgba: rgba(16, 185, 129, 0.15);
    --brand-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --shadow-color: rgba(16, 185, 129, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-normal);
}
.glass-panel:hover {
    border-color: var(--border-hover);
}

/* Domain Simulator Bar */
.domain-bar {
    background: #0f1115;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.browser-mock {
    background: #181a21;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 60%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
}
.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--brand-color);
    transition: var(--transition-fast);
    flex-grow: 1;
    text-align: center;
}

.domain-switcher-select {
    background: #1e222b;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}
.domain-switcher-select:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 2px var(--brand-color-rgba);
}

/* Layout App Container */
.app-container {
    display: flex;
    flex: 1;
    height: calc(100vh - 49px);
    overflow: hidden;
}

/* Sidebar Navigation */
.sidebar {
    width: 260px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
    height: 100%;
    overflow-y: auto;
    background: rgba(15, 17, 21, 0.8);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 0 8px;
}

.sidebar-logo {
    height: 24px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--shadow-color));
}

.sidebar-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-item a:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.nav-item.active a {
    color: var(--text-primary);
    background: var(--brand-color-rgba);
    border-left: 3px solid var(--brand-color);
}

.nav-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.sidebar-footer {
    padding: 16px 8px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tenant-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.tenant-active-name {
    font-size: 14px;
    font-weight: 600;
}

/* Main Viewport */
.main-viewport {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Content Views */
.content-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-view.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-surface-solid);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}
.btn:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}
.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px var(--shadow-color);
}
.btn-primary:hover {
    opacity: 0.95;
    box-shadow: 0 6px 18px var(--shadow-color);
    transform: translateY(-1px);
}
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    border: none;
}
.btn-danger:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Headings */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

/* Grid & Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--brand-color);
}
.stat-card-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.stat-card-value {
    font-size: 24px;
    font-weight: 700;
}
.stat-card-trend {
    font-size: 12px;
    color: var(--status-delivered);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Modern Tables */
.table-container {
    overflow-x: auto;
}

table.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

table.modern-table th {
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

table.modern-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

table.modern-table tbody tr {
    transition: var(--transition-fast);
}
table.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-draft { background: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }
.badge-ordered { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-transit { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-delivered { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-invoiced { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }

/* VIN grouping list card */
.vin-group-card {
    margin-bottom: 16px;
}
.vin-group-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}
.vin-group-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.vin-badge-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-color);
    background: var(--brand-color-rgba);
    padding: 4px 10px;
    border-radius: 6px;
}
.vin-group-car {
    font-weight: 600;
    font-size: 15px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeInOverlay var(--transition-fast) forwards;
}

.modal-content {
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    animation: scaleUp var(--transition-normal) forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: var(--text-primary);
}

/* Input Styles */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}
.form-control:focus {
    border-color: var(--brand-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px var(--brand-color-rgba);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Split Columns */
.split-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* EPC Import Box */
.epc-textarea-container {
    position: relative;
}
.epc-import-placeholder-hint {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Toast System */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1100;
}

.toast {
    background: var(--bg-surface-solid);
    border-left: 4px solid var(--brand-color);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInToast var(--transition-normal) forwards;
}

@keyframes slideInToast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Invoice Creation Workspace */
.invoice-workspace {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    height: calc(100vh - 150px);
    overflow: hidden;
}

.invoice-sidebar {
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invoice-preview-pane {
    overflow-y: auto;
    padding: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

/* Printable Tesla Invoice Replica (A4 Page Layout in Workspace) */
.tesla-invoice-page {
    width: 210mm;
    min-height: 297mm;
    background: white;
    color: #171a20;
    padding: 15mm 20mm;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
    position: relative;
    box-sizing: border-box;
}

.tesla-invoice-page h1,
.tesla-invoice-page h2,
.tesla-invoice-page h3,
.tesla-invoice-page .brand-font {
    font-family: 'Montserrat', sans-serif;
}

.tesla-invoice-page header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.tesla-invoice-page .logo-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tesla-invoice-page .logo-section img {
    height: 32px;
    width: auto;
    align-self: flex-start;
}

.tesla-invoice-page .logo-text-large {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.tesla-invoice-page .invoice-title {
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
    margin-bottom: 12px;
}

.tesla-invoice-page table.meta-info-table {
    width: auto;
    margin-left: auto;
    border: none;
    font-size: 12px;
    border-collapse: collapse;
}
.tesla-invoice-page table.meta-info-table td {
    padding: 3px 6px;
    border: none;
}
.tesla-invoice-page table.meta-info-table td.label-td {
    color: #5c5e62;
    text-align: right;
}
.tesla-invoice-page table.meta-info-table td.val-td {
    font-weight: 600;
    text-align: right;
}

.tesla-invoice-page .invoice-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tesla-invoice-page .section-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #5c5e62;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tesla-invoice-page .section-content {
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-line;
}

.tesla-invoice-page table.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 13px;
}

.tesla-invoice-page table.items-table th {
    text-align: left;
    padding: 10px 5px;
    border-bottom: 2px solid #171a20;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #171a20;
}

.tesla-invoice-page table.items-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #e2e2e2;
    vertical-align: top;
}

.tesla-invoice-page table.items-table td.desc-col { width: 55%; }
.tesla-invoice-page table.items-table td.qty-col { width: 10%; text-align: center; }
.tesla-invoice-page table.items-table td.price-col { width: 15%; text-align: right; }
.tesla-invoice-page table.items-table td.total-col { width: 20%; text-align: right; font-weight: 600; }

.tesla-invoice-page .totals-block {
    width: 320px;
    margin-left: auto;
    font-size: 13px;
    margin-bottom: 40px;
}

.tesla-invoice-page .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e2e2;
}

.tesla-invoice-page .total-row.grand {
    border-bottom: 3px solid #171a20;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    padding-top: 12px;
}

.tesla-invoice-page footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e2e2e2;
    font-size: 10px;
    color: #5c5e62;
    line-height: 1.5;
}

.tesla-invoice-page footer .bank-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.tesla-invoice-page footer .bottom-footer {
    text-align: center;
    color: #999;
}

/* Print Override Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #printSection, #printSection * {
        visibility: visible;
    }
    #printSection {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background: white;
    }
    .main-viewport, .app-container, .domain-bar, .controls {
        display: none !important;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .main-viewport {
        padding: 16px;
    }
    .invoice-workspace {
        grid-template-columns: 1fr;
        height: auto;
    }
    .tesla-invoice-page {
        width: 100%;
        min-height: auto;
        padding: 10mm;
    }
}

/* Role Swiper & Permission Controls */
.role-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--brand-color-rgba);
    color: var(--brand-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.permission-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Disabled selectors styling */
select:disabled, input:disabled, textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255,255,255,0.01) !important;
    border-color: rgba(255,255,255,0.04) !important;
    color: var(--text-secondary) !important;
}

/* Part cancellation styles */
.badge-cancellation_requested {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-decoration: line-through;
}

/* Small inline action buttons */
.btn-inline {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    margin-left: 4px;
}

.btn-inline-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.btn-inline-success:hover {
    background: rgba(16, 185, 129, 0.3);
}

.btn-inline-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.btn-inline-danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Login Screen & Authorization Styles */
.login-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-grad);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.login-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: scaleUp var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.login-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--brand-color-rgba));
}

.login-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.login-header-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: -4px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--brand-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--brand-color-rgba);
}

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

.logout-btn-header {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn-header:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}



