/* Navbar and Sidebar Styles - Shared Across All Pages */

/* Navbar/Toolbar Styles */

.toolbar {
    background-color: #1f2937;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.right-section {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.search-bar input {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-bar button {
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-left: none;
    background-color: #3b82f6;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #1f2937;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #1f2937;
    color: white;
    position: fixed;
    top: 60px;
    height: calc(100% - 60px);
    padding: 20px 0;
    display: block;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    padding: 12px 25px;
    transition: background-color 0.2s;
}

.sidebar li:hover {
    background-color: #374151;
}

.sidebar a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.sidebar .nested {
    display: none;
    padding-left: 20px;
}

.sidebar .active > .nested {
    display: block;
}