.bundle-card {
    position: relative;
    width: 100%;
    max-width: 591px;
    border: 7px solid #2e3741;
    background: #19212b;
}

/* Badge - overlapping top-left */
.bundle-badge {
    background-color: #2e3741;
    border-bottom-right-radius: 5px;
    height: 34px;
    min-width: 145px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    width: auto;
    display: inline-flex;
    position: absolute;
    top: 0px;
}

.bundle-card.selected {
    background-color: #19212b;
    border: 7px solid #1d54a2;
}

.bundle-card.selected .bundle-badge {
    background-color: #1d54a2;
}

/* Main card */
.bundle-card::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 5px;
    right: 5px;
    bottom: 6px;
    background-color: #19212b;
    border: 7px solid #2e3741;
    border-radius: 5px;
    z-index: -1;
}

.bundle-card.selected::after {
    background-color: #19212b;
    border: 7px solid #1d54a2;
}

.card-content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 10px;
    gap: 16px;
}

/* Left Section */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 40px;
}

.bundle-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
}

.bundle-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.channels-text {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    margin: 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 300;
}

.monthly-price {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
}

.trial-note {
    font-size: 12px;
    font-weight: 100;
    color: #fff;
}

/* Right Section */
.right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 155px;
}

.trial-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    margin-bottom: 10px;
}

.trial-label {
    font-size: 14px;
    font-weight: 100;
    color: #fff;
    line-height: normal;
}

.trial-price {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: normal;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.select-btn {
    background-color: #1d54a2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    min-width: 127px;
    cursor: pointer;
    font-family:
        "Noto Sans",
        -apple-system,
        Roboto,
        Helvetica,
        sans-serif;
    line-height: normal;
    transition: opacity 0.2s ease;
    letter-spacing: 1px;
}

.select-btn:hover {
    opacity: 1;
    background-color: #4991f8;
}

.bundle-card.selected .select-btn {
    background-color: #2e3741;
}
.bundle-card.selected .select-btn:hover {
    opacity: 1;
    background-color: #4991f8;
}
.details-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    font-family:
        "Noto Sans",
        -apple-system,
        Roboto,
        Helvetica,
        sans-serif;
    padding: 0px 0;
    transition: text-decoration 0.2s ease;
    margin-top: 10px;
}

.details-btn:hover {
    color: #4991f8;
}

.details-btn:hover {
    text-decoration: underline;
}

.bundleCardGrid {
    max-height: calc(100vh - 500px);
    overflow: auto;
    margin-bottom: 20px;
}

.bundle-empty-state {
    min-height: 180px;
    padding: 24px 20px;
}

.bundle-empty-state .no-packages svg {
    width: 36px;
    height: 36px;
}

.bundle-empty-state .notextone {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.bundle-empty-state .nopragraphtext {
    font-size: 13px;
}

.dCard {
    display: flex;
    width: 100%;
    align-items: center;
}

.dHeader {
    width: 65%;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.dAmount {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.pTitle {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

.pLabel {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
}

.pAmount {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    color: #fff;
    text-align: right;
    display: flex;
    line-height: 1.5;
}

.pMonth {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
    text-align: right;
    display: flex;
}

hr {
    border-color: #363f48 !important;
}

.packagesHeader {
    font-weight: 600;
}

.pFinalCard {
}

.pTotalTitle {
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.pTotalAmount {
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    font-size: 18px;
    text-align: right;
}

.pSummaryText {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
    text-align: right;
    display: flex;
}
.backToPrimary {
    position: absolute;
    left: 0px;
    top: 0px;
    background: #1d54a2;
    width: 111px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.backToPrimary a {
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.backToPrimary a:hover {
    color: #fff;
}
.backToPrimary a svg {
    margin-right: 10px;
}
/* Billing frequency toggle (choose-package page only) */
.billing-frequency-toggle {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid #1d54a2;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
    flex-shrink: 0;
    opacity: 1;
    width: calc(100% - 1rem);
}

.billing-frequency-option {
    flex: 1;
    min-width: 0;
    padding: 5px 10px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    height: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.billing-frequency-option:focus {
    outline: none;
}

.billing-frequency-option:focus-visible {
    outline: 1px solid #fff;
    outline-offset: -1px;
}

.billing-frequency-toggle[data-active="yearly"]
    .billing-frequency-option[data-frequency="YEAR"],
.billing-frequency-toggle[data-active="monthly"]
    .billing-frequency-option[data-frequency="MONTH"] {
    background: #1d54a2;
}

.billing-frequency-toggle-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 16px;
}

.formCard p.billing-frequency-savings-text {
    width: calc(100% - 1rem);
    margin-top: 10px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #7dd3a8;
    text-align: left;
}

.billing-frequency-savings-text .savings-percent {
    font-weight: 700;
    color: #3ecf8e;
}
@media (max-width: 991px) {
}
/* Responsive Design */
@media (max-width: 768px) {
    .backToPrimary {
    }
    .bundle-card {
        max-width: 100%;
    }

    .card-content {
        flex-direction: column;
        gap: 12px;
        padding: 16px 12px;
    }

    .right-section {
        min-width: auto;
        width: 100%;
        border-top: 1px solid #2e3741;
        padding-top: 12px;
    }

    .bundle-title {
        font-size: 18px;
    }

    .bundleCardGrid {
        max-height: 100%;
    }
    .billing-frequency-toggle {
        min-width: 250px;
        max-width: 100%;
        width: auto;
        border: 1px solid #1d54a2;
    }
    .billing-frequency-option {
        padding: 10px 10px;
        font-size: 13px;
        line-height: normal;
    }

    .billing-frequency-savings-text {
        width: 100%;
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.45;
    }

    .bundle-empty-state .notextone {
        font-size: 15px;
    }

    .bundle-empty-state .nopragraphtext {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .bundle-badge {
        font-size: 14px;
        min-width: 120px;
    }
    .left-section {
        padding-top: 30px;
    }
    .bundle-title {
        font-size: 16px;
    }

    .card-content {
        padding: 12px 10px;
    }
}
