@charset "utf-8";

/* 首页整体布局 */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 80px 10px; /* 底部增加80px内边距，避免被导航栏遮挡 */
    background: #f8f9fa;
    min-height: 100vh;
}

/* 横幅区域 */
.banner-section {
    margin-bottom: 30px;
}

.banner {
	width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 卡片容器 */
.section-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 卡片头部 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.section-more {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.section-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* 星通知列表 */
.notice-list {
    padding: 0;
}

.notice-item {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: left;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.notice-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    min-height: 60px;
}

.notice-link:hover {
    color: #667eea;
}

.notice-badge {
    flex-shrink: 0;
    margin-right: 16px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.badge-type {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.notice-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.notice-text {
    flex: 1;
    min-width: 0;
}

.notice-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 24px;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.notice-link:hover .notice-title {
    color: #667eea;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-time {
    font-size: 0.8rem;
    color: #8e9aaf;
    font-weight: 500;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.notice-link:hover .notice-time {
    background: #e3f2fd;
    color: #667eea;
    border-color: #bbdefb;
}

/* 视频网格布局 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
}

/* 视频卡片 */
.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

/* 视频删除按钮样式 */
.video-delete-btn {
    background: transparent;
    border: 1px solid #dc3545;
    border-radius: 4px;
    color: #dc3545;
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    white-space: nowrap;
}

.video-delete-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.video-delete-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(220, 53, 69, 0.3);
}

.video-delete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.2);
}

.video-card:hover::before {
    opacity: 1;
}

.video-link {
	display: block;
    text-decoration: none;
    color: inherit;
}

/* 视频缩略图 */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px 16px 0 0;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-card:hover .video-thumbnail::before {
    opacity: 1;
}

/* 缩略图图片优化 */
.thumbnail-img {
	width: 100%;
	height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(1) saturate(1);
    /* 图片压缩优化 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 防止图片闪烁 */
    backface-visibility: hidden;
    transform: translateZ(0);
}

.video-card:hover .thumbnail-img {
    transform: scale(1.08) translateZ(0);
    filter: brightness(1.1) saturate(1.1);
}

/* 加载占位符 */
.thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.thumbnail-img.loaded + .thumbnail-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* 加载动画 */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误图标 */
.error-icon {
    font-size: 24px;
    color: #dc3545;
    opacity: 0.7;
}

/* 视频信息 */
.video-info {
    padding: 24px 20px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
}

.video-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.2) 50%, transparent 100%);
}

.video-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    text-align: left;
}

.video-card:hover .video-title {
    color: #667eea;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    flex-wrap: wrap;
    gap: 8px;
}

.video-meta::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, transparent 50%, rgba(102, 126, 234, 0.2) 100%);
}


