.payment-page {
    max-width: 980px;
}

.payment-layout {
    margin-top: 18px;
    align-items: stretch;
}

.payment-layout > .card {
    min-width: 0;
}

.payment-card-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
}

.payment-field {
    margin: 14px 0;
}

.payment-label {
    display: block;
    margin-bottom: 8px;
    color: #dbe7ff;
    font-size: 14px;
    font-weight: 700;
}

.payment-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #2b3553;
    border-radius: 8px;
    background: #0f1530;
    color: #fff;
    font: inherit;
    font-size: 15px;
    letter-spacing: 0;
    outline: none;
}

.payment-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.payment-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.payment-action:hover {
    filter: brightness(1.06);
}

.payment-action-alipay {
    background: #1677ff;
}

.payment-action-wechat {
    margin-top: 10px;
    background: #07c160;
}

.payment-action-redeem {
    background: #8b5cf6;
}

.payment-action-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.payment-divider {
    height: 1px;
    margin: 22px 0;
    border: 0;
    background: rgba(255, 255, 255, .09);
}

.payment-note,
.payment-subtitle,
.payment-order-no {
    color: #9aa8c7;
    font-size: 13px;
    line-height: 1.65;
}

.payment-message {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
}

.payment-message-error {
    border: 1px solid rgba(255, 107, 107, .3);
    background: rgba(255, 107, 107, .1);
    color: #ffb4b4;
}

.payment-message-success {
    border: 1px solid rgba(7, 193, 96, .3);
    background: rgba(7, 193, 96, .1);
    color: #80efb5;
}

.payment-checkout-page {
    padding-top: 24px;
}

.payment-checkout-card {
    max-width: 520px;
    margin: 18px auto 0;
    text-align: center;
}

.payment-checkout-card h1 {
    margin: 14px 0 4px;
    font-size: 28px;
    letter-spacing: 0;
}

.payment-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 244px;
    height: 244px;
    margin: 18px auto;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
}

.payment-qrcode img,
.payment-qrcode canvas {
    display: block;
    width: 220px !important;
    height: 220px !important;
}

.payment-status {
    min-height: 24px;
    color: #f6c453;
    font-weight: 800;
}

.payment-status.is-success {
    color: #55e899;
}

#payment-complete {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .payment-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .payment-checkout-card h1 {
        font-size: 24px;
    }
}
