/* Extracted page styles for the card verification page. */

:root {
            --bg-top: #fff5f3;
            --bg-bottom: #ffe7e1;
            --surface: rgba(255, 255, 255, 0.94);
            --surface-strong: #ffffff;
            --line: rgba(225, 37, 27, 0.12);
            --ink: #2a1d1d;
            --muted: #7a6464;
            --accent: #e1251b;
            --accent-deep: #b91b13;
            --accent-soft: #fff1ef;
            --success: #0f8a61;
            --shadow: none;
            --shadow-soft: none;
            --radius-xl: 1.05rem;
            --radius-lg: 0.82rem;
            --radius-md: 0.6rem;
        }

        .clear-input {
            display: none;
            position: absolute;
            z-index: 10;
            top: 0 !important;
            right: 0 !important;
            width: 30px;
            height: 100%
        }

        .clear-input span {
            position: absolute;
            width: 16px;
            height: 16px;
            border-radius: 30px;
            top: 50% !important;
            left: 50%;
            margin: -8px 0 0 -8px;
            background: #b1b1b1
        }

        .clear-input span:after, .clear-input span:before {
            position: absolute;
            content: '';
            top: 4px;
            left: 7px;
            width: 2px;
            height: 8px;
            background: #fff;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg)
        }

        .clear-input span:before {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg)
        }

        html, body {
            min-height: 100%;
        }

        body.c_payment_body {
            font-family: "SF Pro Display", "PingFang SC", "Avenir Next", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            color: var(--ink);
            background:
                radial-gradient(circle at top left, rgba(225, 37, 27, 0.15), transparent 28%),
                radial-gradient(circle at top right, rgba(255, 160, 130, 0.18), transparent 26%),
                radial-gradient(circle at 50% 100%, rgba(255, 109, 92, 0.14), transparent 32%),
                linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
        }

        body.c_payment_body:before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(120deg, rgba(255, 255, 255, 0.5), transparent 35%),
                radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 55%);
            mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
        }

        .red {
            color: #b91b13;
        }

        .text-danger {
            color: var(--accent);
            font-weight: 700;
        }

        .clear-input-box {
            position: relative
        }

        .main-frame {
            padding: 1.15rem 0 2.4rem;
        }

        .c_payment_wrap_box {
            width: min(92vw, 780px);
            margin: 0 auto;
        }

        .c_payment_index_box {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 251, 255, 0.98) 100%) !important;
            border: 1px solid rgba(255, 255, 255, 0.82);
            border-radius: 1.1rem;
            box-shadow: var(--shadow);
            overflow: hidden;
            position: relative;
        }

        .c_payment_index_box:before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(135deg, rgba(225, 37, 27, 0.06) 0%, transparent 42%),
                radial-gradient(circle at 100% 0%, rgba(225, 37, 27, 0.14), transparent 24%),
                radial-gradient(circle at 0% 100%, rgba(125, 211, 252, 0.18), transparent 26%);
        }

        .cont_wrapnew {
            position: relative;
            z-index: 1;
            padding-bottom: 1.3rem;
        }

        .popview-head {
            position: relative;
            min-height: 1.35rem;
            padding: 0.5rem 1rem 0.35rem;
            text-align: center;
            background: linear-gradient(180deg, rgba(225, 37, 27, 0.07) 0%, rgba(255, 255, 255, 0) 100%);
        }

        .popviewhead-back {
            position: absolute;
            left: 0.4rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .popviewhead-title {
            position: relative;
            display: block;
            width: 100%;
            max-width: none;
            margin: 0 auto;
            padding: 0 1.8rem;
            box-sizing: border-box;
            text-align: center;
            font-size: 0.92rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            color: var(--ink);
            pointer-events: none;
        }

        .popview-head > i {
            display: none !important;
        }

        .c_payment_popview_head,
        .popview-head-index,
        .c_payment_popview_head_title,
        #card_name_title {
            text-align: center !important;
        }

        .c_payment_popview_head_title,
        #card_name_title {
            position: relative !important;
            left: auto !important;
            right: auto !important;
            top: auto !important;
            transform: none !important;
            display: block !important;
            width: 100% !important;
            max-width: none !important;
            margin: 0 auto !important;
            padding: 0 1.8rem !important;
            box-sizing: border-box !important;
            line-height: 1.1rem !important;
            float: none !important;
        }

        #c_payment_index_OrderDetail_box {
            margin: 0.3rem 0.8rem 0.95rem;
            padding: 0.3rem 0.22rem;
            border-radius: var(--radius-xl);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.96) 100%);
            border: 1px solid var(--line);
            box-shadow: var(--shadow-soft);
        }

        .bill-title,
        .bill-price {
            color: var(--ink);
        }

        .bill-title {
            padding: 0.3rem 0.5rem 0.18rem;
            font-size: 0.63rem;
            line-height: 1rem;
        }

        .hotel-bill-title-primary {
            margin-bottom: 0.12rem;
            color: #e1251b;
            font-size: 0.66rem;
            font-weight: 800;
        }

        #orderNo {
            color: var(--muted);
            font-style: normal;
            font-weight: 700;
        }

        .bill-price {
            padding: 0.08rem 0.5rem 0.28rem;
        }

        .bill-price-title {
            color: var(--muted);
            font-size: 0.58rem;
        }

        .bill-price-main,
        .corange,
        .cfont18 {
            color: var(--ink) !important;
        }

        .bill-price-content,
        .bill-price-row1,
        .bill-price-main,
        .corange,
        .cfont18,
        .bill-price .corange,
        .bill-price .bill-price-main,
        .bill-price .bill-price-row1,
        .bill-price .bill-price-content {
            background: transparent !important;
            background-color: transparent !important;
            box-shadow: none !important;
            border: none !important;
        }

        #card_name,
        #amount2 {
            font-weight: 800;
        }

        #tips {
            margin: 0 0.8rem 0.8rem;
            border-radius: var(--radius-lg);
            font-size: 0.54rem;
            overflow: hidden;
            color: var(--ink);
        }

        #tips ul {
            list-style: none;
            background: linear-gradient(180deg, var(--surface-strong) 0%, rgba(255, 247, 245, 0.98) 100%);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 0.16rem 0;
        }

        #tips ul > li {
            position: relative;
            padding: 0.22rem 0.42rem 0.22rem 0.94rem;
            line-height: 0.78rem;
            overflow: hidden;
            color: var(--muted);
        }

        #tips ul > li:before {
            content: "";
            position: absolute;
            left: 0.36rem;
            top: 0.48rem;
            width: 0.24rem;
            height: 0.24rem;
            border-radius: 999px;
            background: linear-gradient(180deg, #ff5a4a, #e1251b);
        }

        .p-i-btn-box {
            margin: 0.5rem 0.8rem;
        }

        #purchase_channel_buttons {
            --purchase-channel-count: 1;
            display: grid;
            grid-template-columns: repeat(var(--purchase-channel-count), minmax(0, 1fr));
            gap: 0.34rem;
            margin: 0.5rem 0.8rem;
        }

        #purchase_channel_buttons .p-i-btn-box {
            min-width: 0;
            margin: 0;
        }

        .purchase-channel-hint {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 0.18rem;
            margin: -0.12rem 0.8rem 0.52rem;
            padding: 0.22rem 0.38rem;
            border: 1px solid rgba(225, 37, 27, 0.18);
            border-radius: 0.56rem;
            background: linear-gradient(180deg, #fff6f5 0%, #fff0ee 100%);
            text-align: center;
            font-size: 0.58rem;
            font-weight: 800;
            line-height: 0.8rem;
            color: #b91b13;
        }

        .purchase-channel-hint:before {
            content: "!";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 0.52rem;
            height: 0.52rem;
            border-radius: 999px;
            background: #e1251b;
            color: #fff;
            font-size: 0.38rem;
            font-weight: 900;
        }

        .p-n-index-btn {
            display: flex !important;
            align-items: center;
            justify-content: center;
            min-height: 1.08rem;
            padding: 0.24rem 0.55rem;
            border-radius: 0.72rem;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%) !important;
            color: #fff !important;
            box-shadow: none;
            font-weight: 800;
            letter-spacing: 0.03em;
            border: none;
            transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
        }

        #purchase_channel_buttons .p-n-index-btn {
            flex-direction: column;
            gap: 0.14rem;
            min-height: 1.72rem;
            padding: 0.18rem 0.08rem;
            border-radius: 0.56rem;
            font-size: 0.58rem;
            line-height: 1.1;
            letter-spacing: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .purchase-channel-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 1rem;
            height: 1rem;
            color: #fff;
            line-height: 1;
            overflow: hidden;
            border-radius: 0.22rem;
            background: rgba(255, 255, 255, 0.94);
        }

        .purchase-channel-label {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .purchase-channel-icon svg {
            display: block;
            width: 100%;
            height: 100%;
        }

        .purchase-channel-icon img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

        .purchase-channel-fallback {
            display: none;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            font-size: 0.44rem;
            font-weight: 900;
            color: #fff;
        }

        .purchase-channel-icon.image-failed img {
            display: none;
        }

        .purchase-channel-icon.image-failed .purchase-channel-fallback {
            display: inline-flex;
        }

        #purchase_channel_buttons.purchase-channel-count-1 .p-n-index-btn {
            min-height: 1.08rem;
            flex-direction: row;
            font-size: 0.66rem;
        }

        #purchase_channel_buttons.purchase-channel-count-1 .purchase-channel-icon {
            width: 1.05rem;
            height: 1.05rem;
        }

        #purchase_channel_buttons.purchase-channel-count-4 .p-n-index-btn,
        #purchase_channel_buttons.purchase-channel-count-5 .p-n-index-btn {
            font-size: 0.44rem;
            gap: 0.1rem;
        }

        #purchase_channel_buttons.purchase-channel-count-4 .purchase-channel-icon,
        #purchase_channel_buttons.purchase-channel-count-5 .purchase-channel-icon {
            width: 0.96rem;
            height: 0.96rem;
        }

        #c_payment_index_payBtn_taobao {
            background: linear-gradient(135deg, #ff7a00 0%, #ff5000 100%) !important;
        }

        #c_payment_index_payBtn_taobao .purchase-channel-icon {
            filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
        }

        #c_payment_index_payBtn {
            background: linear-gradient(135deg, #e1251b 0%, #c81623 100%) !important;
        }

        #c_payment_index_payBtn .purchase-channel-icon {
            filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
        }

        #c_payment_index_payBtn_douyin {
            background: linear-gradient(135deg, #000000 0%, #161823 100%) !important;
        }

        #c_payment_index_payBtn_douyin .purchase-channel-icon {
            filter: drop-shadow(-1px 0 0 #25f4ee) drop-shadow(1px 0 0 #fe2c55);
        }

        #c_payment_index_payBtn_pdd {
            background: linear-gradient(135deg, #f53f3f 0%, #e02e24 100%) !important;
        }

        #c_payment_index_payBtn_pdd .purchase-channel-icon {
            filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
        }

        #c_payment_index_payBtn_xianyu {
            background: linear-gradient(135deg, #ffeb00 0%, #ffd000 100%) !important;
            color: #202020 !important;
        }

        #c_payment_index_payBtn_xianyu .purchase-channel-icon {
            filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
        }

        .p-n-index-btn:active {
            transform: translateY(1px) scale(0.99);
        }

        #selectOrcAotu {
            background: linear-gradient(135deg, #ffffff 0%, #fff6f5 100%) !important;
            color: #e1251b !important;
            border: 1px solid rgba(225, 37, 27, 0.18) !important;
            min-height: 0.98rem;
            padding: 0.16rem 0.44rem;
            font-size: 0.62rem;
        }

        #c_payment_index_payBtn2 {
            background: linear-gradient(135deg, #e1251b 0%, #b91b13 100%) !important;
        }

        .p-index-payway {
            margin: 0 0.8rem 0.78rem;
            padding: 0.08rem;
            border-radius: var(--radius-lg);
            background: rgba(255, 255, 255, 0.68);
            border: 1px solid rgba(255, 255, 255, 0.86);
            box-shadow: var(--shadow-soft);
        }

        .p-index-payway li {
            padding: 0.25rem;
        }

        #selectOrcParentContent,
        input[name="card_no"],
        input[name="card_pwd"] {
            width: 100%;
            box-sizing: border-box;
            background: rgba(250, 252, 255, 0.96);
            border: 1px solid rgba(225, 37, 27, 0.12) !important;
            border-radius: 0.9rem !important;
            color: var(--ink);
            box-shadow: none;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        #selectOrcParentContent {
            min-height: 3.1rem;
            height: 3.1rem;
            padding: 0.58rem 0.78rem !important;
            line-height: 0.95rem;
            resize: vertical;
        }

        input[name="card_no"],
        input[name="card_pwd"] {
            min-height: 1.24rem;
            padding: 0 0.9rem !important;
            font-size: 0.62rem;
        }

        #selectOrcParentContent:focus,
        input[name="card_no"]:focus,
        input[name="card_pwd"]:focus {
            outline: none;
            border-color: rgba(225, 37, 27, 0.44) !important;
            background: #fff;
        }

        #selectOrcParentContent::placeholder,
        input[name="card_no"]::placeholder,
        input[name="card_pwd"]::placeholder {
            color: #8a9a95;
        }

        .view60 {
            opacity: 0.8 !important;
        }

        .erisign4 {
            filter: saturate(0.3) contrast(0.8);
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(53, 20, 17, 0.38);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 243, 1) 100%);
            padding: 22px;
            border-radius: 22px;
            width: 90%;
            max-width: 420px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.82);
        }

        .modal.message-modal .modal-content {
            max-width: 340px;
            padding: 24px 20px 20px;
            border-radius: 20px;
            background: linear-gradient(180deg, #ffffff 0%, #fff7f6 100%);
            border: 1px solid rgba(225, 37, 27, 0.16);
        }

        .modal.config-modal .modal-content {
            max-width: 390px;
        }

        .modal-icon {
            display: none;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            margin: 0 auto 12px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e1251b 0%, #b91b13 100%);
            color: #fff;
            font-size: 24px;
            font-weight: 900;
            box-shadow: 0 8px 18px rgba(225, 37, 27, 0.18);
        }

        .modal.message-modal .modal-icon {
            display: flex;
        }

        .confirm-btn {
            padding: 12px 20px;
            background: linear-gradient(135deg, #e1251b 0%, #ff5a4a 100%);
            color: white;
            border: none;
            border-radius: 0.95rem;
            cursor: pointer;
            margin-top: 20px;
            width: 100%;
            font-weight: 700;
        }

        #modal-title {
            font-size: 18px;
            font-weight: 800;
            color: #b91b13;
            margin-bottom: 15px;
        }

        #modal-content-wrapper {
            font-size: 14px;
            line-height: 1.6;
            text-align: left;
            color: var(--ink);
        }

        #modal-content-wrapper.message-content {
            text-align: center;
            font-size: 16px;
            line-height: 1.65;
            font-weight: 700;
            color: var(--ink);
            word-break: break-word;
        }

        #modal-content-wrapper.config-content {
            text-align: left;
            font-size: 15px;
            line-height: 1.7;
            font-weight: 600;
            color: var(--ink);
            word-break: break-word;
        }

        #modal-content-wrapper.config-content img {
            display: block;
            max-width: 100%;
            max-height: 70vh;
            margin: 0 auto;
            border-radius: 12px;
        }

        .layui-m-layershade {
            background-color: rgba(53, 20, 17, 0.34) !important;
        }

        .layui-m-layer {
            color: var(--ink);
        }

        .layui-m-layer .layui-m-layerchild {
            border-radius: 1rem !important;
            overflow: hidden;
            box-shadow: none !important;
            border: 1px solid rgba(255, 255, 255, 0.88);
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 249, 255, 0.98) 100%) !important;
        }

        .layui-m-layer .layui-m-layercont {
            padding: 0.7rem 0.75rem !important;
            color: var(--ink) !important;
            font-size: 0.62rem !important;
            line-height: 0.95rem !important;
        }

        .layui-m-layer .layui-m-layerbtn {
            display: flex;
            gap: 0.18rem;
            padding: 0.18rem 0.18rem 0.2rem;
            background: transparent !important;
            border-top: 1px solid rgba(225, 37, 27, 0.10) !important;
        }

        .layui-m-layer .layui-m-layerbtn span {
            float: none !important;
            width: 100% !important;
            height: 0.96rem !important;
            line-height: 0.96rem !important;
            border-radius: 0.72rem !important;
            border: none !important;
            color: #fff !important;
            font-size: 0.58rem !important;
            font-weight: 700 !important;
            background: linear-gradient(135deg, #e1251b 0%, #ff5a4a 100%) !important;
        }

        .layui-m-layer .layui-m-layerbtn span:last-child {
            background: linear-gradient(135deg, #b91b13 0%, #e1251b 100%) !important;
        }

        .layui-m-layer .layui-m-layerchild h3 {
            padding: 0.62rem 0.7rem 0.22rem !important;
            height: auto !important;
            line-height: 0.84rem !important;
            font-size: 0.66rem !important;
            font-weight: 800 !important;
            color: var(--accent) !important;
            background: transparent !important;
        }

        .layui-m-layer .layui-m-layerchild.layui-m-layer-msg {
            min-width: 58vw;
            max-width: 78vw;
            border-radius: 0.8rem !important;
            background: linear-gradient(135deg, rgba(53, 20, 17, 0.94) 0%, rgba(225, 37, 27, 0.9) 100%) !important;
            border: none !important;
        }

        .layui-m-layer .layui-m-layerchild.layui-m-layer-msg .layui-m-layercont {
            padding: 0.34rem 0.55rem !important;
            color: #fff !important;
            text-align: center !important;
            font-size: 0.58rem !important;
            line-height: 0.82rem !important;
        }

        @media (max-width: 600px) {
            .main-frame {
                padding-top: 0.55rem;
            }

            .c_payment_wrap_box {
                width: calc(100vw - 18px);
            }

            .c_payment_index_box {
                border-radius: 1rem;
            }

            .popview-head {
                padding: 0.76rem 0.76rem 0.5rem;
            }

            #c_payment_index_OrderDetail_box,
            #tips,
            .p-i-btn-box,
            .p-index-payway {
                margin-left: 0.55rem;
                margin-right: 0.55rem;
            }

            .modal-content {
                padding: 15px;
            }

            .confirm-btn {
                padding: 10px;
                font-size: 16px;
            }

            #modal-title {
                font-size: 16px;
            }

            #modal-content-wrapper {
                font-size: 14px;
            }
        }

.container {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
        /*color: var(--weui-FG-0);*/
    }

    * {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
    }

    img {
        max-width: 100%;
        height: auto;
    }