.video-plays {
    color: #667eea;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .home-container {
        padding: 10px 10px 80px 10px; /* 保持底部间距 */
    }
    
    .main-content {
        gap: 10px;
    }
    
    .section-header {
        padding: 16px 20px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-more {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .notice-item {
        min-height: 55px;
    }
    
    .notice-link {
        padding: 12px 18px;
        min-height: 55px;
    }
    
    .notice-title {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 24px;
    }
    
    .notice-time {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .container {
        padding: 10px 10px 80px 10px; /* 保持底部间距 */
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .video-info {
        padding: 20px 16px;
        text-align: left;
    }
    
    .video-title {
        font-size: 1.05rem;
        margin-bottom: 14px;
        text-align: left;
    }
    
    .video-meta {
        justify-content: space-between;
        font-size: 0.85rem;
    }
    
    .video-date {
        text-align: left;
    }
    
    .video-plays {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 10px 10px 80px 10px; /* 保持底部间距 */
    }
    
    .banner {
        border-radius: 8px;
    }
    
    .video-grid-container {
        border-radius: 12px;
    }
    
    .section-card {
        border-radius: 12px;
    }
    
    .section-header {
        padding: 14px 16px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .notice-item {
        min-height: 50px;
    }
    
    .notice-link {
        padding: 10px 14px;
        min-height: 50px;
    }
    
    .notice-title {
        font-size: 14px;
        margin-bottom: 5px;
        line-height: 24px;
    }
    
    .notice-time {
        font-size: 0.7rem;
        padding: 1px 5px;
    }
    
    .badge {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    
    .notice-badge {
        margin-right: 12px;
    }
    
    .container {
        padding: 0 8px 80px 8px; /* 保持底部间距 */
    }
    
    .video-grid {
        padding: 16px;
        gap: 12px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-info {
        padding: 18px 14px;
        text-align: left;
    }
    
    .video-title {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .video-meta {
        justify-content: space-between;
        font-size: 0.8rem;
    }
    
    .video-date {
        text-align: left;
    }
    
    .video-plays {
        text-align: right;
    }
    
    .vote-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card {
    animation: fadeInUp 0.6s ease-out;
}

.video-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载状态 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #666;
}

/* 空状态 */
.empty-state {
	text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #666;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

/* 星风采页面搜索区域样式 */
.search-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

/* 星风采页面容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 80px 10px; /* 底部增加80px内边距，避免被导航栏遮挡 */
    background: #f8f9fa;
    min-height: 100vh;
}

/* 星风采页面视频网格容器 */
.video-grid-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
    transition: all 0.3s ease;
}

/* 返回按钮区域 */
.back-section {
    margin-bottom: 20px;
}

.go-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.go-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.go-back-btn i {
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-section {
        margin-bottom: 15px;
    }
    
    .go-back-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .back-section {
        margin-bottom: 12px;
    }
    
    .go-back-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

.video-grid-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.search-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 上传弹窗样式 */
.upMovTip {
    position: fixed;
    top: 0;
    left: 0;
	width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.upMovShade {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.upMovHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.upMovTitle {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.closeshade {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.closeshade:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.closeshade i {
    font-size: 18px;
}

.upMovCon {
    padding: 30px;
}

.upMovCon_list {
    margin-bottom: 24px;
}

.upMovCon_list:last-child {
    margin-bottom: 0;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.upload-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.upload-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.upload-icon i {
    font-size: 24px;
    color: white;
}

.upload-content {
    flex: 1;
    min-width: 0;
}

.upload-title {
	font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.upload-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    height: 44px;
    min-width: 120px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.upload-btn i {
    font-size: 16px;
}

.url-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.url-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    height: 44px;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    height: 44px;
    min-width: 80px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.copy-btn i {
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upMovShade {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .upMovHeader {
        padding: 20px 24px 16px 24px;
    }
    
    .upMovTitle {
        font-size: 1.2rem;
    }
    
    .upMovCon {
        padding: 24px;
    }
    
    .upload-option {
        padding: 20px;
        gap: 16px;
    }
    
    .upload-icon {
        width: 50px;
        height: 50px;
    }
    
    .upload-icon i {
        font-size: 20px;
    }
    
    .upload-title {
        font-size: 1rem;
    }
    
    .url-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .url-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .upMovShade {
        margin: 15px;
        width: calc(100% - 30px);
        border-radius: 16px;
    }
    
    .upMovHeader {
        padding: 16px 20px 12px 20px;
    }
    
    .upMovTitle {
        font-size: 1.1rem;
    }
    
    .upMovCon {
        padding: 20px;
    }
    
    .upload-option {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .upload-icon {
        width: 45px;
        height: 45px;
    }
    
    .upload-icon i {
        font-size: 18px;
    }
    
    .upload-title {
        font-size: 0.95rem;
    }
    
    .upload-desc {
        font-size: 0.85rem;
    }
    
    .upload-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        height: 60px;
        min-width: 100px;
    }
    
    .copy-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
	height: 40px;
        min-width: 70px;
    }
    
    .url-input {
        height: 40px;
    }
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
	font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.upload-btn i {
    font-size: 1rem;
}

.search-form {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
}

.search-input {
    flex: 1;
    min-width: 0;
}

.search-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.search-select,
.search-input {
  width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.search-select:focus,
.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-hint {
    font-size: 0.8rem;
    color: #999;
    margin-top: 6px;
    font-style: italic;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    max-width: 120px;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.search-btn i {
    font-size: 1rem;
}

.search-status {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
}

/* 无结果页面样式 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results p {
    margin: 8px 0;
    font-size: 1rem;
}

.no-results-hint {
    font-size: 0.9rem;
    color: #999;
}

/* Toast 提示样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease;
}

.toast-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toast-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.toast-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .search-form {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .search-input {
        flex: 1;
        min-width: 0;
    }
    
    .search-btn {
        min-width: 80px;
        max-width: 100px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}


@media (max-width: 480px) {
    .search-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .search-title {
        font-size: 1.3rem;
    }
    
    .upload-btn {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .search-form {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .search-input {
        flex: 1;
        min-width: 0;
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .search-btn {
        min-width: 70px;
        max-width: 80px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* 登录页面样式 */
.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 400px;
  position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: #8e9aaf;
    font-size: 1rem;
    margin: 0;
}

.login-form {
    margin-top: 30px;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-group:last-of-type {
    margin-bottom: 20px;
}

.login-form .form-input {
	width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
	box-sizing: border-box;
    height: 50px;
}

.login-form .form-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}


/* 与注册页面保持一致的样式 */
.required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.label-text {
    flex: 1;
}

/* 确保按钮和输入框高度一致 */
.code-input-group .form-input,
.code-btn {
    height: 50px;
    box-sizing: border-box;
}

/* 按钮文字居中 */
.code-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.code-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.code-input-group .form-input {
    flex: 1;
    min-width: 0;
}

.code-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    max-width: 120px;
    flex-shrink: 0;
    white-space: nowrap;
}

.code-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-btn {
	width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.login-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-actions {
    text-align: center;
    margin-top: 20px;
}

.login-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 登录页面响应式设计 */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .code-input-group {
        flex-direction: row;
        gap: 10px;
    }
    
    .code-btn {
        min-width: 80px;
        max-width: 100px;
        padding: 14px 12px;
        font-size: 0.85rem;
    }
    
    .login-form .form-input {
        height: 48px;
        padding: 12px 14px;
    }
    
    .code-btn {
        height: 48px;
    }
}

/* 错误提示样式 */
.error-message {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
    font-size: 0.9rem;
}

.success-message {
    background: #efe;
    color: #363;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #363;
    font-size: 0.9rem;
}

/* 个人中心页面样式 */
/* 用户信息卡片 */
.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    position: relative;
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.user-avatar img:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.user-hospital {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.user-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.user-actions {
    position: absolute;
    top: 20px;
    right: 20px;
}

.edit-btn-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.edit-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.edit-btn-small i {
    font-size: 16px;
}

.edit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}


/* 视频格式要求 */
.video-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    text-align: center;
}

.requirement-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

.requirement-text strong {
    color: #495057;
    font-weight: 600;
}

.upload-video-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.upload-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.upload-video-btn i {
    font-size: 18px;
}

.upload-closed {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
    font-size: 0.9rem;
}

/* 视频网格布局 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 24px 24px 24px;
}

.video-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
	overflow: hidden;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover::before {
    opacity: 1;
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
	position: relative;
    z-index: 2;
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover .video-thumbnail::before {
    opacity: 1;
}

.thumbnail-img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.video-card:hover .thumbnail-img {
    transform: scale(1.05);
}

.thumbnail-placeholder {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  z-index: 2;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-info {
    padding: 20px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
}

.video-info::before {
    content: '';
	position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
  display: -webkit-box;
    -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
    gap: 12px;
    padding-top: 5px;
}

.video-date {
    color: #8e9aaf;
    font-weight: 500;
}

.video-plays {
    color: #667eea;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.white_btn {
    background: #6c757d;
    color: white;
}

.white_btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.blue_btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blue_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.w150 { width: 150px; }
.w300 { width: 300px; }
.w100 { width: 100px; }
.fl { float: left; }
.mgl10 { margin-left: 10px; }

/* 联系方式列表 */
.contact-list {
    padding: 16px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    min-width: 80px;
    font-weight: 600;
    color: #495057;
	font-size: 0.9rem;
}

.contact-content {
    flex: 1;
}

.contact-content p {
    margin: 4px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 重要通知内容 */
.notice-content {
    padding: 0 28px 0 16px;
}

.notice-item {
    display: flex;
    gap: 16px;
    padding: 16px;
}

.notice-label {
    min-width: 100px;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.notice-highlight {
    color: #e74c3c;
    font-weight: 700;
}

.notice-note {
    margin-top: 16px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* 编辑弹窗优化 */
.tipShade {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.shadeCon {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.closeTip {
	position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    text-decoration: none;
    z-index: 10;
    transition: color 0.3s ease;
}

.closeTip:hover {
    color: #333;
}

.h1_title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.itemDiv_list {
    margin-bottom: 15px;
}

.itemDiv_list p {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.itemDiv_list .input,
.itemDiv_list .select {
	width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.itemDiv_list .input:focus,
.itemDiv_list .select:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.blue_btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.blue_btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* 个人中心页面响应式设计 */
@media (max-width: 768px) {
    .user-profile {
        padding: 20px;
        gap: 16px;
    }
    
    .user-avatar img {
        width: 70px;
	height: 70px;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .user-hospital {
        font-size: 0.9rem;
    }
    
    .user-location {
        font-size: 0.85rem;
    }
    
    .user-actions {
        top: 16px;
        right: 16px;
    }
    
    .edit-btn-small {
        width: 32px;
        height: 32px;
    }
    
    .edit-btn-small i {
        font-size: 14px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px 20px 20px;
    }
    
    
    .upload-video-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .video-requirements {
        padding: 12px;
        margin: 16px 0;
    }
    
    .requirement-text p {
        font-size: 0.8rem;
    }
    
    .video-icon {
        width: 40px;
        height: 40px;
    }
    
    .video-icon i {
        font-size: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .notice-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .notice-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .user-profile {
        padding: 16px;
        gap: 12px;
    }
    
    .user-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .user-name {
        font-size: 1.2rem;
    }
    
    .user-hospital {
        font-size: 0.85rem;
    }
    
    .user-location {
        font-size: 0.8rem;
    }
    
    .user-actions {
        top: 12px;
        right: 12px;
    }
    
    .edit-btn-small {
        width: 28px;
        height: 28px;
    }
    
    .edit-btn-small i {
        font-size: 12px;
    }
    
    .edit-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .video-grid {
        padding: 16px;
        gap: 12px;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-info {
        padding: 16px;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-meta {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .no-videos {
        padding: 24px 16px;
        margin: 16px;
    }
    
    .no-videos-icon {
        width: 50px;
        height: 50px;
    }
    
    .no-videos-icon i {
        font-size: 24px;
    }
    
    .no-videos h3 {
        font-size: 1rem;
    }
    
    .no-videos p {
        font-size: 0.85rem;
    }
    
    .upload-video-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .video-requirements {
        padding: 10px;
        margin: 12px 0;
    }
    
    .requirement-text p {
        font-size: 0.75rem;
    }
    
    .video-icon {
        width: 36px;
        height: 36px;
    }
    
    .video-icon i {
        font-size: 18px;
    }
    
    .video-text h3 {
        font-size: 1rem;
    }
    
    .video-text p {
        font-size: 0.85rem;
    }
    
    .contact-list {
        padding: 16px;
    }
    
    .notice-content {
        padding: 0 28px 0 16px;
    }
    
    .notice-item {
        padding: 0;
    }
    
    .notice-text {
        font-size: 0.85rem;
    }
    
    .notice-note {
        font-size: 0.8rem;
        padding: 12px;
    }
}

/* 视频上传页面样式 */
.upload-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-select {
	width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' 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 16px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

/* 面向人群单行显示样式 */
.radio-group-inline {
    display: flex;
    gap: 32px;
    margin-top: 8px;
    flex-wrap: nowrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.radio-item label {
    font-size: 1rem;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

.file-upload {
    margin-top: 8px;
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 92%;
    padding: 20px;
    border: 2px dashed #e9ecef;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #667eea;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload-btn:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.file-upload-btn i {
    font-size: 24px;
}

.file-upload-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.file-preview img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.file-name {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.form-hint {
    font-size: 0.85rem;
    color: #e74c3c;
    margin: 8px 0 0 0;
    font-style: italic;
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
}

.form-actions {
    margin-top: 10px;
    text-align: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 160px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 18px;
}

/* 上传loading样式 - 强制屏幕顶层显示 */
.upload-loading {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.loading-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    z-index: 100000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 0 20px 0;
    flex-shrink: 0;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    text-align: center;
    flex-shrink: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.go-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.go-back-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #764ba2;
}

.go-back-btn i {
    font-size: 14px;
}

/* 视频上传页面响应式调整 */
@media (max-width: 768px) {
    .upload-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 24px;
    }
    
    .radio-group {
        gap: 16px;
    }
    
    .radio-group-inline {
        gap: 24px;
    }
    
    .file-upload-btn {
        padding: 16px;
    }
    
    .file-upload-btn i {
        font-size: 20px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .upload-form {
        padding: 16px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-select,
    .form-textarea {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-group-inline {
        gap: 20px;
    }
    
    .file-upload-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .file-upload-btn i {
        font-size: 18px;
    }
    
    .submit-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .go-back-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    /* 移动端loading样式调整 */
    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    /* 移动端删除按钮样式 */
    .video-delete-btn {
        font-size: 11px;
        padding: 3px 6px;
        margin-left: 6px;
    }
}

/* loading样式 - 现在在body中，定位更准确 */
.upload-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
}
.pdt-20{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}