/* styles.css */

/* Fix the navbar at the top */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

/* Sidebar starts below the navbar */
.sidebar {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background-color: #f8f9fa;
    padding-top: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: #000;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

.sidebar .toggle-btn {
    background-color: #f8f9fa;
    color: #000;
    border: none;
    cursor: pointer;
}

.sidebar .user-info {
    margin-top: auto;
    text-align: center;
}

/* Adjust the main content to avoid the fixed sidebar and navbar */
.main-content {
    flex-grow: 1; /* Позволяет контенту занимать оставшееся пространство */
    flex-shrink: 1; /* Позволяет контенту сжиматься при необходимости */
    margin-left: 250px;
    padding: 20px;
}

/* Adjust main content if sidebar is not shown */
.main-content.no-sidebar {
    margin-left: 0;
}

table.table thead th {
    background-color: #f8f9fa;  /* Dark background */
    color: #000;  /* Black text */
    font-weight: bold;  /* Bold text */
}

/* Remove the default blue color for orderable columns */
table.table thead th a {
    color: #000;  /* Make the link color black */
    text-decoration: none;  /* Remove underline */
}

table.table thead th a:hover {
    color: #000;  /* Keep it black on hover too */
}

.nav-tabs .nav-link {
    color: white; /* Цвет текста для неактивной вкладки */
}

.nav-tabs .nav-link:hover {
    color: white; /* Цвет текста при наведении */
}
