:root{
    --weak-color: #6e8095;
    --border-color: #d6e1ec;
}
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 弹窗主体：固定尺寸，不再铺满屏幕 */
.modal-mask .modal-wrap {
    width: 1200px;
    height: 600px;
    background: #f5f9fd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 头部栏 */
.modal-mask .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: #ffffff;
    border-bottom: 1px solid #e6e9ef;
}
.modal-mask .header-left {
    display: flex;
    align-items: center;
}
.modal-mask .logo{
    display: flex;
    align-items: flex-end;
}
.modal-mask .logo-text h2 {
    font-size:16px;
    color:#004499;
    font-weight:600;
    margin:0;
}
.modal-mask .logo-text p {
    font-size:11px;
    color:#555;
    margin:0;
}
.modal-mask .header-title {
    flex:1;
    margin-left:150px;
}
.modal-mask .header-title h3 {
    font-size: 16px;
    color:#222;
    margin:0;
}
.modal-mask .header-title p {
    font-size:11px;
    color:#667788;
    margin:0;
}
.modal-mask .header-right {
    display:flex;
    align-items:center;
    gap:16px;
}
.modal-mask .lang-switch {
    color:#888;
    font-size:12px;
}
.modal-mask .lang-switch span {
    cursor:pointer;
}
.modal-mask .lang-switch span.active {
    color: #004499;
    font-weight: bold;
}
.modal-mask .close-btn {
    width:34px;
    height:34px;
    border:1px solid #dde2eb;
    background:#f8fafc;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

/* 中间空白内容区域 */
.modal-mask .modal-content {
    flex:1;
    padding: 15px 50px;
}

/* 底部按钮区域 */
.modal-mask .modal-footer {
    display:flex;
    justify-content:space-between;
    padding:10px 30px;
    background:#fff;
    border-top:1px solid #e6e9ef;
}


.modal-mask .inquiry-card {
    height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-mask .steps-bar {
    display: flex;
    margin-bottom: 18px;
    justify-content: space-between;
    gap: 20px;
}

.modal-mask .step {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border-color);
    color: #556373;
    font-size: 12px;
}

.modal-mask .step span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #125c9d;
    background: var(--panel-blue);
    font-size: 12px;
    background: #e4f1ff;
}

.modal-mask .step.active {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
}

.modal-mask .step.active span {
    color: var(--navy);
    background: #ffffff;
}

.modal-mask .form-step {
    display: none;
}

.modal-mask .form-step.active {
    display: block;
}

.modal-mask .form-step h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 22px;
}

.modal-mask .step-help {
    font-size: 12px;
    margin: 0;
    color: var(--weak-color);
}

.modal-mask .choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.modal-mask .field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: #fff;
    padding: 20px 10px 40px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}

.modal-mask label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: bold;
    font-size: 12px;
}

.modal-mask input,
.modal-mask select,
.modal-mask textarea {
    padding: 12px 13px;
    background: #f9fcfe;
    font-size: 12px;
    border: 1px solid var(--border-color);
}

.modal-mask input:focus,
.modal-mask select:focus,
.modal-mask textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 105, 176, 0.14);
}

.modal-mask textarea {
    resize: vertical;
}

.modal-mask .wide {
    grid-column: 1 / -1;
}

.modal-mask .upload-box {
    display: grid;
    place-items: center;
    margin-top: 22px;
    padding: 28px;
    border: 2px solid #80b2de;
    cursor: pointer;
    text-align: center;
}

.modal-mask .upload-box input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}
.modal-mask .upload-box .icon{
    font-size: 30px;
    color: #80b2de;
}
.modal-mask .upload-box .btn {
    padding: 10px 16px;
    text-align: center;
    border: 2px solid #80b2de;
    color: #0074da;
    background: #fff;
}

.modal-mask .upload-box small {
    margin-top: 10px;
    color: var(--weak-color);
}

