body {
    background: var(--page-background-color);
}

.card {
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.14), 0 0 1px 0 rgba(0, 0, 0, 0.14);
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border: 0px solid transparent;
    position: relative;
    width: 100%;
    background: var(--white-color);
    margin: 20px 0;
}

.card-header,
.card-body {
    background: transparent;
    border-radius: 0px;
    border-bottom: 0px;
    padding: 16px 16px 7px 20px;
    position: relative;
}

.btn-lg.plus {
    padding: 20px 0 0 0;
    color: var(--text-color);
    background-color: var(--white-color);
    height: 58px;
    width: 75px;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: -0.011em;
    border: 1px solid #dfdfdf;
    border-bottom: 1px solid var(--border-secondary-color);
    border-radius: 5px;
    cursor: pointer;
    background: url(../../images/plush-icon.png);
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center 12px;
}
button#add-card-button, button#cancel-btn, button#updateCardBtn {
    padding: 0px 35px;
    color: var(--white-color);
    background-color: var(--theme-color);
    line-height: var(--paragraph-font);
    height: 45px;
    font-weight: 700;
    letter-spacing: -0.011em;
    border: 1px solid #dfdfdf;
    border-bottom: 1px solid var(--border-secondary-color);
    border-radius: 5px;
    cursor: pointer;
}
.promo-input:before {
    content: '';
    background: url(../../images/coupon.png);
    width: 20px;
    height: 20px;
    background-size: contain;
    display: inline-block;
}

.promo-input.promo-applied:before {
    content: '';
    background: url(../../images/check-circle-fill.svg);
    width: 20px;
    height: 20px;
    background-size: contain;
    display: inline-block;
}
.promo-input input#promoRemove {
    display: none;
}
.promo-input.promo-applied input#promoRemove {
    display: block;
}
input#promoRemove {
    width: 85px;
    font-weight: bold;
    text-transform: uppercase;
    height: 100%;
    position: absolute;
    top: 4px;
    right: 0;
    border-radius: 2px;
    font-family: var(--font-family-primary);
    color: var(--error-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    letter-spacing: normal;
    cursor: pointer;
}
div#All-subscriptions, div#All-transactions {
    padding:15px 10px;
}
div#All-subscriptions h2, div#All-transactions h2{
    margin-top: 0;
}
button.link {
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: var(--anchor-color);
    line-height: var(--paragraph-font);
    height: 45px;
    font-weight: 400;
    letter-spacing: -0.011em;
    cursor: pointer;
    text-decoration: underline;
}
.promo-input.promo-applied input#promoInput {
    pointer-events: none;
}
.promo-input.promo-applied input#promoSubmit{display: none;}
.subscribed .active-subs hr {
    margin: 25px 0;
}
.btn-cancel {
    padding: 0px 35px;
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: var(--paragraph-font);
    height: 45px;
    font-weight: 700;
    letter-spacing: -0.011em;
    border: 1px solid #dfdfdf;
    border-bottom: 1px solid var(--border-secondary-color);
    border-radius: 5px;
    cursor: pointer;
}
.copyright {
    margin-top: 10px;
    border-top: 1px solid var(--copyright-border-color);
}

.checkout-form .form-group.form-group-default.col-md-8 {
    flex-basis: calc(66.66666667% + 15px);
    max-width: calc(66.66666667% + 15px);
}

.checkout-form .form-group.form-group-default {
    border-radius: 5px;
    padding: 0 15px;
    background-color: var(--page-background-color);
    border: 1px solid #dfdfdf;
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.04), 0 0 1px 0 rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
}
.checkout-form .form-group.form-group-default .icon-container {
    display: flex;
    align-items: center;
}
.payment-information {
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.14), 0 0 1px 0 rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    -webkit-border-radius: 8px;
}

.pay-summary-wrap ul {
    display: flex;
    list-style: none;
    margin: 0px;
    padding: 0 0 20px 0;
    gap: 20px;
}

.pay-summary-wrap ul li {
    background: var(--white-color);
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.14), 0 0 1px 0 rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-flow: column;
    position: relative;
    cursor: pointer;
    flex-grow: 1;
}
.pay-summary-wrap ul li.payment-plan-selected {
    outline: #000000 solid 2px;
}

.payment-price {
    font-size: 16px;
    color: #121212;
    font-weight: 600;
}

