/* Публичные коллекции */
.collections-search-wrapper {
    margin-bottom: 30px;
}

/* Используем существующие стили для списков */
.public-collection-card {
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.public-collection-card.hidden {
    display: none;
}

.public-collection-card .list-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    flex-grow: 1;
}

.collections-search {
    position: relative;
    margin-bottom: 20px;
}

.collections-search .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

.collections-search input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.collections-search input:focus {
    outline: none;
    border-color: #FF6B00;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.collections-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.collections-stats {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.collections-stats strong {
    color: #FF6B00;
    font-weight: 600;
}

.collections-page-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Убеждаемся, что карточка растягивается на всю высоту */
.lists-grid .public-collection-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.lists-grid .public-collection-card .list-card-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
    width: 100% !important;
}

.lists-grid .public-collection-card .list-card-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

.collection-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #FF6B00;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.collection-badge svg {
    width: 12px;
    height: 12px;
}

.list-card-stats {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-item svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.collection-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.collection-favorite-btn:hover {
    background: rgba(255, 107, 0, 0.2);
    color: #FF6B00;
    transform: scale(1.1);
}

.collection-favorite-btn.active {
    background: rgba(255, 107, 0, 0.3);
    color: #FF6B00;
}

.collection-favorite-btn:active {
    transform: scale(0.95);
}

.collection-favorite-btn svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .collections-stats {
        font-size: 13px;
    }
}

