/* frontend/styles/upsell.css
 *
 * Upsell modal — uses design-system tokens only (no hardcoded hex).
 * Token mapping:
 *   card bg        → --bg-card         (#112035)
 *   inner box bg   → --bg-elevated      (#132840)
 *   overlay        → --bg-overlay       (rgba(7, 14, 22, 0.85))
 *   accent         → --accent           (#D39E57 gold)
 *   text on accent → --text-inverse     (#0B1929)
 *   primary text   → --text-1
 *   secondary text → --text-2
 *   tertiary text  → --text-3
 *   border         → --border
 *   shadow         → --shadow-xl
 */

.upsell-modal-root {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upsell-modal-root.hidden { display: none; }

.upsell-backdrop {
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
}

.upsell-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 8px;
    max-width: 420px;
    width: 90%;
    padding: 28px;
    box-shadow: var(--shadow-xl);
}

.upsell-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.upsell-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.upsell-tag {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upsell-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-1);
}

.upsell-blurb {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0 0 18px;
}

.upsell-plan-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.upsell-plan-label {
    font-size: 11px;
    color: var(--text-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.upsell-plan-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-2);
}

.upsell-plan-target {
    color: var(--accent);
    font-weight: 600;
}

.upsell-actions {
    display: flex;
    gap: 10px;
}

.upsell-cta-primary {
    flex: 1;
    padding: 10px 14px;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.upsell-cta-secondary {
    padding: 10px 14px;
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.upsell-foot {
    margin-top: 14px;
    text-align: center;
}

.upsell-foot a {
    font-size: 12px;
    color: var(--text-3);
    text-decoration: underline;
    cursor: pointer;
}
