
.flatpickr-input {
    background-color: white;
    /* 设置输入框背景颜色为白色 */
}

[v-cloak] {
    display: none;
}

.site-content {
    background-color: #fff;
}

.ast-container {
    max-width: 100% !important;
}

.bg-customBlue {
    background-color: #1558DA !important;
}

/*国际化组件*/
.iti__selected-country {
    background-color: transparent !important;
    box-shadow: none !important;
}


.iti__country-container {
    box-shadow: transparent !important;
}

.entry-content ul,
.entry-content ol {
    padding: inherit !important;
    margin: inherit !important;
}

.iti {
    width: 100%;
}

.form {
    width: 100%;
    padding-left: 15px;
    padding-top: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-box {
    position: relative;
}

.form-box:before {
    content: " ";
    width: 16px;
    height: 16px;
    display: block;
    background-color: #FFD146;
    position: absolute;
    top: 0px;
    left: 0;
    border-radius: 50%;
    /* 将元素改为圆形 */
}

.form-box {
    width: 100%;
    margin-bottom: 10px;
}

.form-title {
    margin-left: 33px
}

.form-list {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: 8px;
    padding: 10px 23px;
    border-left: 2px solid #FFD146;
}

.buy-form-title {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: 8px;
    padding: 10px 23px;
    border-left: 2px solid #FFD146;
}

.none-form-title {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: 8px;
    padding: 10px 23px;
}

.form-item {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}

#form-content {
    display: none;
    flex-direction: column;
}

#form-content .form-item span {
    font-size: 14px;
    color: #999;
    padding-left: 10px;
}

#contentdemo {
    padding-top: 150px;
}

