.modal-shadow {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

.modal-wrapper {
    z-index: 99999;
    background: #ffffff;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 95%;
    max-width: 450px;
    --modal-border-radius: 8px;
    border-radius: var(--modal-border-radius);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --modal-padding: 15px;
    display: none;
    transition: transform 1s;
}

.modal-top {
    padding: 0 var(--modal-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: 55px;
}

.close-modal-btn {
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.close-modal-btn i {
    font-size: 12px;
}

.modal-title {
    font-weight: bold;
    font-size: 15px;
}


.modal-content-wrapper {
    padding: var(--modal-padding);
}

.modal-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--modal-padding);
}

.modal-btn {
    cursor: pointer;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 15px;
    display: block;
    border-radius: 5px;
    color: #000;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    outline: none;
    border: none;
}

.modal-btn:hover {
    opacity: 0.8;
    color: #000;
}

.modal-btn-primary {
    background: var(--btn-background-color) !important;
    color: var(--btn-text-color) !important;
}


.loading-modal {
    padding: 25px;
    width: fit-content;
    height: fit-content;
}

.loading-modal .loader {
    width: 40px;
    height: 40px;
}


.plan-modal {
    /*max-width: 500px;*/
    width: 100%;
}


.plan-modal-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.plan-modal-item {
    width: 33.3%;
    min-height: 200px;
    padding: 0 5px;
    padding-top: 25px;
    padding-bottom: 10px;
    /*border: 4px solid #F2F2F2;*/
    border: 2px solid #F2F2F2;
    /*box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;*/
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    position: relative;
    justify-content: space-between;
}


.plan-item-head {
    display: flex;
    flex-direction: column;
    /*background: #dddddd;*/
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid #F2F2F2;
    justify-content: center;
    align-items: center;
}


.plan-item-active {
    border: 4px solid rgb(35, 182, 198);
    box-shadow: rgb(35, 182, 198) 0px 2px 8px 0px;
    /*border: 4px solid #000;*/
    /*box-shadow: orange 0px 2px 8px 0px;*/
    /*box-shadow: rgb(35, 182, 198) 0px 5px 15px;*/
}

.plan-modal-item-disabled {
    opacity: 0.4;
}

.plan-modal-item-disabled .plan-btn {
    cursor: not-allowed;
}

.plan-modal-item:hover {
    /*border: 4px solid rgb(35, 182, 198);*/
    /*box-shadow: rgb(35, 182, 198) 0px 2px 8px 0px;*/
}

.plan-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-price {
    color: orangered;
    font-weight: bold;
    font-size: 20px;
}

.price-symbol {
    font-size: 14px;
}

.plan-intro-wrapper {
    margin: 10px 0;
    /*margin-top: 10px;*/
    /*margin-bottom: 20px;*/
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    /*align-items: center;*/
    flex: 1;
}


.plan-intro-wrapper a {
    display: block;
    font-size: 12px;
    margin: 0 auto;
    /*text-decoration: none;*/
    color: #000000;
    opacity: 0.5;
    margin-top: 5px;
}

.plan-intro {
    display: flex;
    /*align-items: center;*/
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.plan-intro:not(:last-child) {
    margin-bottom: 5px;
}

.plan-intro i {
    color: limegreen;
    /*color: #000;*/
    font-size: 10px;
    margin-right: 4px;
}

.plan-item-tag {
    position: absolute;
    right: -6px;
    top: -10px;
    /*background: orangered;*/
    /*background: orangered;*/
    background: linear-gradient(to right, #ff4500, #f5909b);
    color: #ffffff;
    border-radius: 5px 5px 5px 0;
    padding: 2px 8px;
    font-size: 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    z-index: 999;
}

.plan-contact-wrapper {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.plan-btn-wrapper {
    width: 100%;
}

.plan-btn {
    border: none;
    outline: none;
    /*background: var(--btn-background-color);*/
    background: #3896d9;
    /*background: #000;*/
    color: var(--btn-text-color);
    padding: 8px 0;
    border-radius: 5px;
    width: 100%;
    font-size: 12px;
    /*margin-top: 20px;*/
    position: relative;
    /*text-align: left;*/
    /*padding-left: 10px;*/
}

.plan-btn i {
    /*font-size: 10px;*/
    /*position: absolute;*/
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    /*right: 10px;*/
    font-size: 12px;
}

.plan-btn:focus {
    outline: none;
    border: none;
}

.plan-btn:hover {
    opacity: 0.9;
}

.plan-btn:not(:last-child) {
    margin-bottom: 5px;
}

.plan-btn-use-code {
    background: #fff;
    color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

.plan-code-input-wrapper {
    display: none;
    margin-top: 10px;
}

.plan-code-input-wrapper label {
    font-weight: bold;
    margin-bottom: 3px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* 使用会员激活码的会员弹窗样式 */
.plan-modal-use-code .plan-modal-content .plan-modal-item {
    min-height: 150px;
    justify-content: center;
}


.plan-modal-use-code .plan-modal-content .plan-modal-item .plan-btn {
    display: none;
}

.plan-modal-use-code .plan-code-input-wrapper {
    display: block;
}

.plan-code-input {
    outline: none;
    text-align: center;
    height: 45px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    display: block;
    border-radius: 8px;
}

.plan-code-input:focus {
    border: 1px solid dodgerblue !important;
}

.plan-code-btn:not(:first-child) {
    margin-top: 10px;
}

.plan-code-btn {
    display: block;
    width: 100%;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.9);
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    height: 45px;
    line-height: 45px;
    outline: none;
    color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.plan-code-btn:focus {
    outline: none;
    border: none;
}

.plan-code-btn:hover {
    opacity: 0.8;
    color: rgba(0, 0, 0, 0.9);
}


.use-code-btn {
    background: var(--btn-background-color);
    color: var(--btn-text-color);
    border: none;
    width: 100%;
    max-width: 100%;
}

.use-code-btn:hover {
    background: var(--btn-background-color);
    color: var(--btn-text-color)
}

.use-code-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.use-code-btn-disabled:hover {
    opacity: 0.6;
}


/*.plan-upgrade-btn {*/
/*  background: linear-gradient(to right, #8A2BE2, #FF00FF);*/
/*  border: none;*/
/*  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);*/
/*  transition: box-shadow 0.3s ease-in-out;*/
/*}*/

/*.plan-upgrade-btn:hover {*/
/*  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);*/
/*}*/

/*.plan-upgrade-btn:active {*/
/*  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);*/
/*}*/


.plan-upgrade-btn {
    /*background: linear-gradient(to right, #8a2be2, #FF00FF);*/
    background: linear-gradient(to right, #a565ec, #2143e2);
    /*background: linear-gradient(to right, #8a2be2, #c610c6);*/
    /*font-size: 16px;*/
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.plan-upgrade-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    animation: shine 2s infinite linear;
    transform: rotate(45deg);
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 1;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 1;
    }
}


.plan-compare-price {
    text-decoration: line-through;
    font-size: 13px;
    color: #999;
}


.plan-modal-countdown-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.plan-modal-countdown {
    width: fit-content;
    padding: 8px 40px;
    /*padding: 8px 20px;*/
    text-align: center;
    display: flex;
    /*font-size: 15px;*/
    font-weight: bold;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--btn-background-color);
    /*background: #ffdec1;*/
    background: #ffce8d;
    /*background: #d8b2ff;*/
    /*background: #f8b783;*/
    /*color: var(--btn-text-color);*/
    margin: 8px 0;
    transition: transform 0.2s ease-in-out;
    position: relative;
}



.gift-countdown-wrapper {
    /*width: 45px;*/
    /*height: 45px;*/
    /*background: #F2F2F2;*/
    position: fixed;
    right: -100px;
    bottom: 90px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000!important;
}

.gift-countdown-wrapper img {
    width: 40px;
}

.gift-countdown {
    background: #ffce8d;
    display: flex;
    /*position: absolute;*/
    /*bottom: -10px;*/
    padding: 3px 8px;
    border-radius: 10px;
    transform: scale(0.8);
    font-weight: bold;
}


.plan-modal-top {
    padding-left: 0;
    background: #e8e8e8;
    border-radius: var(--modal-border-radius) var(--modal-border-radius) 0 0;
    border-bottom: none;
}


.plan-tab-wrapper {
    display: flex;
    height: 100%;

}

.plan-tab-item {
    border-radius: var(--modal-border-radius) var(--modal-border-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 20px;
    /*font-weight: bold;*/
    font-size: 15px;
}

.plan-tab-item-active {
    background: #fff;
    font-weight: bold;
}


.plan-tab-item img {
    height: 18px;
    margin-right: 5px;
}


.plan-black-diamond-wrapper {
    padding: 5px;
}

.plan-black-diamond-card {
    margin: 10px 0;
    height: 210px;
    width: 100%;
    background: rgb(22, 23,29);
    border-radius: var(--modal-border-radius);
    padding: 20px;
    --black-diamond-text-color: rgb(245, 198, 133);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*align-content: space-between;*/
    position: relative;
    overflow: hidden;
}


.plan-black-diamond-card:before {
    content: "";
    position: absolute;
    /*top: 0;*/
    right: 60px;
    width: 120px;
    height: 200%;
    /*background: rgba(255, 255, 255, 0.05);*/
    background: linear-gradient(to right, rgba(255, 255, 255, 0.07), transparent);
    /*animation: shine 2s infinite linear;*/
    /*transform: rotate(-45deg);*/
    top: 50%;
    transform: translateY(-50%) rotate(-25deg);
}


.black-diamond-card-top-wrapper {
    display: flex;
    align-items: center;
    --top-height: 50px;
    /*height: var(--top-height);*/
}


.black-diamond-card-top-icon {
    width: var(--top-height);
    height: var(--top-height);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


.black-diamond-card-info-wrapper {
    margin-left: 10px;
    height: var(--top-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: space-between;*/
    /*align-content: space-between;*/
    color: var(--black-diamond-text-color)!important;
}


.black-diamond-card-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

.black-diamond-card-btn-wrapper div {
    color: var(--black-diamond-text-color);
    font-weight: bold;
}

.black-diamond-card-btn {
    border: none;
    outline: none;
    background: var(--black-diamond-text-color);
    color: rgb(22, 23,29);
    padding: 8px 30px;
    border-radius: 20px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.black-diamond-card-btn:focus {
    border: none;
    outline: none;
}

.black-diamond-card-btn:active {
    border: none;
    outline: none;
}


.black-diamond-card-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.6), transparent);
    opacity: 0;
    animation: shine 2s infinite linear;
    transform: rotate(45deg);
}


.black-diamond-intro-wrapper {
    margin-top: 25px;
    margin-bottom: 10px;
    --intro-item-height: 60px;
    padding: 0 10px;
}

.black-diamond-intro-item {
    display: flex;
    align-items: center;
    /*height: var(--intro-item-height);*/

}

.black-diamond-intro-item:not(:last-child) {
    margin-bottom: 20px;
}


.black-diamond-intro-icon {
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background: #F2F2F2;
}

.black-diamond-intro-icon i {
    font-size: 16px;
    font-weight: bold;
}


.black-diamond-intro {
    flex: 1;
    margin-left: 15px;

}


.black-diamond-intro-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}


.black-diamond-intro-desc {
    font-size: 13px;
    opacity: 0.8;
}