.modal-mask .file-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.modal-mask .file-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.modal-mask .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.modal-mask .review-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.modal-mask .review-block {
    padding: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-mask .review-block .fields span{
    font-weight: normal;
    color: #aaa;
    font-size: 12px;
    margin-right: 5px;
}
.modal-mask .review-block .fields span.filled{
    color: #0582f5;
}
.modal-mask .review-block .edit{
    font-size: 12px;
    font-weight: bold;
    color: #4b7de8;
    min-width: 60px;
    text-align: right;
    cursor: pointer;
}
.modal-mask .results {
    margin-top: 28px;
    padding: 24px;
}

.modal-mask .result-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.modal-mask pre {
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    color: #21415f;
    font-size: 12px;
}

.modal-mask .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.modal-mask .product-card {
    display: flex;
    flex-direction: column;
    min-height: 590px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.modal-mask .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 105, 176, 0.34);
    box-shadow: var(--shadow-md);
}

.modal-mask .product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 270px;
    padding: 22px;
    background: linear-gradient(180deg, #eef6fb, #ffffff 76%);
    border-bottom: 1px solid var(--line-soft);
}

.modal-mask .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(7, 25, 35, 0.12));
}

.modal-mask .placeholder-img {
    color: rgba(8, 43, 74, 0.52);
    font-size: 38px;
    font-weight: 900;
    background:
            linear-gradient(90deg, rgba(18, 105, 176, 0.08) 1px, transparent 1px),
            linear-gradient(180deg, rgba(18, 105, 176, 0.08) 1px, transparent 1px),
            #f4f8fb;
    background-size: 28px 28px;
}

.modal-mask .tag,
.modal-mask .product-card h3,
.modal-mask .product-card p,
.modal-mask .product-card ul,
.modal-mask .text-link {
    margin-left: 22px;
    margin-right: 22px;
}

.modal-mask .tag {
    display: inline-flex;
    width: fit-content;
    margin-top: 22px;
    margin-bottom: 10px;
    padding: 6px 10px;
    color: var(--navy);
    background: var(--panel-blue);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 850;
}

.modal-mask .product-card ul {
    margin-top: 8px;
    margin-bottom: 18px;
    padding-left: 18px;
}

.modal-mask .product-card h3,
.modal-mask .solution-list h3,
.modal-mask .about-panel h3 {
    line-height: 1.22;
}
.modal-mask .button{
    color: #5a80d3;
    font-weight: bold;
    padding: 8px 20px;
}
.modal-mask .button.primary{
    color: #fff;
    box-shadow: 0 16px 34px rgba(216, 23, 36, 0.3), 0 6px 18px rgba(8, 43, 74, 0.16);
}

.modal-mask form .product-item {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 10px 40px;
    gap: 10px;
    cursor: pointer;
}
.modal-mask form .product-item.checked {
    border: 2px solid #2468b8;
    background-color: inherit;
}
.modal-mask form .product-img-box img {
    width: 100px;
    display: block;
}
.modal-mask form .product-content {
    padding: 0px;
}
.modal-mask form .product-content .num {
    font-size: 11px;
    color: #e63939;
    font-weight: bold;
}
.modal-mask form .product-content h3 {
    font-size: 16px;
    margin: 5px 0 10px 0;
    font-weight: 600;
}
.modal-mask form .product-content .desc {
    font-size: 11px;
    color: #64748b;
}
.modal-mask form .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background-color: #2468b8;
    text-align: center;
    color: #fff;
}
.modal-mask form .check-icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}
.modal-mask form .delete {
    margin-left: 40px;
    color: red;
    cursor: pointer;
}


.modal-mask .success-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* 蓝色对勾方块 */
.modal-mask .success-submit .check-box {
    width: 90px;
    height: 90px;
    background-color: #0f5baf;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}
.modal-mask .success-submit .title {
    font-size: 26px;
    margin: 0;
}
.modal-mask .success-submit .desc {
    font-size: 13px;
    color: #69788c;
    text-align: center;
    margin: 20px 0 60px 0;
}
.modal-mask .success-submit .order-no-box {
    border: 1px solid #dde4ee;
    padding: 15px;
    font-size: 14px;
    margin-bottom: 40px;
    background: #fff;
    width: 500px;
    text-align: center;
}
.modal-mask .success-submit .btn-group {
    width: 400px;
    display: flex;
    justify-content: space-between;
}
.modal-mask .success-submit .btn-group .button {
    min-width: 140px;
    padding: 10px 20px;
}


