/* ========== ОБЩИЕ СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: transparent;
    border: none;
    outline: none;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

/* Скрываем полосу прокрутки для горизонтальных списков */
.no-scrollbar {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ========== АЛЬБОМЫ / КАТЕГОРИИ (ТАБЫ) – компактно ========== */
.profile-albums-tabs {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-color, #efefef);
    background: transparent;
}

.profile-albums-tabs::-webkit-scrollbar {
    display: none;
}

.album-tab {
    flex-shrink: 0;
    padding: 6px 0;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary, #8e8e8e);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.album-tab.active {
    color: var(--text-primary, #ffffff);
}

.album-tab:hover {
    color: var(--text-primary, #ffffff);
}