﻿/* #region 联系我们提示条*/
/* 联系提示条 - section 包裹 */
.contact-tips-section {
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f4;
}

.contact-tips-inner {
    max-width: 1336px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.tips-text {
    color: #2c3e3f;
    font-weight: 400;
}

.tips-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #5e57cc;
    font-weight: 500;
    transition: color 0.2s;
}

    .tips-email:hover {
        color: #1e9b9d;
        text-decoration: underline;
    }

.email-icon {
    font-style: normal;
    font-size: 14px;
}

/* 手机端适配 */
@media (max-width: 767px) {
    .contact-tips-section {
        padding: 10px 12px;
    }

    .contact-tips-inner {
        font-size: 12px;
        gap: 6px;
    }

    .tips-email {
        gap: 4px;
    }

    .email-icon {
        font-size: 12px;
    }
}

/* #endregion*/

/* #region 表单样式*/
/* 与之前一致的样式，增加模态框样式 */
.warranty-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.warranty-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e2f30;
    text-align: center;
    margin-bottom: 12px;
}

.warranty-subtitle {
    text-align: center;
    font-size: 16px;
    color: #5f7a7c;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e1e1e;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: 0.2s;
    font-family: 'Open Sans', sans-serif;
}

    .form-control:focus {
        outline: none;
        border-color: #5e57cc;
        box-shadow: 0 0 0 2px rgba(40,195,197,0.2);
    }

.phone-group {
    display: flex;
    gap: 12px;
}

    .phone-group select {
        width: 30%;
    }

    .phone-group input {
        width: 70%;
    }

.field-validation-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #5e57cc;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

    .btn-submit:hover {
        background: #1e9b9d;
    }

.notes {
    margin-top: 24px;
    font-size: 12px;
    color: #5f7a7c;
    text-align: center;
    border-top: 1px solid #eef2f4;
    padding-top: 20px;
}
/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 使用 flex 居中 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-1 {
    background-color: #fff;
    padding: 30px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    margin: 0;
    /* 移除之前可能导致偏移的 top/transform */
    position: relative;
    top: auto;
    transform: none;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}

    .modal-content-1 h3 {
        font-size: 28px;
        color: #5e57cc;
        margin-bottom: 16px;
    }

    .modal-content-1 p {
        margin-bottom: 20px;
        color: #2c3e3f;
    }

.benefit-option {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .benefit-option input {
        margin-top: 3px;
        width: 18px;
        height: 18px;
    }

    .benefit-option label {
        font-weight: normal;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .benefit-option small {
        display: block;
        color: #5f7a7c;
        font-size: 12px;
    }

.modal-btn {
    background: #5e57cc;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.close-modal {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.thankyou-message {
    margin-top: 20px;
    padding: 15px;
    background: #e8f7f7;
    border-radius: 12px;
    color: #1e9b9d;
    text-align: center;
    display: none;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 10px;
    color: #5e57cc;
}

@@media (max-width: 767px) {
    .warranty-section {
        margin: 30px 16px;
        padding: 24px 20px;
    }

    .warranty-title {
        font-size: 24px;
    }

    .phone-group {
        flex-direction: column;
        gap: 8px;
    }

        .phone-group select, .phone-group input {
            width: 100%;
        }

}
/* #endregion */

