/* Upgrade (Pages/Upgrade.razor): the two modes side by side. The rest of the page is the Setting
   pages' gauth-* layout from GoogleAuthenticator.css. Prefixed upg-, since index.html loads every
   sheet globally. */

.upg-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    gap: 12px;
}

@media (max-width: 760px) {
    .upg-modes {
        grid-template-columns: minmax(0, 350px);
    }
}

.upg-mode {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
}

.upg-mode-next {
    border-color: #e0a800;
    box-shadow: 0 0 0 1px #e0a800 inset;
}

.upg-mode-head {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upg-mode-tag {
    font-size: 11px;
    font-weight: bold;
    padding: 1px 8px;
    border-radius: 99px;
    background: #f3f4f6;
    color: #6b7280;
}

/* /main/upgrade (Main.razor): Subscription's .sub-container-main, with a heading in place of the
   company pages' top bar. */
.upg-container-main {
    padding: 0 12px 12px;
}

.upg-main-head {
    margin: 12px 0;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

/* The plan cards and the Billing details step take their colours from variables Subscription.css
   sets on .sub-stage, which is not on this page. Keep these in step with it. */
.upg-panel {
    --sub-gold: #f5c542;
    --sub-gold-2: #d99a1e;
    --sub-gold-soft: rgba(245, 197, 66, 0.14);
    --sub-gold-text: #a87400;
    --sub-text: #1e2433;
    --sub-muted: #6b7385;
}

/* Plan ended: the Billing + Other plans, in Subscription's .sub-grid / .sub-card. .gauth-column sizes
   its items to their content, so the grid is stretched to the column's full width here. */
.upg-plans {
    justify-self: stretch;
    margin-top: 10px;
}

.upg-mode ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.6;
    color: #374151;
}