h2.plan-heading {
    color: #8b8b8b;
    font-size: 14px;
    font-weight: 500;
}

.payment-text {
    padding: 20px 30px;
    display: none;
}

.promo-input {
    max-width: 100%;
    margin: 20px auto;
    background-color: var(--white-color);
    border-radius: 6px;
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.08), 0 0 1px 0 rgba(0, 0, 0, 0.08);
    padding: var(--form-group-padding);
    overflow: hidden;
    width: 100%;
    cursor: text;
    position: relative;
    padding: 7px 20px;
    display: flex;
    align-items: center;
}

.promo-input input {
    font-family: var(--font-family-primary);
    color: var(--secondary-color);
    width: calc(100% - 90px);
    outline: 0;
    padding: 6px 8px;
    line-height: 16px;
    font-size: 14px;
    font-weight: normal;
    vertical-align: middle;
    border: none;
    height: 40px;
    min-height: 25px;
    padding: 0 0 0 5px;
    margin-top: -4px;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.promo-input input#promoSubmit {
    background: var(--primary-color);
    width: 85px;
    font-weight: bold;
    text-transform: uppercase;
    height: 100%;
    position: absolute;
    top: 4px;
    right: 0;
    border-radius: 2px;
    font-family: var(--font-family-primary);
    color: var(--white-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    letter-spacing: normal;
    cursor: pointer;
}

.pay-summary-table.desktop-only table,
table.payment-table,
table.trans-table {
    text-align: left;
    border-color: var(--page-background-color);
    margin: 0 20px 20px 20px;
    width: calc(100% - 40px);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
}

table.trans-table {
    margin: 25px 0 0 0;
    max-width: 100%;
    width: 845px;
    font-size: var(--small-paragraph-font);
}

.pay-summary-table.desktop-only table td,
.pay-summary-table.desktop-only table thead th,
table.payment-table td,
table.payment-table th {
    vertical-align: top;
    padding: 10px;
    background: var(--white-color);
    color:var(--text-color);
}
table.payment-table td.subStatus {
    color: green;
}
table.payment-table th {
    font-size: 15px;
}
table.payment-table td span.small{
    font-size: 11px;
    color: var(--text-color);
}
table.trans-table td,
table.trans-table th {
    padding: 5px;
}
.payment-table {
    border-collapse: separate; /* Allows border-radius to work */
    border-spacing: 0; /* Removes spacing between borders */
    border-radius: 10px; /* Adjust the radius as needed */
    overflow: hidden; /* Ensures rounded corners are visible */
}

.payment-table th:last-child, .payment-table th:last-child {
    border-top-right-radius: 7px; /* Ensures right corner is rounded */
}

.payment-table th:first-child {
    border-top-left-radius: 7px; /* Ensures left corner is rounded */
}
.payment-table tr:last-child td:first-child {
    border-bottom-left-radius: 7px;
}
.payment-table tr:last-child td:last-child {
    border-bottom-right-radius: 7px;
}
button#removeSelPlanBasket {
    color: var(--theme-color);
    background-color: transparent;
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-font);
    font-weight: 500;
    letter-spacing: normal;
    border: 0;
    cursor: pointer;
}

