/* sidebar.css - Стили боковой панели */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 30px 0;
    flex-shrink: 0;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.sidebar-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #ecf0f1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.sidebar-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.sidebar-button.active {
    background: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.sidebar-button .icon {
    width: 22px;
    height: 22px;
    filter: invert(1) brightness(2);
    transition: transform 0.3s;
}

.sidebar-button:hover .icon {
    transform: scale(1.1);
}

.user-button {
    margin-top: auto;
    background: rgba(52, 152, 219, 0.25);
    border: 1px solid rgba(52, 152, 219, 0.5);
}

.admin-button {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.admin-button:hover {
    background: rgba(231, 76, 60, 0.3);
}

.username {
    font-weight: 600;
    color: #3498db;
}
