

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

.chat-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    background-color: var(--chat-bg);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}


.sidebar {
    flex: 0 0 30%;
    min-width: 300px;
    max-width: 420px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 10;
}


/* Профіль */
.profile-section {
    padding: 9.5px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color); /* Повернули лінію-роздільник */
    transition: background-color 0.2s ease;
}
.profile-section.clickable { cursor: pointer; }
.profile-section.clickable:hover { background-color: var(--hover-bg); }

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), #4338CA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.2);
}
.profile-info { flex: 1; display: flex; flex-direction: column; }
.profile-name { font-weight: 600; color: var(--text-main); font-size: 16px; }
.profile-status { color: #10B981; font-size: 13px; font-weight: 500; margin-top: 2px;}
.chevron-icon { color: var(--text-muted); opacity: 0.5; transition: opacity 0.2s; }
.profile-section:hover .chevron-icon { opacity: 1; }

/* Пошук */
.search-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color); /* Додали лінію-роздільник */
}
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
}
.search-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    background-color: var(--hover-bg);
    color: var(--text-main);
    outline: none;
    transition: all 0.2s ease;
    font-size: 15px;
}
.search-input:focus {
    background-color: var(--sidebar-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

/* Список кімнат */
.room-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    padding-bottom: 60px;
    background-color: var(--chat-bg);
}
.room-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px; /* Більший відступ між чатами */
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); /* Легка тінь */
}
.room-item:hover {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}
.room-item.active {
    background-color: var(--active-bg);
    border-color: rgba(0, 82, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.08);
}
.room-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background-color: var(--hover-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}
.room-item.active .room-avatar {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
}
.room-details { display: flex; flex-direction: column; overflow: hidden; flex: 1; }
.room-name { font-weight: 600; color: var(--text-main); font-size: 15px; margin-bottom: 3px; }
.room-last-message { color: var(--text-muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.status-message { padding: 20px; text-align: center; color: var(--text-muted); font-size: 14px; }
.status-message.error { color: #EF4444; background: #FEF2F2; border-radius: 8px; margin: 10px; }

/* Налаштування */
.settings-section {
    padding: 11.5px 20px;
    background: var(--sidebar-bg);
    border-top: 1px solid var(--border-color); /* Лінія над налаштуваннями */
    display: flex;
    justify-content: flex-end; /* Вирівнюємо іконку вправо */
}
.settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%; /* Робимо кнопку круглою */
}
.settings-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}
.settings-icon-wrapper {
    display: flex;
}

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--chat-bg);
    position: relative;
}

.chat-header {
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
}
.mobile-back-btn {
    display: none; /* Прихована на десктопі */
    background: none;
    border: none;
    color: var(--text-main);
    padding: 8px;
    margin-left: -8px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}
.mobile-back-btn:hover { background: var(--hover-bg); }
.chat-header-info h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--text-main); }

.chat-messages {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.empty-icon {
    font-size: 48px;
    opacity: 0.5;
    filter: grayscale(1);
}
.empty-state p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    background: var(--sidebar-bg);
    padding: 12px 24px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.chat-placeholder { text-align: center; color: var(--text-muted); }


/* Оновлення шапки */
.chat-header {
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Розсуваємо елементи по краях */
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}

/* Віконце налаштувань (Dropdown) */
.chat-header-actions {
    position: relative;
}

.room-settings-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--sidebar-bg); /* За бажанням можна замінити на var(--glass-bg) */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.2s ease-out;
}

.dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--hover-bg);
}

.dropdown-item svg {
    color: var(--text-muted);
}

.dropdown-item.danger {
    color: #EF4444;
}
.dropdown-item.danger svg {
    color: #EF4444;
}
.dropdown-item.danger:hover {
    background: #FEF2F2;
}

.dropdown-item.warning {
    color: #F59E0B;
}
.dropdown-item.warning svg {
    color: #F59E0B;
}
.dropdown-item.warning:hover {
    background: #FFFBEB;
}

/* Для темної теми адаптуємо ховери кольорових кнопок */
body.dark-theme .dropdown-item.danger:hover { background: rgba(239, 68, 68, 0.1); }
body.dark-theme .dropdown-item.warning:hover { background: rgba(245, 158, 11, 0.1); }

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}


.room-item {
    position: relative;
}

/* Підіймаємо активний dropdown над іншими room-item */
.room-item:has(.sidebar-room-dropdown) {
    z-index: 200;
}

.room-item-options-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    opacity: 0.5; /* Трохи прозора за замовчуванням */
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Показуємо кнопку яскравіше при наведенні на саму кімнату */
.room-item:hover .room-item-options-btn,
.room-item.active .room-item-options-btn {
    opacity: 1;
}

.room-item-options-btn:hover {
    background: var(--border-color);
    color: var(--text-main);
}

.sidebar-room-dropdown {
    position: fixed;
    width: 220px;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 6px;
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.15s ease-out;
    /* Position is set via JS on open */
}

.dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: transparent;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .sidebar {
        flex: 1;
        max-width: 100%;
    }

    
    .chat-layout.view-list .sidebar { display: flex; }
    .chat-layout.view-list .chat-area { display: none; }

    .chat-layout.view-chat .sidebar { display: none; }
    .chat-layout.view-chat .chat-area { display: flex; }


    .mobile-back-btn { display: flex; }

    .chat-header { padding: 0 16px; }
    .profile-section { padding: 16px; }
    .search-section { padding: 10px 16px; }
}



