/* Plan choice for a website (Components/Pages/Websites/Upgrade.razor): a centred head with the website and the currency
   switch, the shared plan cards (WebbuilderUI css/plan-card.css) and the highlights, in the same look as the website
   builder's plans page. */

.upg-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}

.upg-title {
    margin-top: 10px;
}

.upg-lead {
    max-width: 560px;
}

.upg-for {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--app-accent-soft);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--app-accent);
    overflow-wrap: anywhere;
}

.upg-for .bx {
    flex: none;
    font-size: 16px;
}

.upg-currency {
    margin-top: 18px;
}

.upg-currency .app-segmented-option {
    min-width: 64px;
}

.upg-currency-note {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--app-text-muted);
}

.upg-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 680px;
    margin: 0 auto 24px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--app-warning-soft);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--app-text);
}

.upg-note .bx {
    flex: none;
    margin-top: 1px;
    font-size: 18px;
    color: var(--app-warning);
}

/* As many cards as fit, each between 240px and 300px wide, centred; fewer plans keep the same card width */
.upg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.upg-col {
    display: flex;
}

.upg-col > .plancard {
    flex: 1 1 auto;
}

.upg-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 36px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.upg-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--app-text-muted);
}

.upg-highlights .bx {
    font-size: 20px;
    color: var(--app-accent);
}

@media (max-width: 575.98px) {
    .upg-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .upg-highlights {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
