/* ==========================
   Sidebar
========================== */
.sidebar {
    width: 240px;
    background-color: #1e1e1e;
    color: #ccc;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 13px;
    gap: 8px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item:hover {
    background-color: #2c2c2c;
    color: #ff8c00;
}

.nav-item.active {
    background-color: #ff8c00;
    color: #fff;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

/* ==========================
   Header
========================== */
.header {
    background-color: white;
    padding: 20px 40px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 28px;
    color: #1a1d2e;
    margin-bottom: 5px;
}

.breadcrumb {
    color: #6b7280;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    position: relative;
}

.user-profile:hover {
    background-color: #f3f4f6;
}



.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: #1a1d2e;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: #000000ff;
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 90px;
    display: none;
    z-index: 1000;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    color: #1a1d2e;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background-color: #f3f4f6;
}

.user-dropdown-item.signout {
    color: #ef4444;
}
