/* Base styles */
.table-fixed {
    table-layout: fixed;
    width: 100%;
}
.fixed-col {
    width: auto;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* Navbar styles */
#navbar {
    display: flex;
    align-items: center;
    /*padding: 10px 20px;*/
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo-container {
    flex: 0 0 auto;
    margin-right: 20px; /* Add some spacing between logo and title */
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/*.navbar-title {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 600;*/
/*    color: #2c3e50;*/
/*    margin: 0;*/
/*    white-space: nowrap; !* Prevent title from wrapping *!*/
/*}*/

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto; /* This pushes the menu to the right */
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-left: 15px;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #1a73e8;
    background-color: #f0f7ff;
}

.nav-link i {
    margin-right: 6px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 8px 16px;
    color: #4a5568;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f0f7ff;
    color: #1a73e8;
}

.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Original logout button style */
.logout-icon {
    color: #4a5568;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.logout-icon:hover {
    color: #e53e3e;
}

/* Mobile styles */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #4a5568;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 992px) {
    .navbar-toggler {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        width: 250px;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 8px;
        padding: 10px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 10px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        border-left: 3px solid #e2e8f0;
    }
}