body {
    --primary-color: #42A5F5;
}

#buy-form {
    max-width: 100vw;
}

.payment {
    margin: 20px auto;
    position: relative;
    display: flex;
    flex-direction: row;
    width: 1200px;
    min-height: 100%;
    justify-content: space-between;
    align-items: stretch;
    transition: filter 0.3s ease;
}

.payment #loading-product {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 16px;
    z-index: 1000;
    backdrop-filter: blur(1px); /* 添加模糊效果 */
}

.payment .spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.payment .rights-intro {
    box-sizing: border-box;
    position: relative;
    width: 280px;
    margin-right: 15px;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding-bottom: 55px;
}

.payment .rights-title {
    margin-top: 45px;
}

.payment .title-img-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 94px;
}

.payment .title-img-card img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
    height: 50px;
}

.payment .rights-title p {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin: 10px auto 0;
}

.payment .rights-title p span {
    display: inline-block;
    min-width: 130px;
    font-size: 16px;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 16px;
}

.payment .rights-details {
    font-size: 18px;
    color: #999;
}

.payment .rights-details h3 {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    text-align: center;
    margin: 12px 0 40px;
}

.payment .rights-details ul {
    text-align: left;
    margin: 0 auto;
    display: table;
}

.payment .rights-details ul li {
    line-height: 20px;
    margin-bottom: 10px;
    list-style: disc;
    font-size: 13px;
    font-weight: 400;
    color: #999999;
    margin-left: 15px;
}

.payment .introduce-item-btn {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0;
    width: 102px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50px;
    outline: none;
    font-size: 12px;
    margin: 40px auto 0;
    cursor: pointer;
    border: 1px solid var(--primary-color);
}

.payment .introduce-item-btn:hover {
    background-color: rgba(66, 165, 245, 0.1);
    color: var(--primary-color);
}

.payment .rights-nonsupport {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    color: #bbbbbb;
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

.payment .rights-choose {
    width: 903px;
    background-color: #fff;
    padding-bottom: 17px;
    padding-top: 57px;
    border-radius: 16px;
}

.payment .member-info {
    border-bottom: 1px solid #ddd;
    margin: 0 58px 40px;
}

.payment .pay-info {
    border-bottom: 0;
    margin: 0 58px 40px;
}

.payment .member-info__item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    width: 100%;
    align-items: center;
}

.payment .member-info__item .radio {
    margin: 0;
}

.payment .alignEnd {
    margin-top: 10px;
    align-items: flex-end;
    margin-bottom: 0;
}

.payment .member-info__item .pay-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.payment .member-info__item .original-price {
    text-decoration: line-through;
    color: #a9a9a9;
    margin-left: 10px;
    font-size: 18px;
    font-weight: 400;
}

.payment .member-info__item span strong {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 3px;
}

.payment .pay-info__item {
    margin-bottom: 0;
}

.payment .el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #409eff;
}

.payment .el-checkbox__input.is-checked .el-checkbox__inner::after {
    transform: rotate(45deg) scaleY(1);
}

.payment .member-info .member-info__label {
    width: 75px;
    margin-right: 12px;
    display: flex;
    font-size: 14px;
    color: #333333;
}

.payment .member-info label::after {
    display: none;
}

.payment .member-info__label {
    display: flex;
    align-items: center;
}

.payment .member-info__item .account {
    display: flex;
    font-size: 14px;
    color: #333;
    width: 445px;
}

.payment .member-info__item .account input {
    border: 1px solid #ddd;
    border-radius: 6px;
}

.payment .member-info__item .account .error-input {
    border-color: #ff4d4f;
}

.payment .member-info__item .account input::placeholder {
    font-size: 14px;
}

.payment .member-info__item .account .validate {
    height: 41px;
}

