/* ==========================================================================
   W3 SMS — package cards

   One card design, used by the home page, /masking, /non-masking, /voice,
   /pricing and the service pages. The shell (blue header, big price, feature
   rows, full-width button) is the home page's, already styled under
   .pricing-plan-section in redesign.css. What this file adds is the content
   the SMS pages used to carry and the home page's card had nowhere to put:
   the tier badge, the "Most Popular" ribbon, the rate / MNP / validity rows,
   and features that are switched off.

   Loaded after redesign.css. Nothing here restyles the card, so the restore
   point in storage/backups/ still applies to style.css and redesign.css.
   ========================================================================== */

.pricing-plan-section .plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 1.5rem);
    overflow: visible;
}

/* The button sits at the foot of every card, so a short card and a long one
   still line up along the bottom. */
.pricing-plan-section .plan-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.pricing-plan-section .plan-card .subscribe-plan {
    margin-top: auto !important;
}

/* --------------------------------------------------------------------------
   Header: tier label and the popular ribbon
   -------------------------------------------------------------------------- */

.pricing-plan-section .plan-tier {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Where several channels are shown side by side, the channel is what tells
   the three "Business" packages apart, so it leads. */
.pricing-plan-section .plan-tier--channel {
    background: rgba(0, 0, 0, .22);
    letter-spacing: .03em;
}

.pricing-plan-section .plan-tier + .plan-tier {
    margin-left: 6px;
}

.plan-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    box-shadow: 0 6px 16px rgba(255, 152, 0, .35);
    color: #241a00;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-popular i {
    font-size: .68rem;
}

.pricing-plan-section .plan-card--popular {
    border: 2px solid rgba(255, 152, 0, .55) !important;
}

/* --------------------------------------------------------------------------
   The price

   It was an <h2>, which put eight prices into the page's heading outline
   ahead of the sections they belong to. It is a <div> now and carries the
   sizes the <h2> rules in redesign.css gave it, so nothing moved on screen.
   -------------------------------------------------------------------------- */

.pricing-plan-section .card .card-body .plan-price {
    margin: 8px 0 4px;
    color: var(--w3-text, #1b2434);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.pricing-plan-section .card .card-body .plan-price small {
    font-size: .9rem;
    font-weight: 500;
    color: var(--w3-text-muted, #6b7280);
}

/* --------------------------------------------------------------------------
   "Call for Rate" packages

   These have no price and no message count. The card used to print ৳0.00.
   -------------------------------------------------------------------------- */

.pricing-plan-section .plan-call {
    font-size: 1.6rem;
    line-height: 1.3;
}

/* Packages our team sets up rather than the checkout - voice, today. */
.plan-offline {
    display: block;
    margin: -4px 0 8px;
    font-size: .82rem;
    line-height: 1.45;
    text-align: center;
    opacity: .7;
}

.plan-offline i {
    margin-right: 4px;
}

/* --------------------------------------------------------------------------
   Spec rows — rate, recharge, pulse, MNP, validity
   -------------------------------------------------------------------------- */

.pricing-plan-section .plan-specs {
    list-style: none;
    margin: 6px 0 4px;
    padding: 14px 0 4px;
    border-top: 1px dashed rgba(0, 0, 0, .12);
}

.pricing-plan-section .plan-specs li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 0;
    font-size: .9rem;
}

.pricing-plan-section .plan-specs .lbl {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    opacity: .72;
}

.pricing-plan-section .plan-specs .lbl i {
    width: 14px;
    font-size: .82rem;
    text-align: center;
}

.pricing-plan-section .plan-specs .val {
    font-weight: 600;
    text-align: right;
}

/* --------------------------------------------------------------------------
   Feature rows

   A feature that is not in the package is dimmed rather than crossed out in
   red: it is not an error, it is simply on a larger package.
   -------------------------------------------------------------------------- */

.pricing-plan-section .plan-features {
    list-style: none;
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-top: 1px dashed rgba(0, 0, 0, .12);
}

.pricing-plan-section .plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0;
    font-size: .92rem;
    line-height: 1.45;
}

.pricing-plan-section .plan-features li.is-on i {
    color: #16a34a;
}

.pricing-plan-section .plan-features li.is-off {
    opacity: .45;
}

.pricing-plan-section .plan-features li.is-off i {
    color: #9aa3af;
}

/* --------------------------------------------------------------------------
   No packages on sale in this channel
   -------------------------------------------------------------------------- */

.plan-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 44px 30px;
    border: 1px dashed rgba(0, 0, 0, .16);
    border-radius: 18px;
    text-align: center;
}

.plan-empty__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 110, 253, .10);
    color: #0d6efd;
    font-size: 1.5rem;
}

.plan-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.plan-empty__actions .subscribe-plan {
    display: inline-block !important;
    width: auto;
    padding-inline: 24px;
}

.subscribe-plan--ghost {
    background: transparent !important;
    border: 1px solid currentColor !important;
}

/* --------------------------------------------------------------------------
   The pricing and SMS pages borrow the home card, but keep their own heading
   -------------------------------------------------------------------------- */

.sms-pricing.pricing-plan-section .sms-pricing__head {
    margin-bottom: 34px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .pricing-plan-section .plan-specs li {
        flex-direction: column;
        gap: 2px;
    }

    .pricing-plan-section .plan-specs .val {
        text-align: left;
    }
}
