@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.woff2') format('woff2'), url('../fonts/Lato-Regular.woff') format('woff'), url('../fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
body {
    max-width: 640px;
    max-height: 640px;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
}
#main-body {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 16px 0 rgb(0 0 0 / 0.1);
    box-sizing: border-box;
    height: 100%;
    max-height: 640px;
    max-width: 640px;
    overflow: auto;
    padding: 50px;
    width: 100%;
}
.clear {
    clear: both;
}
.close-x {
    background-image: url(../images/stripe2.png);
    background-repeat: no-repeat;
    background-position: -128px -81px;
    background-size: 239px auto;
    cursor: pointer;
    height: 24px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 24px;
    z-index: 10;
}
.plan-container {
    align-items: center;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.plan-container .trial-text {
    display: none;
    color: rgba(253, 62, 56, 1);
    font-family: sans-serif;
    font-size: 12px;
    line-height: 18px;
    max-width: 370px;
    border: 1px solid rgba(253, 62, 56, 1);
    border-radius: 3px;
    padding: 2px 8px;
    width: max-content;
    margin: 4px 0 -8px;
}
.plan-container.trial .trial-text {
    display: flex;
}
.plan-container.trial .trial-text.hidden {
    display: none;
}
.plan-container.trial .plan-desc {
    display: none;
}
.plan-container.trial .plan-price {
    display: none;
}
.plan-badge-container {
    display: inline-block;
    margin-right: 10px;
}
.plan-details-container {
    display: inline-block;
}
.plan-logo {
    display: inline-block;
    height: 44px;
    width: 44px;
    margin-right: 10px;
    margin-top: 4px;
    vertical-align: top;
}
.plan-price {
    display: inline-block;
    color: #333333;
    font-family: Lato;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
    margin: 10px 0;
}
.plan-name {
    color: #333333;
    font-family: Lato;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 30px;
}
.plan-desc {
    opacity: 0.7;
    color: #333333;
    font-family: Lato;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    max-width: 370px;
}
.pay-description-body {
    margin-top: 24px;
    opacity: 0.7;
    color: #333333;
    font-family: Lato;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
}
.pro1 {
    background-position: -119px -4px;
}
.pro2 {
    background-position: -175px -4px;
}
.pro3 {
    background-position: -62px -62px;
}
.pro4 {
    background-position: -62px -4px;
}
.pro100 {
    background-position: -5px -63px;
}
.card-details-container {
    font-size: 0;
    position: relative;
    white-space: nowrap;
}
label {
    display: block;
    color: rgba(51, 51, 51, 0.4);
    font-family: Lato;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 18px;
    height: 18px;
    margin-top: 20px;
    padding: 0 8px;
}
input,
.field {
    border: 0;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 3px;
    font-family: Lato;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
    color: #333;
    padding: 8px;
    width: 100%;
}
input::placeholder {
    opacity: 1;
    color: rgba(51, 51, 51, 0.4);
}
input:focus,
.StripeElement--focus {
    outline: none;
    border-bottom-color: #2ba6de;
}
.StripeElement--invalid {
    border-bottom-color: #d41616;
}
.StripeElement--invalid + .card-nb-icon {
    width: 28px;
    background-position: -220px -114px;
}
#card-nb {
    padding-right: 90px;
}
.full {
    width: 100%;
}
.foot-note {
    color: #333333;
    font-family: Lato;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 18px;
    margin-top: 12px;
    opacity: 0.7;
}
.foot-note-link {
    color: #2ba6de;
}
.foot-note-authorise {
    margin-top: 16px;
}
.form-col {
    box-sizing: border-box;
    display: inline-block;
    margin: 0 14px 0 0;
    width: calc(50% - 14px);
}
.form-col.right {
    margin: 0 0 0 14px;
}
.cvv-icon {
    background-image: url(../images/stripe2.png);
    background-repeat: no-repeat;
    background-size: 270px;
    background-position: -86px -151px;
    height: 23px;
    margin: -30px 0 0;
    position: absolute;
    right: 0;
    width: 32px;
}
.card-nb-icon {
    background-image: url(../images/stripe2.png);
    background-repeat: no-repeat;
    background-size: 321px;
    background-position: -7px -183px;
    height: 24px;
    margin: -30px 0 0;
    position: absolute;
    right: 0;
    width: 85px;
}
.card-nb-icon.stripeAE {
    background-image: url(../images/Amex.svg);
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-position: unset;
    margin: -33px 0 0;
}
.card-nb-icon.stripeJC {
    background-image: url(../images/JCB.svg);
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-position: unset;
    margin: -33px 0 0;
}
.card-nb-icon.stripeUP {
    background-image: url(../images/UnionPay.svg);
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-position: unset;
    margin: -33px 0 0;
}
.card-nb-icon.stripeDD {
    background-image: url(../images/Discover.svg);
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-position: unset;
    margin: -33px 0 0;
}
#card-info-error-msg {
    display: none;
    font-family: 'Lato', sans-serif, Arial;
    line-height: 18px;
    font-size: 14px;
    color: #eb4444;
    width: calc(100% - 2px);
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(253, 62, 56, 0.5);
    background: rgba(253, 62, 56, 0.1);
    padding: 4px 0;
    margin-top: 8px;
}
.btn-container {
    margin-top: 24px;
}
.btn-sub {
    box-sizing: border-box;
    float: right;
    height: 48px;
    min-width: 130px;
    box-shadow: inset 0 0 0 2px rgb(1 1 1 / 5%);
    border-radius: 4px;
    background-color: #3ED8B2;
    background: linear-gradient(180deg, rgba(62, 216, 178, 1) 0%, rgba(29, 176, 123, 1) 100%);
    cursor: pointer;
}
.btn-sub.disabled {
    opacity: 0.3;
    cursor: default;
}
.payment-success .btn-sub,
.payment-fail .btn-sub,
.trial-redeem-success .btn-sub {
    width: 250px;
    margin-left: calc(50% - 125px);
    float: none;
}
/* Hover states for mobile */
@media (hover: hover) {
    .btn-sub:hover:not(.disabled) {
        background: linear-gradient(180deg, rgba(47, 206, 161, 1) 0%, rgba(21, 159, 103, 1) 100%);
    }
}
.btn-sub .btn-text {
    color: #FFFFFF;
    font-family: Lato;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 48px;
    text-align: center;
}
.hidden,
div.hidden {
    display: none;
}
.error-msg {
    color: red;
    margin-top: 50%;
    text-align: center;
}
.overlay {
    background-color: aliceblue;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    border-radius: 24px;
    box-shadow: 0 4px 16px 0 rgb(0 0 0 / 0.1);
}
.waiting-spinner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
}
.waiting-spinner .spinner {
    background-image: url(../images/loading150.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 170px;
    width: 100%;
}
.waiting-text {
    font-family: 'Lato';
    font-size: 24px;
    padding: 20px 20px 0;
    text-align: center;
}
.payment-success,
.payment-fail,
.trial-redeem-success {
    border-radius: inherit;
    box-shadow: 0 4px 16px 0 rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
}
.success-logo {
    background-image: url(../images/success.png);
    width: 138px;
    height: 136px;
    background-position: -36px -35px;
    background-repeat: no-repeat;
    background-size: 200px;
    margin: 0 auto;
}
.fail-logo {
    background-image: url(../images/fail.png);
    width: 138px;
    height: 136px;
    background-position: 2px 1px;
    background-repeat: no-repeat;
    background-size: 133px;
    margin: 0 auto;
}
.success-head,
.fail-head,
.success-head-trial {
    margin-top: 10px;
    font-family: 'Lato';
    text-align: center;
    font-size: 20px;
}
.success-desc,
.fail-desc,
.stripe-error,
.success-desc-trial {
    margin-top: 15px;
    font-family: 'Lato';
    margin-left: 40px;
    margin-right: 40px;
    font-size: 15px;
    text-align: center;
}
.success-desc a,
.success-desc a:visited,
.fail-desc a,
.fail-desc a:visited {
    color: #fd3e38;
}
.env {
    position: fixed;
    left: 52px;
    top: 14px;
    color: orangered;
    font-style: italic;
}
body.mobile {
    max-width: unset;
    max-height: unset;
}
body.mobile #main-body {
    border-radius: 0;
    max-height: unset;
    max-width: unset;
}
body.mobile .pro1 {
    background-position: -65px -2px;
}
body.mobile .pro2 {
    background-position: -96px -2px;
}
body.mobile .pro3 {
    background-position: -33px -34px;
}
body.mobile .pro4 {
    background-position: -33px -2px;
}
body.mobile .pro100 {
    background-position: -5px -34px;
}
body.mobile .card-nb-icon{
    margin: -44px 14px;
}
body.mobile .cvv-icon {
    margin: -39px 9px;
}
body.mobile #card-nb {
    margin-bottom: 8px;
}
body.mobile .plan-container:not(.trial) {
    border: 1px solid #2fcbb5;
    border-radius: 4px;
    padding: 26px 12px;
    background-color: #e9f7f5;
    margin-top: 40px;
}
body.mobile .plan-logo {
    width: 24px;
    height: 24px;
    vertical-align: top;
}
body.mobile .plan-name {
    font-family: Montserrat, sans-serif;
    font-weight: 300;
}
body.mobile input,
body.mobile .field {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 16px 14px;
}
body.mobile .StripeElement--invalid {
    border-color: #d41616;
}
body.mobile .form-col {
    width: 50%;
    margin: 0 !important;
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
}
body.mobile .form-col:not(.right) .field {
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
}
body.mobile .form-col.right .field {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    border-left: 0;
}
body.mobile .btn-sub {
    float: none;
}
body.mobile .pay-description-body {
    padding: 0 4px;
}
body.mobile label {
    color: #676d75;
    padding: 0;
}
body.mobile #lbl-holder {
    margin-top: 8px;
}
body.mobile #card-info-error-msg {
    font-size: 12px;
    border: none;
    background: none;
    text-align: left;
}
@media only screen and (max-width: 640px) {
    #main-body {
        border-radius: 8px;
    }
}
@media only screen and (max-width: 480px) {
    #main-body {
        padding: 24px;
    }
    .close-x {
        float: right;
        position: relative;
        right: -4px;
        top: -4px;
    }
    .plan-name {
        font-size: 16px;
        line-height: 24px;
    }
    .plan-desc {
        font-size: 14px;
        line-height: 21px;
        opacity: 1;
        color: #666;
    }
    .plan-price {
        font-size: 20px;
        font-family: Montserrat Light, sans-serif, Arial;
        font-weight: unset;
    }
}
