/* 收藏资产页面特定样式 */

/* 主内容区 */
.main-content {
    flex: 1;
    margin-left: 80px;
    padding: 30px 50px;
}

/* 分类导航和右侧区域 */
.category-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.favorites-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 搜索框 */
.search-box {
    display: flex;
}

.search-input {
    padding: 8px 15px;
    font-size: 14px;
    border: 2px solid #eee;
    border-radius: 12px 0 0 12px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #ff6b00;
}

.search-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b00, #ff8533);
    color: white;
    border: none;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 分类标签通用样式 - 不加粗 */
.category-item {
    padding: 5px 12px;
    background: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: normal;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-item:hover, .category-item.active {
    background: linear-gradient(135deg, #ff6b00, #ff8533);
    color: #fff;
}

/* 排序下拉 */
.sort-dropdown {
    position: relative;
}

.sort-select {
    padding: 8px 35px 8px 15px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.sort-select:focus {
    outline: none;
    border-color: #ff6b00;
}

/* 发布按钮 */
.publish-btn {
    padding: 6px 18px;
    background: linear-gradient(135deg, #ff6b00, #ff8533);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .category-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .favorites-right {
        flex-wrap: wrap;
    }
}

@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 60px;
        padding: 20px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 550px) {
    .video-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
