.sidebar {
    background: linear-gradient(90deg, rgba(52,156,238,1) 0%, rgba(126,194,247,1) 100%);
    min-width: 254px;
    min-height: 100%;
    border-top-right-radius: 100px;
    padding: 40px 0;
    overflow: hidden;
    transition: all 0.3s;
}

.sidebar__list {
    display: flex;
    flex-direction: column;
    row-gap: 10px; /* ← کاهش فاصله بین آیتم‌ها */
}

.sidebar__item {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-size: 16px;
    padding: 5px 10px;
    border-left: 0 solid transparent;
    transition: all 0.2s ease;
}

    .sidebar__item:hover {
        border-left: 6px solid white;
    }

.sidebar__item--border-left {
    border-left: 6px solid #f44336; /* قرمز برای آیتم فعال */
}

.sidebar__devider {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar__devider-text {
    margin-left: 10px;
    font-size: 14px;
    color: #e1f5fe;
    cursor: default;
}

.sidebar__devider-shape {
    width: 60%;
    height: 2px;
    background-color: #81d4fa;
}

/* =========================================================
   MULTILINGUAL / MOBILE SAFETY
   ========================================================= */

.sidebar__item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

    .sidebar__item svg {
        flex: 0 0 24px;
        min-width: 24px;
    }

.sidebar__item--button {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sidebar__devider {
    min-width: 0;
    gap: 8px;
}

.sidebar__devider-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sidebar__devider-shape {
    flex: 1 1 auto;
    min-width: 20px;
}

@media (max-width: 575.98px) {
    .sidebar__item {
        padding-right: 14px;
    }
}
