/* Sidebar Styles - Exact copy from index.html */
.sidebar {
    width: 220px;
    background: #222;
    color: white;
    transition: transform 0.3s ease;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    border-right: 1px solid #333;
}

.sidebar.collapsed {
    transform: translateX(-223px);
}

.sidebar-toggle {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #222;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    outline: none;
    box-shadow: none;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus,
.sidebar-toggle:active {
    background: #222;
    outline: none;
    box-shadow: none;
    transform: translateY(-50%);
}

.sidebar-header {
    padding: 0px 20px 16px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.sidebar-logo {
    width: 180px;
    height: auto;
    margin-top: -25px;
    margin-bottom: -50px;
}

.sidebar-nav {
    padding: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.nav-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item:hover {
    background: #333;
}

.nav-item:active,
.nav-item:focus {
    background: #333;
    outline: none;
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.nav-text {
    font-size: 16px;
    font-weight: 500;
}

/* Main Content adjustments for sidebar */
.main-content {
    margin-left: 220px;
    transition: margin-left 0.3s ease;
}

.main-content.sidebar-collapsed {
    margin-left: 0;
}
