/* 用户创作页面样式 */

/* 赛事文旅动态配色变量 */
:root {
    --theme-primary: #2e7d32;
    --theme-primary-dark: #1b5e20;
    --theme-gold: #DAA520;
    --theme-earth: #8B4513;
    --theme-earth-light: #F5E6D3;
    --theme-text-dark: #2C1810;
    --theme-gray: #696969;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 创作页面主体样式 */
.creation-main {
    padding: 0;
    margin-top: 0;
    min-height: calc(100vh - 120px);
    justify-content: flex-start;
}



/* 创作容器 - 论坛风格主容器 */
.creation-container {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 20px 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border: none;
    height: calc(100vh - 160px); /* 调整高度以适应顶部边距 */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 响应式设计 - 1600px以下屏幕 */
@media (max-width: 1600px) {
    .creation-sidebar {
        width: 280px;
    }
}

@media (max-width: 1200px) {
    .creation-sidebar {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .creation-sidebar {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        order: 2;
    }
    
    .creation-feed {
        width: 100%;
        order: 1;
    }
    
    .creation-card {
        padding: 20px;
        border-radius: 12px;
    }
}



/* 左侧边栏样式 - 参考非遗地图设计，移除固定定位 */
.creation-sidebar {
    width: 30%;
    max-width: 320px;
    min-width: 280px;
    background-color: #ffffff;
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid #f0f0f0;
    height: 100%;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* 页脚处理 - 参考非遗地图页面方案 */
footer {
    margin-top: 0;
}

/* 侧边栏统计信息 - 从页面标题移动过来 */
.creation-stats {
    display: flex;
    gap: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.creation-stats .stat-item {
    text-align: center;
    flex: 1;
}

.creation-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--theme-primary);
}

.creation-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
    color: #666;
}

/* 发布创作按钮 - 优化字体大小 */
.create-btn {
    width: 100%;
    padding: 18px;
    background: var(--theme-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    background: var(--theme-primary-dark);
}

/* 创作者中心入口 - 优化样式，与其他按钮保持一致 */
.creator-center-section {
    margin-bottom: 20px;
}

.creator-center-btn {
    width: 100%;
    padding: 18px;
    background: #f8f9fa;
    color: #333;
    border: 2px solid var(--theme-primary);
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.creator-center-btn:hover {
    background: #f0fdf4;
    border-color: var(--theme-primary-dark);
    color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

/* 创作分类 - 优化布局和按钮样式 */
.category-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.category-section h3 {
    background: var(--theme-primary);
    color: white;
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-section h3 i {
    color: white;
    font-size: 14px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.category-btn {
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.category-btn:hover {
    border-color: var(--theme-primary);
    background: rgba(46, 125, 50, 0.05);
    color: var(--theme-primary);
}

.category-btn.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
    color: white;
}

/* 热门标签和创作指南容器 - 优化布局 */
.trending-guide-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* 热门标签 - 优化样式 */
.trending-tags {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: fit-content;
}

.trending-tags:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.trending-tags h3 {
    background: var(--theme-primary);
    color: white;
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-tags h3 i {
    color: white;
    font-size: 14px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
}

.tag {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #666;
}

.tag:hover, .tag.active {
    background: var(--theme-primary);
    color: white;
    border-color: var(--theme-primary);
    transform: translateY(-1px);
}

/* 创作指南 - 优化样式 */
.creation-guide {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: fit-content;
}

.creation-guide:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.creation-guide h3 {
    background: var(--theme-primary);
    color: white;
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.creation-guide h3 i {
    color: white;
    font-size: 14px;
}

.creation-guide ul {
    list-style: none;
    padding: 16px;
    margin: 0;
}

.creation-guide li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.creation-guide li:before {
    content: "•";
    color: var(--theme-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* 右侧内容流 - 论坛风格主栏 */
.creation-feed {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    height: 100%; /* 改为100%高度 */
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    flex: 1; /* 占据剩余空间 */
    margin: 0; /* 移除margin，使用flex布局 */
    overflow: hidden;
}

/* 排序选项 - 左侧边栏样式 */
.sort-options {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.sort-options:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.sort-options h3 {
    background: var(--theme-primary);
    color: white;
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-options h3 i {
    color: white;
    font-size: 14px;
}

.sort-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.sort-btn {
    background: #f8f9fa;
    border: 2px solid #f0f0f0;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.sort-btn:hover {
    border-color: var(--theme-primary);
    background: rgba(46, 125, 50, 0.05);
    color: var(--theme-primary);
}

.sort-btn.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
    color: white;
    font-weight: 600;
}

/* 创作列表 - 抖音风格 */
.creation-list {
    flex: 1;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}



/* 抖音风格的视频容器 */
.douyin-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    flex: 1;
}

/* 视频流区域 */
.video-feed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 视频元素 */
.video-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.video-item.active {
    display: block;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频信息叠加层 */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 10;
    text-shadow: none !important;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: none !important;
}

.video-description {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    text-shadow: none !important;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    text-shadow: none !important;
}

.video-tag {
    font-size: 12px;
    color: white;
    text-shadow: none !important;
}

/* 右侧互动栏 */
.interactive-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 30px;
    z-index: 20;
}

/* 用户信息 */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 30;
}

.avatar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.follow-btn {
    margin-top: 8px;
    padding: 4px 12px;
    background: rgba(46, 125, 50, 0.9);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-btn:hover {
    background: rgba(19, 56, 99, 0.9);
    transform: scale(1.05);
}

.username {
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    text-shadow: none !important;
}

/* 互动按钮 */
.interaction-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 30;
    text-shadow: none !important;
}

.interaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 30;
    text-shadow: none !important;
}

.interaction-btn:hover {
    transform: scale(1.1);
}

.interaction-btn i {
    font-size: 24px;
    color: white !important;
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    text-shadow: none !important;
}

.interaction-btn.like-btn.active i {
    color: #e60026 !important;
    animation: likeAnimation 0.6s ease-in-out;
    background: rgba(230, 0, 38, 0.2);
    text-shadow: none !important;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.interaction-count {
    color: white !important;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-shadow: none !important;
}

/* 音乐信息 */
.music-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 30;
    text-shadow: none !important;
}

.music-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 3s linear infinite;
    text-shadow: none !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-icon::before {
    content: '🎵';
    font-size: 20px;
    text-shadow: none !important;
}

.music-title {
    color: white !important;
    font-size: 12px;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0,0,0,0.3);
    padding: 4px 6px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-shadow: none !important;
}

/* 滑动指示器 */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

/* 上下滑动指示按钮 */
.slide-up, .slide-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 15;
}

.slide-up {
    top: 20px;
}

.slide-down {
    bottom: 80px;
}

.slide-up:hover, .slide-down:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(-50%) scale(1.1);
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .interactive-bar {
        width: 60px;
        gap: 20px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .interaction-btn i {
        font-size: 20px;
    }
    
    .music-icon {
        width: 30px;
        height: 30px;
    }
    
    .music-icon::before {
        font-size: 16px;
    }
}

/* 加载骨架屏 */
.loading-skeleton {
    display: grid;
    gap: 20px;
}

.skeleton-creation {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
}

.skeleton-video {
    width: 40%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-user {
    height: 15px;
    width: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-stats {
    height: 12px;
    width: 80%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}



/* 模态框样式 - 美化设计 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    border-radius: 16px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--theme-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.modal-header h2 {
    margin: 0;
    color: var(--theme-primary);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2::before {
    content: "🎨";
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--theme-primary);
    background: rgba(46, 125, 50, 0.05);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: white;
    transform: translateY(-1px);
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.upload-btn {
    padding: 12px 20px;
    background: var(--theme-primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--theme-primary);
}

.upload-btn:hover {
    background: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.file-name {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    background: #fafafa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    flex: 1;
    min-width: 200px;
}

.file-preview {
    margin-top: 15px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.file-preview:hover {
    border-color: var(--theme-primary);
}

.file-preview img,
.file-preview video {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.tag-selector {
    position: relative;
}

.suggested-tags {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.suggested-tag {
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.suggested-tag:last-child {
    border-bottom: none;
}

.suggested-tag:hover {
    background: rgba(46, 125, 50, 0.05);
    color: var(--theme-primary);
    padding-left: 20px;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.selected-tag {
    background: var(--theme-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--theme-primary);
}

.selected-tag:hover {
    background: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.selected-tag .remove-tag {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-tag .remove-tag:hover {
    opacity: 0.8;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #fafafa;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.cancel-btn,
.submit-btn {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 100px;
}

.cancel-btn {
    background: #6c757d;
    border: 2px solid #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.submit-btn {
    background: var(--theme-primary);
    border: 2px solid var(--theme-primary);
    color: white;
}

.submit-btn:hover {
    background: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.submit-btn:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 优化文本域样式 */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

/* 优化选择框样式 */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* 优化标签选择器输入框 */
#tagInput {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#tagInput:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: white;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .creation-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .creation-sidebar {
        position: static;
        order: 2;
    }
    
    .creation-feed {
        order: 1;
    }
    
    .sort-options {
        flex-wrap: wrap;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .creation-media {
        height: 200px;
    }
}

/* 视频播放器自定义样式 */
.video-js {
    border-radius: 8px;
}

.vjs-poster {
    border-radius: 8px;
}

/* 空状态样式 - 优化布局和按钮样式 */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    color: #666;
    background: rgba(255, 255, 255, 0.95);
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: none;
}

.empty-state:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--theme-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.empty-state i {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--theme-primary-light);
    transition: all 0.3s ease;
    display: block;
    line-height: 1;
}

.empty-state:hover i {
    transform: scale(1.1);
    color: var(--theme-primary);
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 24px;
    color: #777;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .create-btn {
    display: inline-flex;
    width: auto;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 24px;
    box-shadow: 0 3px 12px rgba(46, 125, 50, 0.18);
    background: var(--theme-primary);
    color: white;
    border: none;
    gap: 8px;
    margin: 0;
    letter-spacing: 0.4px;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.empty-state .create-btn i {
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.empty-state .create-btn:hover {
    background: var(--theme-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Firefox滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}
