/* 表单页面专用样式 - 商务化设计 */

.form-main {
    background: #fafbfc;
    min-height: 100vh;
    padding: 1.5rem 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
}

.form-header h2 {
    color: #1a202c;
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.form-header p {
    color: #718096;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* 表单容器 */
.dealer-form {
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    overflow: hidden;
}

/* 表单分组 */
.form-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

/* 表单行和组 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

/* 文件上传字段独立一行显示 */
.form-row .file-upload-group {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.form-group label.required::after {
    content: ' *';
    color: #e53e3e;
    font-weight: 600;
}

/* 输入字段样式 */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
    color: #2d3748;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* 只在表单提交后显示验证错误样式 */
.form-submitted .form-group input:invalid,
.form-submitted .form-group textarea:invalid,
.form-submitted .form-group select:invalid {
    border-color: #e74c3c;
}

/* 成功状态样式（可选） */
.form-submitted .form-group input:valid:not(:focus):not(:placeholder-shown),
.form-submitted .form-group textarea:valid:not(:focus):not(:placeholder-shown),
.form-submitted .form-group select:valid:not(:focus) {
    border-color: #27ae60;
}

.form-group input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
}

/* 单选按钮样式 */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #007bff;
    background: #007bff;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* 文件上传样式 */
.file-upload-group {
    position: relative;
}

.file-upload-area {
    position: relative;
    border: 1px dashed #cbd5e0;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #f7fafc;
}

.file-upload-area:hover {
    border-color: #3182ce;
    background: #ebf8ff;
}

.file-upload-area.dragover {
    border-color: #3182ce;
    background: #bee3f8;
    transform: none;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}



.upload-text {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.upload-hint {
    display: block;
    font-size: 0.75rem;
    color: #718096;
}

.file-upload-area.has-file {
    border-color: #27ae60;
    background: #f0fff4;
}

.file-upload-area.has-file .upload-text {
    color: #27ae60;
}

/* 文件上传进度条 */
.upload-progress {
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 0.875rem;
    color: #007bff;
    font-weight: 600;
    text-align: center;
    display: block;
}

.file-upload-area.uploading {
    pointer-events: none;
    opacity: 0.8;
}

.file-upload-area.uploading .file-upload-content {
    opacity: 0.5;
}

.file-upload-area.upload-complete {
    border-color: #28a745;
    background: #f8fff9;
}

.file-upload-area.upload-complete .upload-text {
    color: #28a745;
}

.file-upload-area.upload-complete .upload-hint {
    color: #28a745;
}

.file-upload-area.upload-error {
    border-color: #dc3545;
    background: #fff5f5;
}

.file-upload-area.upload-error .upload-text {
    color: #dc3545;
}

.file-upload-area.upload-error .upload-hint {
    color: #dc3545;
}

.file-upload-area .error-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* 多文件上传样式 */
.multi-file-upload .file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.file-item:hover {
    border-color: #cbd5e0;
    background: #f1f3f4;
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.file-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.file-size {
    font-size: 0.75rem;
    color: #718096;
}

.file-progress {
    width: 120px;
    margin: 0 1rem;
    flex-shrink: 0;
}

.file-progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.file-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.file-progress-text {
    font-size: 0.75rem;
    color: #007bff;
    font-weight: 600;
    text-align: center;
    display: block;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.file-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
}

.file-status.uploading {
    background: #e3f2fd;
    color: #1976d2;
}

.file-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.file-status.error {
    background: #ffebee;
    color: #c62828;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.file-remove:hover {
    background: #ffebee;
}

.file-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* 条件显示字段 */
.conditional-fields {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: #f7fafc;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #3182ce;
}

/* 错误消息 */
.error-message {
    display: block;
    color: #e53e3e !important;
    font-size: 0.65rem;
    margin-top: 0.25rem;
    min-height: 1rem;
    font-weight: 500;
}

/* 错误状态的输入框样式 */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

/* 错误状态的输入框在获得焦点时保持红色边框 */
.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2) !important;
}

.field-hint {
    display: block;
    color: #718096;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-style: normal;
}

/* 表单操作按钮 */
.form-actions {
    padding: 2rem;
    background: #f7fafc;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.form-actions > div {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 0.75rem 2rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.btn-primary:hover {
    background: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-secondary {
    background: white;
    color: #4a5568;
    border-color: #cbd5e0;
}

.btn-secondary:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 加载状态 */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 成功提示 */
.success-message {
    background: #f0fff4;
    color: #22543d;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #9ae6b4;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.875rem;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-main {
        padding: 1rem 0;
    }

    .form-header {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .radio-group {
        gap: 1rem;
    }

    .form-actions {
        padding: 1.5rem;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .file-upload-area {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .file-upload-area {
        padding: 1rem;
    }


}

/* 错误弹窗样式 */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-modal-overlay.show {
    opacity: 1;
}

.error-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.error-modal-overlay.show .error-modal {
    transform: scale(1) translateY(0);
}

.error-modal-header {
    display: flex;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.error-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.error-title {
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.error-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.error-modal-close:hover {
    color: #dc3545;
}

.error-modal-body {
    padding: 20px 24px;
}

.error-message {
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.error-suggestions {
    margin-top: 20px;
}

.error-suggestions h4 {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.error-suggestions ul {
    margin: 0;
    padding-left: 20px;
    color: #6c757d;
}

.error-suggestions li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.error-technical {
    margin-top: 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.error-technical summary {
    background: #f8f9fa;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.error-technical summary:hover {
    background: #e9ecef;
}

.error-technical pre {
    margin: 0;
    padding: 16px;
    background: #f8f9fa;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #495057;
    white-space: pre-wrap;
    word-break: break-word;
}

.error-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.error-modal-footer .btn {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.error-modal-footer .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

.error-modal-footer .btn-primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.error-modal-footer .btn-primary:hover {
    background: #0056b3;
    border-color: #004085;
}

/* 响应式设计 */
@media (max-width: 576px) {
    .error-modal {
        width: 95%;
        margin: 20px;
    }

    .error-modal-header,
    .error-modal-body,
    .error-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .error-modal-footer {
        flex-direction: column;
    }

    .error-modal-footer .btn {
        width: 100%;
    }
}

/* 打印样式 */
@media print {
    .form-actions,
    footer {
        display: none;
    }

    .form-main {
        background: white;
        padding: 0;
    }

    .dealer-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .form-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .error-modal-overlay,
    .success-modal-overlay {
        display: none !important;
    }
}

/* 成功弹窗样式 */
.success-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.success-modal-overlay.show {
    opacity: 1;
}

.success-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.success-modal-overlay.show .success-modal {
    transform: scale(1) translateY(0);
}

.success-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    text-align: center;
}

.success-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.success-title {
    color: #28a745;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.success-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.success-modal-close:hover {
    color: #28a745;
}

.success-modal-body {
    padding: 20px 24px;
}

.success-message {
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.success-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.detail-value {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.success-actions .btn {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-actions .btn-primary {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.success-actions .btn-primary:hover {
    background: #218838;
    border-color: #1e7e34;
}

.success-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.success-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

/* 成功弹窗响应式设计 */
@media (max-width: 576px) {
    .success-modal {
        width: 95%;
        margin: 20px;
    }

    .success-modal-header,
    .success-modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-value {
        max-width: 100%;
        text-align: left;
    }
}

/* 重置确认弹窗样式 */
.reset-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.reset-modal-overlay.show {
    opacity: 1;
}

.reset-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.reset-modal-overlay.show .reset-modal {
    transform: scale(1) translateY(0);
}

.reset-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    text-align: center;
}

.reset-title {
    color: #dc3545;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.reset-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.reset-modal-close:hover {
    color: #dc3545;
}

.reset-modal-body {
    padding: 20px 24px;
    text-align: center;
}

.reset-message {
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.reset-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px 24px;
}

.reset-actions .btn {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.reset-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

.reset-actions .btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.reset-actions .btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* 重置成功弹窗样式 */
.reset-success-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.reset-success-modal-overlay.show {
    opacity: 1;
}

.reset-success-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.reset-success-modal-overlay.show .reset-success-modal {
    transform: scale(1) translateY(0);
}

.reset-success-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    text-align: center;
}

.reset-success-title {
    color: #28a745;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.reset-success-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.reset-success-modal-close:hover {
    color: #28a745;
}

.reset-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px 24px;
}

.reset-success-actions .btn {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-success-actions .btn-primary {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.reset-success-actions .btn-primary:hover {
    background: #218838;
    border-color: #1e7e34;
}

/* 重置弹窗响应式设计 */
@media (max-width: 576px) {
    .reset-modal,
    .reset-success-modal {
        width: 95%;
        margin: 20px;
    }

    .reset-modal-header,
    .reset-modal-body,
    .reset-actions,
    .reset-success-modal-header,
    .reset-success-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .reset-actions,
    .reset-success-actions {
        flex-direction: column;
    }

    .reset-actions .btn,
    .reset-success-actions .btn {
        width: 100%;
    }
}

/* 聚焦行业下拉样式 - 核心：show类优先级高于默认 */
.dropdown-multiselect {
    position: relative;
    width: 100%;
    z-index: 10; /* 确保比其他元素层级高 */
}
.select-input {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-sizing: border-box;
}
/* 默认隐藏 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background: #fff;
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    box-sizing: border-box;
    width: 100%;
    display: none !important; /* 这里加 !important 控制默认 */
}
/* 展开时强制显示 - 优先级最高 */
.dropdown-menu.show {
    display: block !important;
}
.checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
}
.check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.check-item label {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    font-size: 0.875rem; /* 与输入字段字体大小一致 */
    color: #718096;      /* 使用与 .field-hint 相似的中性灰色，确保可读性 */
    opacity: 1;          /* 确保不透明度一致，避免浏览器默认差异 */
}