/**
 * 落地页样式优化（在原站样式之后加载，只做覆盖）
 *
 * 原则：
 *   1) 手机端保持原视觉不变；
 *   2) 桌面/平板预览时限宽居中，不再整屏拉伸；
 *   3) 支付表单的输入框、按钮、间距做精致化。
 */

body {
    background: #f3f4f6;
}

/* ---------- 桌面限宽居中（手机端不受影响） ---------- */

@media (min-width: 560px) {
    .centent {
        max-width: 520px;
        margin: 0 auto;
    }

    /* 用 margin 居中而不是 transform：避免破坏内部 position:fixed 的底部栏 */
    .page {
        left: 50%;
        width: 520px;
        margin-left: -260px;
    }

    .pay_flex_bottom {
        left: 50%;
        width: 520px;
        margin-left: -260px;
    }
}

/* ---------- 支付表单 ---------- */

.pay_item_box {
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(17, 17, 17, .04);
}

.pay_item_box .pay_item_title {
    font-size: 15px;
    color: #222;
}

.pay_item_input {
    height: 48px;
    padding: 0 14px;
    border: 1px solid #edeef2;
    border-radius: 10px;
    background: #f7f8fa;
    font-size: 15px;
    margin: 6px 0 14px;
    transition: border-color .2s, background .2s;
}

.pay_item_input:focus {
    border-color: #fd5409;
    background: #fff;
}

.code_input {
    height: 48px;
    padding: 0 6px 0 14px;
    border: 1px solid #edeef2;
    border-radius: 10px;
    background: #f7f8fa;
    margin: 6px 0 0;
}

.code_input input {
    height: 100%;
    background: transparent;
    font-size: 15px;
}

.code_pay {
    height: 36px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(90deg, #ff9a4d, #fd5409);
    transition: opacity .2s;
}

.code_pay:active {
    opacity: .9;
}

.code_pay.btn-disabled {
    background: #cfd2d8;
    color: #fff;
}

/* ---------- 支付方式 ---------- */

.pay_item_label {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* 支付方式卡片：默认描边，选中后微信绿高亮 */
.pay_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #eceef3;
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
}

.pay_flex:active {
    border-color: #07c160;
    background: rgba(7, 193, 96, .06);
}

.pay_flex_active {
    border-color: #07c160;
    background: rgba(7, 193, 96, .06);
    box-shadow: 0 4px 14px rgba(7, 193, 96, .12);
}

.pay_flex_left {
    flex: 1;
    min-width: 0;
}

.pay_icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    flex-shrink: 0;
}

.pay_flex_info {
    min-width: 0;
}

.pay_name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.pay_desc {
    margin-top: 3px;
    font-size: 12px;
    color: #9aa0a8;
    line-height: 1.2;
}

.pay_item_main {
    color: #9aa0a8;
    font-size: 12px;
}

.radio,
.radio_active {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-size: 14px;
    border-radius: 50%;
    transition: background .2s, border-color .2s, transform .2s;
}

.radio {
    border: 1.5px solid #d5d8de;
    background: #fff;
}

.radio_active {
    border: 1.5px solid #07c160;
    background: #07c160;
    color: #fff;
    transform: scale(1.02);
}

.radio_active .layui-icon {
    font-size: 14px;
    line-height: 1;
}

/* ---------- 底部提交栏 ---------- */

.pay_flex_bottom {
    padding: 12px 18px;
    box-shadow: 0 -2px 14px rgba(17, 17, 17, .06);
}

.pay_flex_bottom_price {
    font-size: 32px;
}

.pay_flex_bottom_btn {
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(90deg, #ff9a4d, #fd5409);
    box-shadow: 0 6px 16px rgba(253, 84, 9, .28);
}

.pay_flex_bottom_btn:active {
    transform: translateY(1px);
    opacity: .92;
}

/* ---------- 合格 / 致歉结果页 ---------- */

.page6 {
    z-index: 1;
}

.result-page {
    background: #fff;
    z-index: 5;
}

.result-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 14vh 26px 40px;
    text-align: center;
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    font-size: 30px;
}

.result-icon--ok {
    color: #07c160;
    background: rgba(7, 193, 96, .1);
}

.result-icon--no {
    color: #f15b6c;
    background: rgba(241, 91, 108, .1);
}

.result-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
}

.result-text {
    margin: 0 0 36px;
    font-size: 14px;
    line-height: 1.9;
    color: #6b7280;
    text-align: left;
}

.result-btn {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #ff9a4d, #fd5409);
    box-shadow: 0 6px 16px rgba(253, 84, 9, .28);
    transition: opacity .2s, transform .2s;
}

.result-btn:active {
    transform: translateY(1px);
    opacity: .92;
}

.result-btn--plain {
    color: #f15b6c;
    background: #fff;
    border: 1px solid #f15b6c;
    box-shadow: none;
}

@media (min-width: 560px) {
    .result-card {
        padding-top: 90px;
    }
}


/* ---------- 文案层级 ---------- */

.page_main {
    font-size: 12px;
    color: #b3b6bd;
}

.pay_drwn_title {
    font-size: 13px;
    opacity: .95;
}

.pay_drwn_num {
    font-size: 22px;
}
