.space-list-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 32px 0;
}

.space-list-info-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    font-family: var(--main-font-family-additional);
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
}

.add-space-btn .material-symbols-outlined {
    margin-right: 4px;
}

.categories-container {
}

.categories-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.categories-icon {
    margin-right: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    padding-top: 24px;
}

.category-card {
    background-color: #F0F0F0;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #F0F0F0;
}

.category-card:hover {
    border: 1px solid var(--hower-color);
}

.category-name {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-description {
    font-size: 16px;
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
}

.subcategories-list {
    list-style-type: none;
    padding: 0;
}

.subcategory-link {
    text-decoration: none;
    color: #333;
}

.subcategory-link.current {
    font-weight: bold;
    color: #007bff;
}

.subcategory-count {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}


.subcategory-item-title {
    display: flex;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    margin-bottom: 24px;
}

.group-card-count-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-content {
    flex-grow: 1;
}

.category-description-wrapper {
    margin-bottom: 10px;
}

.space-category-wrapper {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--menu-account-color);
    padding: 16px;
    margin-bottom: 24px;
}

.header-list-category {
    display: flex;
    justify-content: space-between;
}

.category-card {
    height: 100%;
}

.category-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.category-card-link,
.category-card-link:hover,
.category-card-link:focus,
.category-card-link:active {
    text-decoration: none;
    color: inherit;
}

.category-card-link:hover .subcategory-item-title,
.category-card-link:hover .category-description,
.category-card-link:hover .group-count {
    color: inherit;
}

.group-count {
    border-radius: 24px;
    background-color: var(--box-border-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    height: 32px;
}


.category-card-img-container {
    display: flex;
    justify-content: center;
    height: 50px;
    margin-bottom: 24px;
}

.category-card-img {
    max-width: 24px;
    max-height: 24px;
}

.category-item-count {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}


.header-list-category {
    cursor: pointer;
}

.toggle-icon {
    transition: transform 0.5s ease;
}

.header-list-category[data-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}
.activity_option{
    white-space: nowrap;
    display: flex;
    gap:8px;
}
.category-card-wrapper {
    border-radius: 52px;
    width: 52px;
    height: 52px;
    background-color: var(--hower-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .space-list-info, .categories-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .space-category-wrapper {
        padding: 16px;
    }

    .user-item-holder .dropdown-menu {
        left: -120px;
    }

    .add-space-btn {
        height: 48px;
    }

    .profile-action-main .material-symbols-outlined {
        margin-right: 0;
    }

    .space-list-info-title-wrapper {
        font-size: 18px;
    }

    .space-members-wrapper {
        margin: 0 16px;
    }
}
