/* Beta页面专用样式 */

/* 头部用户区域 */
.header-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.header-user span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Beta容器 */
.beta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

/* 标签导航 */
.tab-nav {
    display: flex;
    gap: 4px;
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--bg-primary);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* 标签面板 */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.news-meta {
    font-size: 12px;
    color: var(--text-disabled);
    margin-bottom: 12px;
}

.news-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* 软件列表 */
.software-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.software-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.software-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.software-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.software-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.software-instructions {
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.software-notes {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
}

.software-meta {
    font-size: 12px;
    color: var(--text-disabled);
}

.download-result {
    margin-top: 12px;
}

.download-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    word-break: break-all;
}

.download-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 加载和空状态 */
.loading,
.empty,
.error {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.error {
    color: var(--error-color);
}

/* 用户头部 */
.header .header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .header-user span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 响应式 */
@media (max-width: 768px) {
    .beta-container {
        padding: 16px;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .software-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .software-header .btn {
        width: 100%;
    }
}
