/* 继承premium-style.css的精简覆盖层 */
.batch-image-label { text-align: center; margin-bottom: 8px; font-weight: 500; color: #475569; font-size: clamp(0.85rem, 1vw, 1.2rem); }
.batch-thumbnails-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
#batch-mobile-upload-btn { background: #2d3a4d; color: white; border: none; border-radius: 6px; padding: 8px 14px; font-size: 0.85em; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s ease; }
#batch-mobile-upload-btn:hover { background: #3d4c63; transform: translateY(-1px); }
#wr-mobile-upload-btn { background: #2d3a4d; color: white; border: none; border-radius: 6px; padding: 8px 14px; font-size: 0.85em; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s ease; }
#wr-mobile-upload-btn:hover { background: #3d4c63; transform: translateY(-1px); }
#bg-mobile-upload-btn { background: #2d3a4d; color: white; border: none; border-radius: 6px; padding: 8px 14px; font-size: 0.85em; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s ease; }
#bg-mobile-upload-btn:hover { background: #3d4c63; transform: translateY(-1px); }
.cutout-upload-actions { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cutout-upload-actions .control-btn {
    padding: 10px 16px; font-size: 15px; border-radius: 8px;
    border: 1px solid var(--prem-gold, #3183F5); background: rgba(49, 131, 245, 0.1);
    color: var(--prem-navy-700, #2d3436); font-weight: 600; cursor: pointer;
    transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap; letter-spacing: 0.3px;
}
.cutout-upload-actions .control-btn:hover {
    background: var(--prem-gold, #3183F5); color: var(--prem-navy-900, #1a1a2e);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(49, 131, 245, 0.3);
}
/* 手机上传按钮：深色风格，与 batch-mobile-upload-btn 统一 */
.cutout-upload-actions .control-btn[id$="-mobile-upload-btn"] {
    border-color: #2d3a4d;
    background: rgba(45, 58, 77, 0.08);
    color: #2d3a4d;
}
.cutout-upload-actions .control-btn[id$="-mobile-upload-btn"]:hover {
    background: #2d3a4d; color: #fff;
    box-shadow: 0 4px 12px rgba(45, 58, 77, 0.25);
}
/* 已上传状态：绿色反馈 */
.cutout-upload-actions .control-btn.is-uploaded {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    color: #065f46 !important;
}
.cutout-upload-actions .control-btn.is-uploaded:hover {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}
@media (max-width: 768px) {
    .cutout-upload-actions .control-btn { width: 100%; }
    /* 手机端隐藏"从手机上传"按钮（扫码上传在手机上无意义） */
    .cutout-upload-actions .control-btn[id$="-mobile-upload-btn"],
    #batch-mobile-upload-btn, #wr-mobile-upload-btn, #bg-mobile-upload-btn { display: none !important; }
}

/* 抠图模型选择器 */
.matting-model-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    border-radius: 12px;
    border: 1px solid #e0e3f0;
}
.matting-model-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a4a6a;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.matting-model-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.matting-model-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    user-select: none;
    position: relative;
}
/* 自定义 radio 圆圈 */
.matting-model-btn::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #b0b8c8;
    background: #fff;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}
.matting-model-btn.active::before {
    border-color: #3183F5;
    background: #3183F5;
    box-shadow: inset 0 0 0 3px #fff;
}
.matting-model-btn:hover::before {
    border-color: #3183F5;
}
.matting-model-btn i {
    font-size: 16px;
    color: #888;
    margin-left: 4px;
    transition: color 0.2s;
}
.matting-model-btn.active i {
    color: #3183F5;
}
.matting-model-btn .model-text {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}
.matting-model-btn.active .model-text {
    color: #3183F5;
    font-weight: 600;
}
.matting-model-btn .model-desc {
    font-size: 12px;
    color: #999;
    margin-left: 2px;
}
@media (min-width: 768px) {
    .matting-model-btn .model-desc {
        display: inline;
    }
}
.enhance-mode-options {
    flex: 1;
    min-width: 0;
    flex-direction: column;
}
.enhance-mode-options .matting-model-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}
