/*
 * Term selector and billing panel — shared by every shop page that sells on a
 * commitment (game servers, web hosting).
 *
 * Extracted from games.css rather than copied: the two pages must show the same
 * saving for the same term, and two copies of these numbers drift the moment one
 * page is restyled.
 */

/* The saving is the reason the longer terms exist, so it stays readable on an
   option that has not been selected rather than appearing only once you click. */
.hc-option__note {
    display: block;
    width: 100%;
    margin-top: 0.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a9c53;
    line-height: 1;
}

.hc-option--active .hc-option__note {
    color: inherit;
}

.js-term-card {
    flex-direction: column;
    gap: 0;
    min-width: 7.6rem;
}

/* The headline price is per month; this says what actually leaves the account, which
   on a twelve-month term is a very different number. It sits in its own panel rather
   than as grey small print, because a customer who misses it is surprised at checkout. */
.hc-billing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin: 0 0 1.6rem;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    text-align: center;
}

.hc-billing__charge {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 1.65rem;
    line-height: 1.45;
    color: #d6dfe8;
}

.hc-billing__charge strong {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
}

.hc-billing__vat {
    font-size: 1.35rem;
    color: #8b9aa7;
}

.hc-billing__saved {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(26, 156, 83, 0.14);
    border: 1px solid rgba(26, 156, 83, 0.38);
    color: #4ddb92;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}
