﻿.sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 32px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    height: auto;
    transition: width 0.2s cubic-bezier(.4,0,.2,1);
}

.sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
    text-align: center;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #222;
    padding: 18px 12px 18px 12px;
    text-align: center;
    box-shadow: none;
    margin-bottom: 32px;
    width: 90%;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #b7d88a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    background-color: #fff;
}

.avatar-icon {
    width: 48px;
    height: 48px;
    color: #7cb342;
}

.profile-name {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.update-info-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #7cb342;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    padding: 4px 8px;
    border: 1px solid #e0e0e0;
    margin-top: 8px;
    width: 100%;
    transition: background 0.2s;
}

    .update-info-link:hover {
        background: #f7f9fb;
        text-decoration: underline;
    }

.sidebar-menu {
    width: 100%;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 24px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: #7b7b9d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    background: none;
}

    .menu-item:hover {
        background: #f7f9fb;
        color: #7cb342;
    }

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    width: 18px;
    height: 18px;
    color: #b7b7c9;
}

.menu-text {
    font-size: 14px;
    font-weight: 400;
    color: inherit;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    color: #b7b7c9;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 24px 0 0 0;
    }

    .sidebar-menu {
        padding-left: 10px;
        padding-right: 10px;
    }
}
