:root {
    --sidebar-width: 250px;
}

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sidebar Styling */
#sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#sidebar .brand {
    padding: 22px;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sidebar .brand i {
    color: #007bff;
}

#sidebar .nav-links {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex-grow: 1;
}

#sidebar .nav-links li {
    margin-bottom: 5px;
}

#sidebar .nav-links a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
}

#sidebar .nav-links a:hover,
#sidebar .nav-links a.active {
    background-color: #eff6ff;
    color: #007bff;
    border-left-color: #007bff;
}

#sidebar .nav-links a i {
    margin-right: 15px;
    width: 28px;
    text-align: center;
    font-size: 1rem;
}

/* Main Content Area */
#main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    overflow-y: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
}

.user-role {
    font-size: 0.8rem;
    color: #6c757d; /* text-muted */
}
