/*!
 * 视频详情页专用样式
 * 包含面包屑导航、下载功能、手机端弹窗等样式
 */

/* 面包屑导航样式 */
.stui-breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}
.stui-breadcrumb .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}
.stui-breadcrumb .breadcrumb-item {
    display: inline-block;
}
.stui-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}
.stui-breadcrumb .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}
.stui-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}
.stui-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
}

/* 下载功能样式 */
.download-items {
    padding: 10px 0;
}
.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.download-item:hover {
    background: #e9ecef;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}
.download-item:last-child {
    margin-bottom: 0;
}
.download-item-info {
    flex: 1;
    margin-right: 15px;
}
.download-item-name {
    font-weight: 500;
    color: #333;
    word-break: break-all;
    font-size: 14px;
    line-height: 1.4;
}
.download-item-actions {
    flex-shrink: 0;
}
.copy-btn {
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.copy-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}
.copy-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}
.download-content {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

/* 手机端浏览方式选择弹窗样式 - 扁平化设计，底部弹出 */
.mobile-browser-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 20px 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-header .subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #666;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 0;
}

.browser-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background: #fff;
    position: relative;
}

.browser-option:last-child {
    border-bottom: none;
}

.browser-option:hover {
    background: #f8f9fa;
}

.browser-option.app-option {
    background: #fff;
}

.browser-option.app-option:hover {
    background: #f0f8ff;
}

.option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    margin-right: 16px;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.option-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.browser-option.app-option .option-icon {
    background: #e3f2fd;
    color: #1a69ff;
}

.browser-option-continue .option-icon {
    background: #f5f5f5;
    color: #666;
}

.option-content {
    flex: 1;
    min-width: 0;
}

.option-content h4 {
    margin: 0 0 2px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.browser-option.app-option .option-content h4 {
    color: #1a69ff;
}

.browser-option.app-option .option-content h4 .app-tag {
    color: #ff9800;
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
}

.browser-option-continue .option-content h4 .not-recommended {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

.subtitle {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.browser-option.app-option .subtitle {
    color: #1a69ff;
}

.browser-option-continue .subtitle {
    color: #999;
}

.action-button {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
    text-align: center;
}

.browser-option.app-option .action-button {
    background: #1a69ff;
    color: #fff;
}

.browser-option.app-option .action-button:hover {
    background: #1565c0;
}

.browser-option-continue .action-button {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.browser-option-continue .action-button:hover {
    background: #eeeeee;
    color: #333;
}

/* 只在手机端显示 */
@media (min-width: 768px) {
    .mobile-browser-modal {
        display: none !important;
    }
}