.payment .member-info__item .account .btn {
    height: 41px;
    margin-top: 0;
    margin-left: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.payment .member-info__item .account .btn:hover, .btn:focus {
    color: #fff;
}

.payment .member-info__item .account .count-btn {
    display: none;
    height: 41px;
    width: 150px;
    padding: 3px 12px;
    flex: auto;
    background-color: #ccc;
    cursor: not-allowed;
    margin-top: 0;
    margin-left: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.payment .member-info__item .account .count-btn:hover {
    background-color: #ccc;
}

.payment .member-info-text {
    flex: 1;
    margin-top: -3px;
    width: 100%;
    font-size: 14px;
    line-height: 1.8em;
}

.payment .member-info-text p {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: 24px;
    white-space: normal;
    width: 100%;
    display: block;
}

.payment .immediate-payment-button {
    width: 180px;
    height: 48px;
    background: linear-gradient(90deg, #81bcf1 0%, #389ff3 100%);
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    user-select: none;
    outline: none;
    border: none;
    margin: 0 20px 0 0;
}

.payment .el-radio-group {
    float: left;
    display: flex;
    flex-direction: row;
    line-height: 1;
    vertical-align: middle;
    font-size: 0;
}

.payment .member-info__item .correct {
    color: green;
    margin-left: 5px;
}

.payment .member-info__item .error {
    color: red;
    margin-left: 5px;
}


.payment .service-radio {
    width: 140px;
    height: 40px;
    margin: 0 12px 8px 0;
    position: relative;
    display: inline-block;
    outline: 0;
    padding: 0;
}

.payment .service-radio.disabled {
    cursor: not-allowed;
}

.payment .service-radio.disabled input,
.service-radio.disabled .el-radio-button__inner {
    pointer-events: none;  /* 防止事件继续冒泡执行 */
    opacity: 0.5;          /* 可选：让禁用状态看起来变浅 */
}

.payment .service-radio.disabled .el-radio-button__inner:hover {
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
}

.payment .sku-radio {
    min-height: 60px;
    width: 200px;
}

.payment .pay-platform-radio {
    padding-left: 0;
    height: 40px;
    width: 150px;
}

.payment .pay-platform-radio .el-radio-button__inner {
    display: flex;
    flex-direction: row;
    font-size: 14px;
}

.payment .el-radio-button__orig-radio {
    opacity: 0;
    outline: 0;
    position: absolute;
    z-index: -1;
}

.payment .el-radio-button__inner {
    border-radius: 6px;
    border: 1px solid #ddd;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

.payment .el-radio-button__inner.sku-info {
    flex-direction: row;
    gap: 5px;
}

.payment .el-radio-button__inner:hover {
    border: 1px solid var(--primary-color);
    background-color: rgba(66, 165, 245, 0.1);
    box-shadow: none;
    cursor: default;
}

.payment .el-radio-button__inner:hover span,
.payment .el-radio-button__inner:hover p {
    color: var(--primary-color);
}

.payment .el-radio-button__orig-radio:checked + .el-radio-button__inner {
    background: #fff;
    border: 1px solid var(--primary-color);
    box-shadow: none;
    cursor: default;
    color: var(--primary-color);
}

.payment .el-radio-button__orig-radio:checked + .el-radio-button__inner span,
.payment .el-radio-button__orig-radio:checked + .el-radio-button__inner p {
    color: #0680e3;
}

.payment .el-radio-button__inner .name {
    color: #333;
    font-weight: normal;
    font-size: 14px;
}

.payment .el-radio-button__inner img {
    margin-right: 10px;
}

.payment .el-radio-button__inner .sku-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 3;
    gap: 3px;
    position: relative;
}

.payment .sku-price .sale-price {
    font-size: 1.2em;
    font-weight: bold;
}

.payment .service-radio {
    position: relative;
}

.payment .service-radio .badge {
    position: absolute;
    top: -10px;
    left: -20px;
    padding: 5px;
    color: #fff !important;
    transform: rotate(-30deg);
    text-align: center;
    border-radius: 10px;
}

.payment .sku-price .origin-price {
    text-decoration: line-through;
    font-size: 0.8em;
    color: #ccc;
}

.payment .el-radio-button__inner .sku-name {
    height: 100%;
    font-size: 0.9em;
    padding: 0 5px;
    flex: 2;
    text-align: center;
    place-content: center;

    position: relative;

    border-left: 1px solid #DDD;
}

.payment .tradingValue {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.payment .dailyPrice {
    font-size: 12px;
    color: #999999;
    text-decoration: line-through;
    width: 100%;
    text-align: center;
}

.payment .el-input-number {
    width: 125px;
    height: 36px;
    border-radius: 6px;
    position: relative;
    display: flex;
    flex-direction: row;
}

.payment .is-disabled {
    color: #bbb;
    background: #f2f2f2 !important;
    cursor: not-allowed;
}

.payment .el-input-number__decrease {
    border-radius: 6px 0 0 6px;
    width: 36px;
    height: 36px;
    border-right: 1px solid #DDD;
    padding: 0 12px;
    background: #fff;
}

.payment .el-input-number__increase {
    border-radius: 0 6px 6px 0;
    width: 36px;
    height: 36px;
    border-right: 1px solid #DDD;
    padding: 0 12px;
    background: #fff;
}

.payment .el-input__inner {
    border-radius: 0;
    left: 1px;
    border-color: #DDD;
    border-left: 0;
    border-right: 0;
    text-align: center;
    font-size: 14px;
}

.payment .el-checkbox {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 230px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    margin-right: 30px;
    color: #999;
}

.payment .el-checkbox__input {
    cursor: pointer;
    outline: 0;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.payment .el-checkbox__input .error-input {
    border-color: #ff4d4f;
}

.payment .el-checkbox__label {
    font-size: 12px;
    color: #999;
    display: inline-block;
    padding-left: 10px;
    line-height: 19px;
}

.payment .el-checkbox__label .terms {
    color: var(--primary-color);
    text-decoration: none;
}

.payment .el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #fff;
}

.payment .el-checkbox__inner {
    display: inline-block;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    background-color: #FFF;
    z-index: 1;
    transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46);
}

.payment .el-checkbox__inner::after {
    box-sizing: content-box;
    content: "";
    border: 1px solid #FFF;
    border-left: 0;
    border-top: 0;
    height: 7px;
    left: 4px;
    position: absolute;
    top: 1px;
    transform: rotate(45deg) scaleY(0);
    width: 3px;
    -webkit-transition: -webkit-transform .15s ease-in .05s;
    transition: -webkit-transform .15s ease-in .05s;
    transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
    transform-origin: center;
}

.payment .el-checkbox .is-checked .el-checkbox__inner::after {
    border: 1px solid #7e7e7f;
    border-left: 0;
    border-top: 0;
}

.payment .el-checkbox__input.is-checked .el-checkbox__inner::after {
    transform: rotate(45deg) scaleY(1);
}

.payment .el-checkbox__original {
    opacity: 0;
    outline: 0;
    position: absolute;
    margin: 0;
    width: 0;
    height: 0;
    z-index: -1;
}

.description {
    position: relative;
    display: flex;
    width: 1200px;
    min-height: 100%;
    justify-content: space-between;
    align-items: stretch;
}

.description .price-intro {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    padding: 28px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0px 0 65px;
    background: #fff;
    border-radius: 16px;
    align-items: stretch;
}

.description .price-intro-left {
    flex: 5;
    width: 626px;
    text-align: left;
    padding-right: 52px;
    box-sizing: border-box;
}

.description .price-intro-left-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 11px;
    font-weight: bold;
}

.description .price-intro-left-text {
    font-size: 14px;
    color: #999;
    line-height: 28px;
}

.description .price-intro-line {
    width: 1px;
    height: 150px;
    background: #ddd;
}

.description .price-intro-right {
    flex: 1;
    padding-left: 60px;
    text-align: left;
}

.description .price-intro-right-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: bold;
}

.description .price-intro-right-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.description .price-intro-right-main img {
    height: 98px;
    border: 1px solid #eee;
}

.description .price-intro-right-main p {
    font-size: 14px;
    color: #333;
    width: 100%;
    margin-top: 12px;
    font-weight: 400;
}

.payment .loaded {
    display: block;
}

/* 模态窗口的背景（遮罩）样式 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明的背景 */
}
.qr-modal.active {
    display: block;
}

