﻿.cc-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 34px;
    padding-top: clamp(32px, 3vw, 38px);
    width:100%;
    max-width: 1600px;
    margin: auto;
}

.cc-terms-iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

html:has(.cc-terms-iframe) footer {
    display: none;
}

footer a {
    color: #0000EE;
}

.cc-alternate-text {
    color: var(--ly-header-orange);
}

.cc-member-since-text {
    margin-block: 16px;
}

.cc-card-container {
    position: relative;
    width: 450px;
    height: 238px;
    cursor: pointer;
    border: 2px solid #ADADAD;
    border-radius: 16px;
    font-weight: 400;
    font-size: clamp(32px, 3vw, 38px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 26px;
    padding-bottom: 14px;
    padding-inline-start: clamp(22px, 2.8vw, 32px);
    gap: 30px;
}

.cc-my-cards-button {
    background-color: var(--ly-header-orange) !important;
    margin-bottom: 22px;
}

.cc-card-container.active {
    border-color: var(--sf-gold);
}

.cc-card-container.expired {
    border-color: #FF0000;
}

html[dir="ltr"] .cc-card-container.active,
html[dir="ltr"] .cc-card-container.expired {
    border-top-right-radius: 0;
}

html[dir="rtl"] .cc-card-container.active,
html[dir="rtl"] .cc-card-container.expired {
    border-top-left-radius: 0;
}

.cc-new-card {
    border-color: transparent;
    background: var(--sf-gold);
    color: var(--white);
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-weight: 700;
    font-size: 25px;
    gap: 15px;
}

.cc-card-type {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cc-card-type > img {
    width: 55px;
}

.cc-card-arrow {
    position: absolute;
    bottom: 15px;
    inset-inline-end: 15px;
}

html[dir="rtl"] .cc-card-arrow {
    transform: rotate(180deg);
}

.cc-card-active-badge {
    position: absolute;
    inset-inline-end: -1.5px;
    --badge-height: clamp(32px, 4vw, 45px);
    height: var(--badge-height);
    top: calc(-1 * var(--badge-height));
    font-size: clamp(16px, 1.3vw, 24px);
    font-weight: 400;
    color: var(--white);
    background: var(--sf-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1vw, 12px);
    border: 2px solid var(--sf-gold);
}

.cc-delete-card-btn {
    background-color: #FF0000 !important;
}

.cc-card-active-badge.expired {
    background: #FF0000;
    border-color: #FF0000;
}

.cc-card-actions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 38px;
    justify-content: center;
}

.cc-card-actions-container button {
    margin: 0;
}

.cc-card-transactions-table {
    border-collapse: collapse;
    margin: auto;
    margin-top: 32px;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 25px);
    width: min(95%, 930px);
}

.cc-card-transactions-table th {
    font-weight: 900;
    padding-bottom: 12px;
}

.cc-card-transactions-table td,
.cc-card-transactions-table th {
    padding: clamp(8px, 1vw, 18px);
    text-align: center;
}

.cc-card-transactions-table th:first-child,
.cc-card-transactions-table td:first-child {
    text-align: start;
}

.cc-card-transactions-table tbody tr:nth-child(2n+1) {
    background: #F2F2F2;
}

.cc-checkout-title {
    margin-bottom: 22px;
    font-size: clamp(20px, 2vw, 35px) !important;
}

.cc-checkout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cc-checkout-info-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-checkout-features-container {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    align-items: center;
}

.cc-checkout-features-container,
.cc-checkout-info-container {
    font-size: clamp(17px, 1.5vw, 20px);
}

.cc-checkout-features-inner-container {
    margin-top: 12px;
}

.cc-checkout-features-inner-container > ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: initial;
}

.cc-checkout-notes {
    font-weight: 700;
    color: #FF0000;
}

.cc-checkout-hr-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    width: min(1200px, 90%);
}

.cc-checkout-hr-line::before,
.cc-checkout-hr-line::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #000;
}

.cc-checkout-hr-line::before {
    margin-right: 10px;
}

.cc-checkout-hr-line::after {
    margin-left: 10px;
}

.cc-checkout-notes-container {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-inline: 26px;
}

.cc-checkout-notes-disclaimer {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 14px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.cc-checkout-terms {
    margin: 10px 20px 30px 20px;
    display: flex;
    align-items: center;
}

.cc-checkout-terms > * {
    cursor: pointer;
}

.cc-terms-link,
.cc-refund-link {
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
}

.cc-terms-link:hover { 
    text-decoration: underline;
}

#checkout-btn {
    min-width: 130px;
}

a[disabled] {
    opacity: .7;
    pointer-events: none;
}

.cc-membership-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 48px;
}

.cc-membership-info-inner-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-membership-text {
    color: var(--sf-gold);
    font-size: clamp(18px, 1.5vw, 25px) !important;
    text-align: center;
    max-width: min(600px, 90%);
}

.cc-next-billing-text {
    margin-top: 18px;
}

.cc-membership-text-inner {
    color: var(--black);
    font-size: clamp(18px, 1.5vw, 25px) !important;
    margin: 0 !important;
}

@media screen and (max-width: 600px) {
    .cc-card-container {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .cc-card-container {
        height: 156px;
        font-size: 28px;
        padding-inline-start: 14px;
        gap: 8px;
        padding-top: 16px;
        padding-bottom: 4px;
    }
    .cc-card-type > img {
        width: 36px;
    }
    .cc-card-arrow {
        width: 16px;
    }
    .cc-new-card > svg {
        width: 26px;
    }
}


@media screen and (max-width: 380px) {
    .cc-card-container {
        font-size: 24px;
        padding-top: 12px;
    }
}