.supported-cards {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.supported-cards img {
    width: 50px;
    height: auto;
    border: 1px solid #dfdfdf;
    padding: 7px 7px;
    border-radius: 5px;
}

.payment-help-text {
    padding: 0;
}

.checkout-form {
    width: 100%;
    padding: 0 0px;
}

.checkout-form .frame--activated {
    width: 100%;
    height: 40px;
    background-color: var(--page-background-color);
    position: relative;
    padding: 0px 10px;
}
.checkout-form .col-md-6 {
    flex-basis: calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
}
.checkout-form .form-group.form-group-default .icon-container img {
    height: 20px;
}
.checkout-form label {
    font-family: var(--font-family-primary);
    color: var(--text-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    letter-spacing: normal;
    font-weight: normal;
    font-weight: bold;
}
.pay-summary-wrap ul li.payment-plan-selected span.checkmark.round {
    border: 2px solid var(--theme-color);
    position: absolute;
    top: unset;
    left: unset;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-color: var(--white-color);
}

.pay-summary-wrap ul li.payment-plan-selected span.checkmark.round:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 8px;
    height: 15px;
    border: solid var(--theme-color);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

div#promo-resp-msg {
    color: var(--alert-text-color);
    background-color: var(--alert-background);
    border-color: var(--alert-background);
    padding: 10px 45px;
    border-radius: 3px;
    text-shadow: 0 1px 0 rgb(255 255 255 / 20%);
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 1px 2px rgb(0 0 0 / 5%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 1px 2px rgb(0 0 0 / 5%);
    line-height: 1.3rem;
    font-size: 1rem;
    position: relative;
}

div#promo-resp-msg::before {
    content: url(../../images/info-circle-fill.svg);
    position: absolute;
    z-index: 99;
    left: 1rem;
}

.payment-checkoutdotcom-success {
    padding: 30px;
    background-color: var(--white-color);
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.payment-checkoutdotcom-success .payment-checkoutdotcom-success-icon {
    background-image: url(../../images/payment_success.gif);
    height: 200px;
    width: 200px;
    margin: 0 auto;
}

.payment-checkoutdotcom-success h3.title {
    color: var(--theme-color);
    font-size: var(--h2-font);
}

.subscribed .active-subs {
    padding: 20px 20px 60px 20px;
    width: 100%;
}

select#payment-action,
select#payment-action:focus {
    border: 0;
    outline: 0;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.modal-box-wrap {
    background-color: var(--white-color);
    max-width: 900px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999999;
    transform: translate(-50%, -50%);
    padding: 30px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    text-align: left;
    overflow-y: auto;
    max-height: 90vh;
    border-radius: 5px;
}

.modal-backdrop.show,
.modal-backdrop.show {
    display: block;
}
button#pay-now-button {
    padding: 0px 12px;
    color: var(--white-color);
    background-color: var(--theme-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-font);
    min-height: 35px;
    min-width: 35px;
    font-weight: 500;
    letter-spacing: -0.011em;
    border: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--border-secondary-color);
    border-radius: 3px;
    cursor: pointer;
}
div#subLoadingSpinner, .trans-spin {
    background-image: url(../../images/loading.gif);
    height: 154px;
    width: 154px;
    display: block;
    margin: 0 auto;
    z-index: 99999;
    background-repeat: no-repeat;
}

.pay-note {
    display: flex;
    margin: 1.25rem 0;
}

.pay-note:before {
    content: '';
    background: url(../../images/pay_lock_icon.svg) no-repeat center;
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    margin-right: 12px;
    background-size: contain;
}

.card-select-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.existing-card,
.new-card {
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    font-weight: bold;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    padding: 0;
    margin-bottom: auto;
    cursor: pointer;
    transition: all .2s ease-in-out;
    margin-right: 15px;
    display: flex;
    flex-flow: column;
}
.card-num {
    margin: 5px;
    background: #4c4b63;
    padding: 3px 8px;
    border-radius: 5px;
    width: 65px;
}
.card-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.card-num .img {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2px 0 8px 0;
}
.card-num .img img {
    width: 25px;
}
.existing-card p,
.new-card p {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 12px;
    line-height: 18px;
}

.existing-card.selected {
    border-color: var(--anchor-color);
    box-shadow: 2px 2px 4px -2px var(--anchor-color);
}

.card-confirm {
    display: none;
}

button.negative-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    text-indent: -9999px;
    cursor: pointer;
    opacity: 0.4;
}

button.negative-btn:hover {
    opacity: 1;
}

button.negative-btn:before,
button.negative-btn:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 22px;
    width: 2px;
    background-color: #333;
}

button.negative-btn:before {
    transform: rotate(45deg);
}

button.negative-btn:after {
    transform: rotate(-45deg);
}

#cancel-purchase.modal-box-wrap {
    max-width: 600px;
    width: 90%;
}