.qr-modal .close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 400;
    width: 24px;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    margin:0;
    background-color: transparent;
    box-shadow: unset;
    z-index: 9999;
}

.qr-modal .close-icon:hover {
    color: #aaa;
    background-color: transparent;
}

.qr-modal .modal-content {
    position: absolute;
    margin: 15% 30%;
    padding: 35px;
    width: 100%;
    max-width: 650px;
    text-align: center;
    font-size: 18px;
    border-radius: 12px;
}

/* 标题的样式 */
.qr-modal .modal-header {
    font-size: 16px;
    padding: 10px;
}
/* 标题的样式 */
.qr-modal .modal-header .number {
    font-size: 22px;
    color: #1890ff;
}

.qr-modal .modal-img {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.qr-modal .modal-img img {
    height: 175px;
    width: auto;
    margin: 24px;
}

.qr-modal .modal-img .intro-line {
    width: 1px;
    height: 175px;
    background: #ddd;
    margin: 24px;
}

/* 模态窗口的背景（遮罩）样式 */
.qr-modal .notification {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明的背景 */
}

/* 模态内容的样式 */
.qr-modal .content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto 0;
    padding: 50px 25px 20px;
    width: auto;
    max-width: 480px;
    text-align: center;
    font-size: 18px;
    border-radius: 12px;
}
.qr-modal.fullscreen-modal .content{
    max-width: min(900px, 90vw);
    margin: 120px auto 0;
    max-height: 90vh;
}
.qr-modal.fullscreen-modal .content .modal-body {
    max-height: calc(100vh - 360px);
    overflow-y: auto;
    padding: 0;
}
.qr-modal.fullscreen-modal .content .modal-footer {
    padding-bottom: 0;
}


