.wpuf-mcf-box {
    border: 2px solid #e2e2e2;
    border-radius: 6px;
    padding: 20px;
}

.wpuf-mcf-box-title {
    margin: 0 0 4px;
    font-size: 18px;
}

.wpuf-mcf-box-subtitle {
    margin: 0 0 16px;
    color: #555;
    font-size: 13px;
}

.wpuf-mcf-field .wpuf-mcf-file-input {
    display: none;
}

.wpuf-mcf-section-label {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin: 20px 0 12px;
    position: relative;
}

.wpuf-mcf-section-label::before,
.wpuf-mcf-section-label::after {
    content: '';
    display: inline-block;
    width: 30%;
    height: 1px;
    background: #ddd;
    vertical-align: middle;
    margin: 0 10px;
}

.wpuf-mcf-dropzone {
    text-align: center;
    border: 1px dashed #d0d0d0;
    border-radius: 6px;
    padding: 18px;
}

.wpuf-mcf-browse-btn {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.wpuf-mcf-browse-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.wpuf-mcf-hint {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0;
}

.wpuf-mcf-progress {
    background: #eee;
    border-radius: 4px;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.wpuf-mcf-progress-bar {
    background: #2271b1;
    height: 100%;
    width: 0;
    transition: width 0.2s ease;
}

.wpuf-mcf-file-preview {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f6f7f7;
    border-radius: 4px;
}

.wpuf-mcf-error {
    color: #a00;
    margin-top: 8px;
    font-size: 13px;
}

.wpuf-mcf-existing-url {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 14px;
}

.wpuf-mcf-existing-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpuf-mcf-existing-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpuf-mcf-existing-link {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpuf-mcf-existing-sub {
    font-size: 11px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpuf-mcf-replace-btn {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
    flex-shrink: 0;
}

.wpuf-mcf-replace-btn:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #fff;
}

.wpuf-mcf-file-preview-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpuf-mcf-file-preview-row .wpuf-mcf-remove-btn {
    margin-left: auto;
    color: #c00;
}

.wpuf-mcf-display-text-row {
    margin-top: 10px;
}

.wpuf-mcf-display-text-row label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.wpuf-mcf-display-text-input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
