/* User Collections List Styles */
.collections-list-container {
    width: 100%;
    background: #fff;
    border-radius: 4px;
}

.collections-header {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.collections-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.2s ease;
}

.collections-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.collections-item:hover {
    background-color: #fbfbfb;
}

/* Column Widths & Alignment */
.col-info {
    flex: 4; /* 40% roughly */
    padding-right: 20px;
    min-width: 0; /* Prevent flex item from overflowing */
}

.col-stat {
    flex: 1;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

.col-user {
    flex: 1.5;
    text-align: center;
}

.col-date {
    flex: 1.5;
    text-align: right;
    color: #999;
    font-size: 13px;
}

/* Content Styles */
.collection-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 6px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-title:hover {
    color: #007bff;
    text-decoration: none;
}

.collection-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 4px;
    object-fit: cover;
}

.user-name {
    font-size: 13px;
    color: #555;
    vertical-align: middle;
}

.stat-value {
    font-weight: 500;
    color: #495057;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #adb5bd;
    display: none; /* Hide label on desktop, show on mobile if needed */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .collections-header {
        display: none; /* Hide header on mobile */
    }

    .collections-item {
        flex-wrap: wrap;
        padding: 15px;
    }

    .col-info {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .col-stat, .col-user, .col-date {
        flex: 1;
        text-align: left;
        font-size: 12px;
        display: flex;
        align-items: center;
    }

    .stat-label {
        display: inline-block;
        margin-right: 5px;
    }

    .col-date {
        text-align: right;
        justify-content: flex-end;
    }
}
