
/* ==========================================
   Contact Page Polish
   ========================================== */


/* 中间留言区稍微收紧 */

#contact-main-section {
    padding-top: 58px !important;
    padding-bottom: 64px !important;
}


/* 删除公司信息以后，右侧预约说明撑开 */

#contact-main-section .grid.lg\:grid-cols-2 {
    align-items: stretch !important;
    gap: 28px !important;
}


/* 留言卡 */

.contact-message-card {
    border-radius: 18px !important;
}


/* 预约服务说明 */

.contact-service-notice {
    height: 100%;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    border-radius: 18px !important;
}

.contact-service-notice [data-slot="card-title"] {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f4d4b !important;
}

.contact-service-notice ul {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

.contact-service-notice li {
    display: grid !important;
    grid-template-columns: 42px 1fr;
    gap: 13px;

    padding: 16px 0;

    border-bottom: 1px solid #edf7f6;
}

.contact-service-notice li:last-child {
    border-bottom: 0;
}

.contact-service-notice li > span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5faf9;
    color: #25aaa7;

    font-size: 11px;
    font-weight: 700;
}

.contact-service-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #164f4d;

    font-size: 14px;
}

.contact-service-notice p {
    margin: 0;

    color: #718f8e;

    font-size: 13px;
    line-height: 1.65;
}


/* 表单控件稍微增加高度 */

.contact-message-card input {
    height: 40px !important;
}

.contact-message-card select {
    height: 40px !important;
}

.contact-message-card textarea {
    min-height: 110px !important;
}

.contact-message-card button[type="submit"] {
    height: 42px !important;
    border-radius: 9px !important;
}


/* 手机 */

@media (max-width: 767px) {

    #contact-main-section {
        padding-top: 42px !important;
        padding-bottom: 48px !important;
    }

    #contact-main-section .grid.lg\:grid-cols-2 {
        gap: 18px !important;
    }

    .contact-service-notice li {
        padding: 14px 0;
        grid-template-columns: 38px 1fr;
        gap: 10px;
    }

    .contact-service-notice li > span {
        width: 31px;
        height: 31px;
    }

}



/* 留言提交提示 */

#xinli-contact-toast {
    position: fixed;

    top: 90px;
    left: 50%;

    transform:
        translate(-50%,-20px);

    z-index: 2147483600;

    padding: 11px 18px;

    border-radius: 10px;

    opacity: 0;
    visibility: hidden;

    font-size: 13px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.12);

    transition: .2s;
}

#xinli-contact-toast.success {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%,0);

    background: #e5faf9;
    color: #116764;
}

#xinli-contact-toast.error {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%,0);

    background: #fff0f0;
    color: #b23a3a;
}