.input-field select,
.input-field select:focus,
.input-field select:focus-visible {
    width: 100%;
    border: 1px solid var(--border-color);
    height: 44px;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    margin: 15px 0;
    color: var(--text-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    outline: 0;

}
.field--autofilled {
    background-color: var(--page-background-color);
    -webkit-box-shadow: inset 0 0 0 30px var(--page-background-color);
}
.dropdown-menu {
    position: absolute;
    display: none;
    float: left;
    right: 0;
    list-style: none;
    text-shadow: none;
    width: 180px;
    box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
    border: none;
    padding-top: 4px;
    padding-bottom: 8px;
    border-radius: 3px;
    font-size: 13px;
    margin: 0;
    background: #fff;
    min-width: initial;
    z-index: 700 !important;
    margin-top: 10px;
    transform: translate(0px, 34px);
    inset-block-start: 0;
}

.dropdown-menu.show {
    display: block;
}

a.dropdown-item {
    line-height: 20px;
    color: var(--text-color);
    padding: 4px 8px 4px 16px;
    border-radius: 3px;
    display: block;
    clear: both;
    white-space: nowrap;
    text-align: left;
}

.dropdown {
    position: relative;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    opacity: 1;
}

.profile-dropdown:after {
    position: absolute;
    top: -6px;
    right: 9px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    content: "";
}

form.cancel-reasons-form {
    margin-bottom: 15px;
}


.card-body {
    min-height: 80vh;
}

body.user-not-subscribed .subscribed,
body.user-subscribed .unsubscribed {
    display: none !important;
}

body.user-not-subscribed .unsubscribed,
body.user-subscribed .subscribed {
    display: flex !important;
}

div#orderSubLoadingSpinner {
    position: absolute;
    top: calc(50% - 77px);
    left: calc(50% - 77px);
}

.price-details {
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.14), 0 0 1px 0 rgba(0, 0, 0, 0.14);
    padding-top: 0;
}

.price-details .col {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-details .col p {
    font-family: var(--font-family-primary);
    color: var(--text-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    letter-spacing: normal;
    font-weight: normal;
    padding: 0;
    margin: 5px 0;
}

.price-details .totals.col {
    border-top: 1px solid #dfdfdf;
    padding-top: 5px;
    margin-top: 15px;
}

.price-details .totals.col p {
    font-weight: bold;
}

.ordersummary {
    padding: 15px;
    background: var(--white-color);
    box-shadow: 0 1px 2px 0 rgba(33, 33, 33, 0.14), 0 0 1px 0 rgba(0, 0, 0, 0.14);
}
.ordersummary .prod-desc {
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 1rem;
}
.ordersummary .plan-details {
    list-style-type: none;
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 0;
}
.ordersummary .plan-details * {
    font-family: var(--font-family-primary);
    color: var(--text-color);
    font-size: var(--paragraph-font);
    line-height: var(--paragraph-line-height);
    letter-spacing: normal;
    font-weight: normal;
}
.ordersummary .plan-details li {
    font-size: 13px;
    line-height: normal;
    position: relative;
    margin: 18px 0 18px 0;
}
.ordersummary .plan-details li:before {
    content: '';
    background: url(../../images/icon-bullet.svg) 0 0 no-repeat;
    height: 18px;
    width: 18px;
    position: absolute;
    margin-left: -25px;
    top: 5px;
}
.existing-card.expired {
    position: relative;
    border-color: #ff0000;
}
.existing-card.expired::before {
    content: "Expired";
    position: absolute;
    top: -10px;
    left: 15px;
    background-color: #ffffff;
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    padding: 0 6px;
    line-height: 1;
}
@media(max-width:767px) {
    .payment-checkoutdotcom-success .payment-checkoutdotcom-success-icon {
        width: 100px;
        height: 100px;
        background-size: cover;
    }

    table#userSubDetails tbody tr td:empty {
        display: none;
    }

    table#userSubDetails tbody tr td,
    table#transactionDetails tbody tr td {
        display: block;
        width: 100%;
    }

    table#userSubDetails thead th,
    table#transactionDetails thead th {
        display: none;
    }

    .pay-summary-wrap ul {
        flex-wrap: wrap;
        padding: 0 0 10px 0;
    }

    .card-header,
    .card-body {
        padding: 16px 10px 15px 10px;
    }

    .checkout-form {
        padding: 0 0 0 0;
    }

    .payment-help-text {
        padding: 0 20px
    }

    .promo-input input#promoSubmit {
        width: 100px;
    }

    .supported-cards img {
        width: 25px;
        height: 25px;
    }

    .checkout-form .frame--activated {
        height: 32px;
    }

    div#promo-resp-msg {
        margin: 0;
    }

    .payment-text {
        padding: 10px 10px;
    }

    .pay-summary-wrap ul li.payment-plan-selected span.checkmark.round {
        width: 20px;
        height: 20px;
    }

    .pay-summary-wrap ul li.payment-plan-selected span.checkmark.round:after {
        left: 6px;
        top: 2px;
        width: 6px;
        height: 10px;
    }
}