/* ===== Room List Wrapper ===== */
.sidebar-room-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ===== Add Room FAB ===== */
.add-room-fab {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4338CA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 50;
    cursor: pointer;
    border: none;
}
.add-room-fab:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}
.add-room-fab:active {
    transform: scale(0.95);
}

.action-section {
    padding: 8px 0;
}
.section-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--text-main);
}
.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}
.primary-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.primary-btn.secondary:hover:not(:disabled) {
    background: rgba(50, 168, 82, 0.1);
    box-shadow: none;
}


/* ===== Modal Overlay ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

/* ===== Modern Modal ===== */
.modern-modal {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}
.modern-modal .modal-header {
    padding: 24px 24px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modern-modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
}
.modern-close-btn {
    background: var(--hover-bg);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.modern-close-btn:hover {
    background: var(--border-color);
    color: var(--text-main);
}
.modern-modal .modal-body {
    padding: 0 24px 24px;
}

/* ===== Selection Menu ===== */
.selection-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.selection-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s;
    gap: 14px;
}
.selection-btn:hover {
    border-color: var(--primary-color);
    background: rgba(50, 168, 82, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(50, 168, 82, 0.1);
}
.selection-btn .sel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.selection-btn .selection-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.selection-btn .selection-text strong {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
}
.selection-btn .selection-text span {
    color: var(--text-muted);
    font-size: 13px;
}
.selection-btn .chevron {
    color: var(--text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.selection-btn:hover .chevron {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* ===== Modern Form ===== */
.modern-form-group { margin-bottom: 16px; }
.modern-form-group label {
    display: block; margin-bottom: 6px;
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    letter-spacing: 0.3px; text-transform: uppercase;
}
.modern-form-group.half { flex: 1; }
.modern-input {
    width: 100%; padding: 12px 16px;
    border-radius: 12px; border: 1px solid var(--input-border);
    background: var(--input-bg); color: var(--text-main);
    font-size: 14px; transition: all 0.2s;
    box-sizing: border-box;
}
.modern-input:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(50, 168, 82, 0.1);
}
.form-row { display: flex; gap: 12px; }
.toggle-advanced-btn {
    width: 100%; display: flex; align-items: center; gap: 8px;
    background: transparent; border: none; color: var(--text-muted);
    font-size: 13px; font-weight: 500; padding: 12px 0;
    cursor: pointer; transition: color 0.2s; margin-bottom: 8px;
}
.toggle-advanced-btn:hover { color: var(--text-main); }
.toggle-advanced-btn svg { transition: transform 0.3s; }
.advanced-section {
    padding-top: 12px; border-top: 1px dashed var(--border-color);
    margin-bottom: 16px; animation: fadeIn 0.3s ease-out;
}
.modern-checkbox {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; font-size: 14px; color: var(--text-main); margin-bottom: 16px;
}
.modern-checkbox input { width: 18px; height: 18px; accent-color: var(--primary-color); }

/* ===== Form Actions ===== */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.modal-back-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}
.modal-back-btn:hover {
    background: var(--border-color);
}
.modern-primary-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.modern-primary-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(50, 168, 82, 0.3);
}
.modern-primary-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Error ===== */
.modern-error {
    display: flex; align-items: center; gap: 10px;
    background: rgba(229, 62, 62, 0.1); color: #e53e3e;
    padding: 12px; border-radius: 12px; margin-bottom: 20px;
    font-size: 14px; font-weight: 500;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ===== Settings Section Extras ===== */
.settings-section {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
}
.settings-left, .settings-right {
    display: flex;
    gap: 8px;
    align-items: center;
}
.theme-btn, .logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}
.theme-btn:hover, .logout-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}
.logout-btn:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
}











/* ===== User Search Dropdown (in modal) ===== */
.user-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 10000;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
}
.user-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
    transition: background 0.15s;
}
.user-search-item:hover {
    background: var(--hover-bg);
}
.user-search-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4338CA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.user-search-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.user-search-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-search-id {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Selected User Chips ===== */
.selected-users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(50,168,82,0.1);
    border: 1px solid rgba(50,168,82,0.3);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.user-chip button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.user-chip button:hover { opacity: 1; }

/* ===== Success message ===== */
.modern-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(50, 168, 82, 0.1);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== Modern Tabs (Sidebar) ===== */
.tabs-container {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}
.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}
.tab-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}
.tab-btn.active {
    background: var(--primary-color);
    color: white;
}
.modern-badge {
    background: #e53e3e;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}
.tab-btn.active .modern-badge {
    background: white;
    color: var(--primary-color);
}

/* Override native button styles for tabs */
button.tab-btn {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}
button.tab-btn:hover {
    background: var(--hover-bg) !important;
    color: var(--text-main) !important;
}
button.tab-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
}


/* NEW TABS REDESIGN */
.sidebar-room-wrapper .tabs-container {
    display: flex !important;
    gap: 8px !important;
    padding: 16px 16px 12px 16px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: var(--sidebar-bg) !important;
}

button.tab-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

button.tab-btn:hover {
    background: var(--hover-bg) !important;
    color: var(--text-main) !important;
}

button.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #4338CA) !important;
    color: white !important;
}
