/* Settings Modal Styles */
.setter-modal.settings-modal-width {
    max-width: 900px !important;
    width: 85vw !important;
}

.settings-modal-width {
    max-width: 900px !important;
    width: 85vw !important;
}

.settings-modal-row {
    min-height: 500px;
}

.settings-sidebar {
    background-color: var(--bs-light);
}

/* Strong highlighting for active sidebar tab */
.settings-sidebar .list-group-item.active {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.3);
}

.settings-sidebar .list-group-item:hover:not(.active) {
    background-color: #e9ecef;
    color: #0d6efd;
}

.settings-content-area {
    max-height: 500px;
    overflow-y: auto;
}

.settings-openai-group {
    border-left: 3px solid var(--bs-primary);
}

.settings-cached-list {
    max-height: 200px;
    overflow-y: auto;
}

.settings-perf-table-container {
    height: 250px;
    overflow-y: auto;
}

.settings-table-head {
    position: sticky;
    top: 0;
    z-index: 10;
}

.settings-small-text {
    font-size: 0.85rem;
}

/* Tab Styling - Blue theme */
.card-header-tabs .nav-link {
    border-radius: 0.25rem 0.25rem 0 0;
    color: #0d6efd;
    /* Primary blue text for inactive */
    background-color: #e7f1ff;
    /* Light blue background for inactive */
    font-weight: 500;
    border: 1px solid #dee2e6;
    border-bottom: none;
    margin-right: 2px;
}

.card-header-tabs .nav-link:hover {
    color: #0a58ca;
    background-color: #d0e4ff;
    /* Slightly darker light blue on hover */
}

.card-header-tabs .nav-link.active {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    font-weight: bold;
}

/* Custom Scrollbar for tables */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}