h2 {
    font-size: 30px;
}

.wrapper {
    padding: 40px 0;
}

/* 卡片样式 */
.contact-card {
    width: 100%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px auto;
}

/* 卡片头部 */
.card-header {
    background: linear-gradient(135deg, rgba(40, 127, 88) 0%, rgba(40, 127, 88) 100%);
    padding: 20px 30px;
    color: white;
}

.card-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* 卡片内容 */
.card-body {
    padding: 20px 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 联系信息区域 */
.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 24px;
    color: #3b82f6;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 20px;
    font-weight: 500;
    color: #1e293b;
}

/* 二维码区域 */
.qrcode-section {
    flex-shrink: 0;
    text-align: center;
}

.qrcode-container {
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.qrcode-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-text {
    font-size: 14px;
    color: #64748b;
}

/* 卡片底部 */
.card-footer {
    background-color: #f8fafc;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.footer-text {
    font-size: 14px;
    color: #64748b;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-body {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .card-header {
        padding: 25px;
    }

    .card-title {
        font-size: 24px;
    }

    .info-item {
        margin-bottom: 20px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 20px;
    }

    .info-value {
        font-size: 18px;
    }

    .qrcode-container {
        width: 180px;
        height: 180px;
    }
}

/* .phone {
    font-size: 22px;
    color: #0560f6;
    margin-bottom: 32px;
} */

.contact_address {
    display: flex;
    flex-direction: column;
    background-color: #fcfcfc;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    border-radius: 20px;
    align-items: center;
    padding: 35px 65px;
    margin: 32px 0;
}

.address_title {
    font-size: 24px;
    color: #0560f6;
    margin-bottom: .5em;
    text-align: center;
}

.address_intor {
    font-size: 13px;
    color: #666;
}

.form-ul {
    flex-direction: column;
    margin: 0;
}

.form-ul>li {
    display: flex;
    /* margin: 0 0 22px 0;
    padding: 0 20px 0 0; */
    text-align: left;
    line-height: 30px;
    /*background: #8FB5E8;*/
}

label {
    flex: 0 0 auto;
    width: 150px;
    padding: 0 16px 0 0;
    line-height: 40px;
    text-align: right;
    color: #606266;
    /*background: #ca63e4;*/
    box-sizing: border-box;
    white-space: nowrap;
    margin-top: 0;
}

.label_type {
    width: 100px;
    text-align: left;
    margin-right: 24px;
}

.label_name {
    width: 80px;
    margin-left: 16px;
}

label.mline {
    line-height: 20px;
    white-space: normal;
}

label.star:before {
    content: '*';
    color: #f56c6c;
    margin-right: 4px;
}

.yours_name {
    width: 150px;
    /* max-width: 700px; */
    height: 40px;
    line-height: 30px;
    margin: 0;
    padding: 0 10px 0 5px;
    text-indent: 5px;
    color: #606266;
    border: 1px solid #CFCFCF;
    outline: none;
    border-radius: 5px;
}

.yours_contact {
    width: 350px;
    /* max-width: 700px; */
    height: 40px;
    line-height: 30px;
    margin: 0;
    padding: 0 10px 0 5px;
    text-indent: 5px;
    color: #606266;
    border: 1px solid #CFCFCF;
    outline: none;
    border-radius: 5px;
}

input[type='text'].datepicker {
    background: url(../images/date.png) no-repeat right 10px top 50%;
    background-size: 18px 18px;
}

textarea {
    width: 350px;
    /* max-width: 700px; */
    height: 80px;
    line-height: 30px;
    margin: 0;
    padding: 0 10px 0 5px;
    text-indent: 5px;
    color: #606266;
    border: 1px solid #CFCFCF;
    outline: none;
    border-radius: 5px;
}

.errorinfo {
    font-size: 12px;
    line-height: 35px;
    color: red;
    margin-left: 150px;
    visibility: hidden;
}

.errorinfo2 {
    font-size: 12px;
    line-height: 35px;
    color: red;
    margin-left: 150px;
    visibility: hidden;
}

.contact_type {
    margin-bottom: 24px;
}

/* 响应式布局 */
@media (max-width: 768px) {

    .container {
        padding: 24px;
    }

    .card-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .phone_box {
        flex-direction: column;
        flex: 1;
        justify-content: center;
        padding: 24px 0;
        text-align: center;
    }

    .address_title {
        font-size: 5vw;
    }

    label {
        flex: 0 0 auto;
        width: 150px;
        padding: 0 16px 0 0;
        line-height: 40px;
        text-align: right;
        color: #606266;
        /*background: #ca63e4;*/
        box-sizing: border-box;
        white-space: nowrap;
        display: block;
        /* 使得label内的内容作为块级元素显示 */
        white-space: normal;
        /* 允许自动换行 */
        word-break: break-word;
        /* 允许单词内断行 */
    }

    .form-ul {
        padding-left: 22px;
    }

    .form-ul>li {
        display: block;
        /*background: #8FB5E8;*/
    }

    .label_type {
        width: 100px;
        text-align: left;
    }

    .label_name {
        width: 80px;
        text-align: left;
        margin: 0;
    }

    textarea {
        width: 300px;
    }

    input[type='text'] {
        width: 300px;
    }

    label.star {
        text-align: left;
    }

    /* .yoursname {
        width: 100px;
    } */
    .errorinfo {
        margin-left: 0;
    }

    .errorinfo2 {
        margin-left: 0;
    }

}