/* 标题的样式 */
.qr-modal .header {
    display: flex;
    flex-direction: row;
    position: absolute;
    padding: 15px;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    box-shadow: none;
    background: transparent;
}

.qr-modal .error-header {
    justify-content: flex-start;
}

/* 标题的样式 */
.qr-modal .header .title {
    font-size: 18px;
    padding: 0 10px;
    font-weight: 600;
    margin-top: 15px;
}

.qr-modal .close {
    width: 24px;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
    color: #666;
    background-color: transparent;
    box-shadow: unset;
}

.qr-modal .close:hover {
    color: #aaa;
    background-color: transparent;
}

.qr-modal .modal-description {
}

.qr-modal .modal-description .error-info {
    margin: 40px 30px 25px;
    line-height: 28px;
    font-size: 16px;
}

.qr-modal .modal-description .desc {
    font-size: 14px;
    line-height: 24px;
}

.qr-modal .modal-description img {
    height: 63px;
    margin: 24px;
}

.qr-modal .modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.qr-modal .modal-footer .confirm {
    font-size: 15px;
    border-radius: 6px;
    width: 150px;
    margin: 0;
}

.qr-modal .modal-footer button {
    font-size: 14px;
    border-radius: 12px;
    width: 180px;
    height: 40px;
    font-weight: 400;
}

.qr-modal .modal-footer .retry-btn {
    background-color: transparent;
    color: #1890ff;
    margin-right: 30px;
}

.qr-modal .secondary-text {
    font-size: 0.8em;
    color: #777;
}

.qr-modal .markdown-body {
    text-align: left;
    margin: 20px 0;
}
.qr-modal .markdown-body ul, .qr-modal .markdown-body ol {
    list-style-type: revert;
}