/* ============================================================================
   HSA / HCSA coverage lookup (Pages/Resources/Tools/HsaCoverageLookup.cshtml).
   Ported from "HSA HCSA Coverage Lookup.dc.html". Page frame only: the widget's own rules ship with the island
   (Client/hsa-lookup.css -> compiled/assets/hsa-lookup.css). Shared tool-page pieces live in site.css.
   ============================================================================ */

/* "Hero Backdrop" tone Blue, no bottom glow. */
.hsa-glow {
    background:
        radial-gradient(62% 78% at 50% 6%, rgba(39, 165, 221, .30) 0%, rgba(39, 165, 221, .14) 42%, rgba(39, 165, 221, 0) 74%),
        linear-gradient(180deg, rgba(39, 165, 221, .10) 0%, rgba(39, 165, 221, 0) 68%);
}

/* The card frame around the island. Razor draws the frame and the footer (legend + source); React fills the top. */
.hsa-card {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: 0 18px 40px rgba(24, 34, 51, .07);
    overflow: hidden;
}
.hsa-card .island-fallback { border: 0; border-radius: 0; }
.hsa-card__foot {
    padding: 18px 26px;
    background: var(--mist);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 22px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}
.hsa-key { margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hsa-key div { display: flex; gap: 6px; }
.hsa-key dt { font-weight: 600; color: var(--ink); }
.hsa-key dt::after { content: " -"; }
.hsa-key dd { margin: 0; }
.hsa-source { margin: 0; color: var(--steel); }
.hsa-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hsa-source a:hover { color: var(--cta); }

/* Amber disclaimer. */
.hsa-note {
    margin-top: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid rgba(250, 175, 66, .34);
    border-radius: var(--r-card-sm);
    background: rgba(250, 175, 66, .09);
    padding: 20px 24px;
}
.hsa-note__icon { margin-top: 3px; font-size: 16px; color: #a06a12; --duo-secondary: var(--gold); --duo-opacity: .45; display: flex; }
.hsa-note p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #7a5410; text-wrap: pretty; }

@media (max-width: 759px) {
    .hsa-card__foot { padding: 16px; }
    .hsa-note { padding: 16px; }
}