select,
.select2-container .select2-selection--single {
    background-position-y: calc(50%)
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

button {
    border-radius: 2px;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.item-top img {
    width: 100px;
}

.cbx-item input {
    width: unset;
}

.cbx-item span {
    color: #000 !important;
}

@font-face {
    font-family: 'Alibaba Sans Bold';
    src: url('/wp-content/static/font/minFont/AlibabaSans-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba Sans Regular';
    src: url('/wp-content/static/font/minFont/AlibabaSans-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Black';
    src: url('/wp-content/static/font/minFont/ArchivoBlack-Regular.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba PuHuiTi 55';
    src: url('/wp-content/static/font/minFont/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba PuHuiTi 95';
    src: url('/wp-content/static/font/minFont/AlibabaPuHuiTi-3-95-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.buy, .entry-content {
    font-family: 'Alibaba Sans Regular', sans-serif;
    background: #fafaf9;
}

.header2 {
    background-color: #70C1FF;
    max-height: 6.3rem !important;
}

.header3 {
    width: 100%
}

.insurance-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    color: #FFFFFF;
    line-height: 2.95rem;
}

.policy-total {
    font-family: 'Alibaba Sans Bold', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    color: #FFFFFF;
    line-height: 2rem;
}

.policy-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buy-btn {
    background: linear-gradient(90deg, #ED8155 0%, #F5CD1D 100%) !important;
    padding-left: 3.7rem;
    padding-right: 3.7rem;
}

.retention-dialog .el-dialog__body {
    font-size: 16px;
    text-align: center;
}

.retention-dialog .el-dialog__footer {
    text-align: center;
}

.custom-message-center {
    text-align: center;
    top: 50% !important;
    /* 让消息显示在页面中间 */
    transform-x: translateY(-50%);
    /* 垂直居中 */
}

/* 让 ElMessage 里的文字更大 */
.custom-message-center .el-message__content {
    font-size: 20px !important;
    /* 调整字体大小 */
    font-family: "PingFang SC";
    color: black;
}

.reasonsGraFather1 .peopleSay h2 {
    font-family: "Archivo Black-Regular";
    font-weight: 400;
    font-size: 50px;
    color: #000000;
    line-height: 59px;
    text-align: left;
    font-style: normal;
    text-transform: none;

    background-image: url("/wp-content/themes/astra/imgs/%E6%BE%B3%E6%B4%B2_slices/Vector%2062.png");
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 60px;
}

.baoxian tbody tr:nth-child(18) td:nth-child(1) {
    font-family: "Alibaba Sans Bold", sans-serif;
    font-weight: bold;
    font-size: 1.05rem;
    color: #0064B2;
    cursor: pointer;
}

.feature-title {
    font-family: 'Alibaba Sans Medium', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    color: #FFFFFF !important;
}

.price-content {
    font-family: 'Alibaba Sans Medium', sans-serif;
    font-weight: 500;
    font-size: 1.26rem;
    color: #000000;
}

.currency-content {
    font-family: 'Alibaba Sans Regular', sans-serif;
    font-weight: 400;
    font-size: 0.84rem;
    color: #000000;
}

.enroll-button {
    background: #0096FF !important;
    border-radius: 0.42rem;
    padding: 0.47rem 2.79rem;
}

.email-quote-btn {
    background: #70C1FF !important;
    border-radius: 0.42rem;
    padding: 0.47rem 1.42rem;
}

.insurance-desc {
    font-family: 'Alibaba PuHuiTi 55', sans-serif;
    font-weight: normal;
    font-size: 0.84rem;
    color: #0064B2;
}

@media (max-width: 670px) {
    .reasonsGraFather1 .peopleSay h2 {
        font-size: 32px !important;
        line-height: 39px !important;
        text-align: center !important;
        background-size: 40% !important;
    }

}

/* --- 布局容器 --- */
.checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    padding-bottom: 100px;
    /* 防止底部悬浮栏遮挡 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-top: 105px;
}

/* --- 卡片通用样式 --- */
.checkout-card {
    /* 浅灰色边框 */
    margin-bottom: 16px;
    overflow: hidden;
}

/* --- 卡片头部 (可点击区域) --- */
.card-header {
    font-family: 'Alibaba Sans Bold', sans;
    font-weight: bold;
    font-size: 1.4rem;
    color: #000000;
    line-height: 1.8rem;
}

/* --- 卡片内容区域 --- */
.card-body {
    margin-top: 1rem;
    background: linear-gradient( 360deg, #FFFFFF 50%, rgba(183,224,255,0.2) 100%, rgba(112,193,255, 0.2) 100%), #FFFFFF;
    box-shadow: 0rem 0.1rem 0.4rem 0rem rgba(0,0,0,0.12);
    border-radius: 0.6rem 0.6rem 0.6rem 0.6rem;
    padding: 1rem;
    background-color: #fff;
}
/* --- 箭头图标 --- */
.arrow-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #6b7280;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.arrow-icon.is-open {
    transform: rotate(180deg);
}



/* --- 表单网格布局 --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 默认单列 */
    gap:0.5rem 1.3rem;
}
/* 针对需要三列布局的行 */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 2.55rem;
    margin-bottom: 0.5rem;
}

/* 针对需要两列布局的行 */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2.55rem;
    margin-bottom: 0.5rem;
}



/* --- 表单元素样式 --- */
.form-group {
    margin-bottom: 5px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.required-star {
    color: #ef4444;
}

.form-input,
.form-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px !important;
    font-size: 16px;
    color: #111827;
    outline: none;
    padding: .55rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff !important;
    box-shadow: none !important;
    border: 1px solid #E5E7EB !important;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 44px;
}

.form-input:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-error-msg {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* --- Next 按钮样式 --- */
.btn-action-row {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.btn-next {
    background-color: #0096ff !important;
    font-family: 'Alibaba Sans Medium', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem 4rem;
    border-radius: 6px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-next:hover {
    background-color: #007acc;
}

/* --- Summary 特有样式 --- */
.summary-provider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-logo {
    width: 140px;
    height: auto;
}
.referral-input {
    max-width: 300px;
}
.summary-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}
.cd-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}



/* 隐藏原生的 input */
.hidden-checkbox {
    display: none !important;
}

/* --- 底部 Footer 简单修复 --- */
.footer-bar {
    background: linear-gradient(360deg, #FFFFFF 50%, rgba(183, 224, 255, 0.2) 100%, rgba(112, 193, 255, 0.2) 100%), #FFFFFF;
    box-shadow: 0rem 0.1rem 0.4rem 0rem rgba(0, 0, 0, 0.12);
    border-radius: 0.6rem 0.6rem 0.6rem 0.6rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bar2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bar2 img {
    width: 2.3rem;
}

.checkbox-icon {
    width: 2.3rem;
    height: 2.3rem;
    margin-right: 0.95rem;
    cursor: pointer;
}

.checkbox-label {
    font-family: 'Alibaba Sans Medium', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
}

.footer-price {
    font-family: 'Alibaba Sans Bold', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    color: #000000;
    line-height: 2rem;
}

.fp-title2 {
    margin-left: 1.5rem;
}
/* ======================== 模态框主体内容样式 ======================== */
.submit2-modal-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submit2-modal-body .pay-type {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* 20rpx -> 10px */
    align-items: center;
}

.submit2-modal-body .pay-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #FFFFFF;
    /* 15rpx -> 8px */
    border-radius: 8px;
    width: 100%;
    /* 20rpx -> 10px */
    padding: 10px;
}

.submit2-modal-body .pay-main span {
    font-family: 'Alibaba PuHuiTi 95';

    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.submit2-modal-body .pay-main .pay-img {
    /* 15rpx -> 8px */
    margin-top: 8px;
    /* 500rpx -> 250px */
    width: 250px;
    height: 250px;
}

.submit2-modal-body .pay-type-title {
    font-family: 'Alibaba PuHuiTi 95';
    font-size: 16px;
    color: #141414;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.submit2-modal-body .per-pay-type {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #FFFFFF;
    /* 32rpx -> 16px */
    border-radius: 16px;
    /* 28rpx 24rpx -> 14px 12px */
    padding: 7px 12px;
    cursor: pointer;
}

.submit2-modal-body .per-pay-type .ppt-left {
    display: flex;
    flex-direction: row;
    /* 0 22rpx -> 0 11px */
    gap: 0 11px;
}

.submit2-modal-body .per-pay-type .ppt-left .pt-icon {
    /* 104rpx -> 52px */
    width: 52px;
    height: 52px;
}

.submit2-modal-body .per-pay-type .ppt-left .cd-title {
    font-family: 'Alibaba PuHuiTi 65';
    font-weight: normal;
    /* 32rpx -> 16px */
    font-size: 16px;
    color: #000000;
}

.submit2-modal-body .per-pay-type .ppt-left .cd-second-title {
    /* 24rpx -> 12px */
    font-size: 12px;
    color: #606266;
}

.submit2-modal-body .per-pay-type .pt-jump {
    /* 48rpx -> 24px */
    height: 24px;
    /* 38rpx -> 19px */
    width: 19px;
}

/* ======================== 模态框基础结构样式 ======================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0, 0.7);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content-large {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    /* 15rpx -> 8px */
    border-radius: 8px;
    /* 30rpx -> 15px */
    padding: 15px;
    width: 90%;
    max-width: 500px; /* 保持 PC 端最大宽度 */
    /* 40rpx -> 20px */
    margin: 20px auto;
    max-height: 90vh;
}

.modal-content-large .submit2-modal-body {
    flex-grow: 1;
    overflow-y: auto;
}

.close-btn-area {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* 20rpx -> 10px */
    margin-bottom: 10px;
}

.close-btn-area .close-btn {
    background: #70c1ff;
    border-radius: 50%;
    /* 50rpx -> 25px */
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    /* 40rpx -> 20px */
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 5rpx -> 3px */
    padding-bottom: 3px;
}
.name-fields-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.5rem 2.55rem;
}
.mobile-show {
    display: none !important;
}
.checkbox-label a {
    color: #0064B2 !important;
}
@media (max-width: 1200px) {
    .header2 {
        display: none !important;
    }
    .checkout-container {
        margin-top: 20px;
    }
}
/* 大屏幕双列布局 */
@media (max-width: 768px) {
    .checkout-container {
        margin: 0;
        padding: 0 5px;
    }
    .mobile-show {
        display: flex !important;
    }

    .mobile-hide {
        display: none !important;
    }
    .cd-top {
        flex-direction: column;
    }
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .grid-3-col, .grid-2-col {
        grid-template-columns: 1fr; /* 手机上全部变单列 */
        gap: 0.5rem; /* 手机上的 gap 可以小一点 */
        margin-bottom: 0.5rem;
    }
    .grid-1-col {
        grid-template-columns: 1fr !important; /* 手机上全部变单列 */
        gap: 0.5rem; /* 手机上的 gap 可以小一点 */
        margin-bottom: 0.5rem;
    }
    .mobile-3-col {
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    /* 2. 确保 title 元素独占一行 (已经默认实现了，但加一个类更安全) */
    .full-width-item {
        grid-column: 1 / -1; /* 强制占据所有列 (如果使用 grid 布局) */
    }

    /* 3. 配置姓名区域为 Flex 容器 */
    .name-fields-wrapper {
        display: flex; /* 使用 Flexbox */
        gap: 0.5rem; /* 保持与桌面版相同的间距 */
        width: 100%;
        /* 在 grid 布局中，可能需要明确告诉它占据所有列 */
        grid-column: 1 / -1;
    }

    /* 4. 让每个姓名输入框平均占据 50% 空间 */
    .name-fields-wrapper .name-field-item {
        flex: 1; /* 保证平均分配剩余空间 */
        min-width: 0; /* 允许 flex 元素收缩 */
    }

    .form-grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .form-grid-school {
        grid-template-columns: 1fr;
    }
    .btn-next {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
    }
    .mobile-2-col {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
    }
    .mobile {
        flex-direction: column;
        gap: 0.5rem;
    }
    .checkbox-icon {
        width: 1.3rem;
    }
    .footer-bar {
        align-items: flex-start;
    }
    .footer-bar2 {
        width: 100%;
        padding: 0;
    }
    .footer-bar2 img {
        width: 1.3rem;
    }
    .footer-bar2 div{
        justify-content: flex-start;
    }
    .footer-bar {
        flex-direction: column;
    }
    .buy-btn-mobile {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
    .footer-price {
        margin: 1rem 0;
        font-size: 1.2rem;
    }
    .buy-btn {
        padding-left: 2.8rem;
        padding-right: 2.8rem;
    }
    .checkbox-label {
        font-size: 0.9rem;
    }

    .card-body {
        margin-top: 0.75rem;
    }

    .summary-provider img {
        width: 8rem;
    }
    .form-grid {
        width: 100%;
    }
    .referral-input {
        max-width: 100%;
    }
}
