/**
 * 版本列表模态窗口样式
 * 用于显示媒体文件的版本列表（V1、V2、V3...）
 */

/* 版本列表模态窗口（上下左右居中） */
.version-list-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.version-list-content {
    background: var(--version-modal-bg, #2d2d2d);
    border-radius: var(--radius-lg, 10px);
    box-shadow: var(--shadow-xl, 0 8px 32px rgba(0, 0, 0, 0.5));
    max-width: 380px;
    width: 88%;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: versionModalFadeIn 0.25s ease;
}

@keyframes versionModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 模态窗口头部（深色，紧凑） */
.version-list-content .modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
}

.version-list-content .modal-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.version-list-content .modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm, 4px);
    transition: all 0.2s ease;
}

.version-list-content .modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* 模态窗口内容 */
.version-list-content .modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

/* 版本列表容器（紧凑） */
.version-list-container {
    padding: 12px 16px 16px;
}

/* 版本列表标题（深色，精致） */
.version-list-title {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md, 6px);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.version-container-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.version-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    text-align: center;
    width: 100%;
}

/* 版本列表项（深色主题，精致紧凑） */
.version-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md, 6px);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}

.version-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

/* 选中项：深色高亮，不用白色，文字清晰突出 */
.version-list-item.active {
    background: rgba(102, 126, 234, 0.35);
    border-color: rgba(102, 126, 234, 0.9);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.5), 0 2px 12px rgba(102, 126, 234, 0.25);
}

.version-list-item.active:hover {
    transform: translateX(4px);
    background: rgba(102, 126, 234, 0.45);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.6), 0 4px 16px rgba(102, 126, 234, 0.3);
}

/* 版本图标 */
.version-icon {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.version-list-item.active .version-icon {
    color: #a5b4fc;
    font-size: 15px;
}

/* 版本号（深色主题，精致） */
.version-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    min-width: 32px;
}

.version-list-item.active .version-label {
    color: #e0e7ff;
    font-weight: 700;
}

/* 版本标签容器 */
.version-badges {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

/* 版本标签（精致尺寸） */
.version-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    white-space: nowrap;
}

/* 最新标签（深色主题） */
.badge-latest {
    background: rgba(56, 142, 60, 0.4);
    color: #81c784;
}

/* 当前标签（深色主题） */
.badge-current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-weight: 600;
}

/* 空状态（深色） */
.version-list-container .placeholder {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

/* 滚动条样式（深色） */
.version-list-content .modal-body::-webkit-scrollbar {
    width: 8px;
}

.version-list-content .modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.version-list-content .modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.version-list-content .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 移动端响应式已移除（项目仅支持 Windows 桌面端） */
