/* /Components/Pages/Home.razor.rz.scp.css */
/* White card sitting on the light-gray main area — figma "Splash within
   page" shows a subtle 1px border alongside the soft shadow. Sized by
   the parent .cc-main flex column with box-sizing:border-box so the
   padding is inside the card, not on top of it (the latter would
   force .cc-main to scroll). justify-content centers the column in the
   leftover height — safe here because free space only exists while the
   content fits, so nothing is ever pushed out of reach. */
.cc-splash[b-kcw7m2phot] {
    background: var(--colorFill);
    border: 1px solid var(--colorBorder);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    padding: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash-status[b-kcw7m2phot] {
    color: var(--colorTextDescription);
}

/* Vendor Logo Frame. The per-sibling spacing below the brand block differs between
   the two variants (16px under a logo, 32px under the fallback lockup), which a
   container `gap` cannot express — hence explicit margins here. */
.splash-logo-frame[b-kcw7m2phot] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    max-width: 100%;
    padding: 16px;
    margin: 0 0 16px;
    background: var(--colorFill);
    border-radius: 6px;
}

/* Height-driven + object-fit so an SVG or a raster logo of any aspect ratio fills the
   frame's content box without stretching; the cap keeps a wide wordmark from crowding. */
.splash-logo-img[b-kcw7m2phot] {
    height: 100%;
    max-width: min(240px, 100%);
    object-fit: contain;
}

/* Everything about the lockup itself is shared (.cc-brand-lockup, cc-chrome.css);
   only the 32px this variant puts under it is the splash's own. */
.splash-brand-row[b-kcw7m2phot] {
    margin: 0 0 32px;
}

.splash-title[b-kcw7m2phot] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 32px;
}

.splash-heading[b-kcw7m2phot] {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--colorText);
    margin: 0;
    text-align: center;
}

.splash-sub[b-kcw7m2phot] {
    color: var(--colorTextDescription);
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    text-align: center;
    max-width: 640px;
}

/* Card-count-aware grid per the Figma splash designs. 1-6 tiles
   get specific layouts; 7+ falls through to auto-fill so we don't break
   when a vendor's MFE catalog grows beyond the design's vocabulary. */
.splash-cards[b-kcw7m2phot] {
    display: grid;
    gap: 1.25rem;
    width: 100%;
    max-width: 1080px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.splash-cards[data-count="1"][b-kcw7m2phot] {
    grid-template-columns: minmax(280px, 1fr);
    max-width: 480px;
}

.splash-cards[data-count="2"][b-kcw7m2phot] {
    grid-template-columns: repeat(2, 1fr);
}

.splash-cards[data-count="3"][b-kcw7m2phot] {
    grid-template-columns: repeat(3, 1fr);
}

.splash-cards[data-count="4"][b-kcw7m2phot] {
    grid-template-columns: repeat(2, 1fr);
}

/* 5 tiles: figma splits 2 wide tiles on top, 3 narrower tiles on bottom,
   all rendered into a 6-column grid so the row edges align. */
.splash-cards[data-count="5"][b-kcw7m2phot] {
    grid-template-columns: repeat(6, 1fr);
}

.splash-cards[data-count="5"] > .splash-card:nth-child(-n+2)[b-kcw7m2phot] {
    grid-column: span 3;
}

.splash-cards[data-count="5"] > .splash-card:nth-child(n+3)[b-kcw7m2phot] {
    grid-column: span 2;
}

.splash-cards[data-count="6"][b-kcw7m2phot] {
    grid-template-columns: repeat(3, 1fr);
}

.splash-card[b-kcw7m2phot] {
    display: block;
    background: var(--colorFill);
    border: 1px solid var(--colorBorder);
    border-radius: 8px;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

/* The card treatment lives on the container but focus lands on the inner
   link, so :focus-within mirrors :hover for keyboard users. */
.splash-card:hover[b-kcw7m2phot],
.splash-card:focus-within[b-kcw7m2phot] {
    border-color: var(--colorPrimaryBorderHover);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

/* Figma's "Focus Highlight" (Landing Page, node 3908:75945) is a 3px
   colorLinkActive ring flush against the card edge — no gap, so offset
   is 0. Drawn on the card container via :has(), not the inner link,
   so the ring outlines the whole tile instead of just the padded
   content box inside it (outline follows the card's own border-radius).
   --colorLinkActive (#005593) clears the 3:1 non-text floor against
   the card's background by a wide margin. */
.splash-card:has(.splash-card-main:focus-visible)[b-kcw7m2phot] {
    outline: 3px solid var(--colorLinkActive);
    outline-offset: 0;
}

.splash-card-main[b-kcw7m2phot] {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
}

/* Ring moved to the card container above so the whole tile is outlined,
   not just this inner link — never leave focus unindicated, but the
   replacement here is the rule above, so no second ring is needed. */
.splash-card-main:focus-visible[b-kcw7m2phot] {
    outline: none;
}

@media (max-width: 768px) {
    /* 100px of panel padding eats a 320px-equivalent viewport whole (WCAG 1.4.10). */
    .cc-splash[b-kcw7m2phot] {
        padding: 32px 16px;
    }
}

/* Phone (the --screenSM token, same breakpoint as cc-chrome.css): one tile per row, whatever
   the count. The [data-count] attribute selector ties the per-count rules above on specificity
   and wins on order; the :nth-child(n) on the card rule ties the count-5 span rules the same
   way, and without it those spans would mint implicit columns in this single-column grid. */
@media (max-width: 576px) {
    .splash-cards[b-kcw7m2phot],
    .splash-cards[data-count][b-kcw7m2phot] {
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
    }

    .splash-cards[data-count] > .splash-card:nth-child(n)[b-kcw7m2phot] {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .splash-card[b-kcw7m2phot] {
        transition: border-color 120ms ease, box-shadow 120ms ease;
    }

    .splash-card:hover[b-kcw7m2phot],
    .splash-card:focus-within[b-kcw7m2phot] {
        transform: none;
    }
}

.splash-card-icon[b-kcw7m2phot] {
    display: inline-flex;
    width: 28px;
    height: 28px;
    color: var(--colorBrandDeep);
    margin-bottom: 0.75rem;
}

/* The default fallback icon above is Home's own markup, but a MFE-supplied
   card.IconSvg renders as a MarkupString with no isolation scope attribute —
   ::deep reaches both without requiring the attribute on either. */
.splash-card-icon[b-kcw7m2phot]  svg {
    width: 100%;
    height: 100%;
}

.splash-card-title[b-kcw7m2phot] {
    font-size: 1.05rem;
    /* cc-base.css only styles h2 at heading2 size (30px/38px); without its own
       line-height here, cc-base's 38px would leak through unopposed onto this
       much smaller heading (no other rule here sets line-height). */
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--colorText);
}

.splash-card-desc[b-kcw7m2phot] {
    color: var(--colorTextDescription);
    margin: 0 0 0.5rem;
}

.splash-card-link[b-kcw7m2phot] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--colorLink);
    text-decoration: none;
    font-size: 0.9rem;
}

.splash-card-link:hover[b-kcw7m2phot] {
    text-decoration: underline;
}
/* /Components/Pages/Notifications.razor.rz.scp.css */
.cc-notif-page[b-fcubng8nbr] {
    background: var(--colorFill);
    border: 1px solid var(--colorBorder);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    padding: 2rem 2.5rem 2.5rem;
    flex: 1;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.cc-notif-page-head[b-fcubng8nbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.cc-notif-page-head h1[b-fcubng8nbr] {
    margin: 0;
    font-size: 1.5rem;
    /* cc-base.css only styles h1 at heading1 size (38px/46px); this page's own
       24px size needs its own line-height too, or cc-base's 46px leaks through
       unopposed (no other rule here sets line-height). 24px matches Figma's
       heading3 pairing, so reuse its line-height rather than inventing one. */
    line-height: var(--lineHeightHeading3);
    color: var(--colorText);
}

.cc-notif-page-actions[b-fcubng8nbr] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cc-notif-page-toggle[b-fcubng8nbr] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--colorTextDescription);
    cursor: pointer;
}

.cc-notif-page-btn[b-fcubng8nbr] {
    font: inherit;
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--colorBorder);
    background: var(--colorFill);
    color: var(--colorLink);
    border-radius: 6px;
    cursor: pointer;
}

.cc-notif-page-btn:hover[b-fcubng8nbr] {
    background: var(--colorBgPage);
}

.cc-notif-page-btn.danger[b-fcubng8nbr] {
    color: var(--colorDanger);
}

.cc-notif-page-status[b-fcubng8nbr], .cc-notif-page-empty[b-fcubng8nbr] {
    color: var(--colorTextDescription);
    padding: 2rem 0;
    text-align: center;
}

.cc-notif-page-list[b-fcubng8nbr] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Everything below is injected client-side by cc-notifications-page.js, not rendered
   by this component's own markup — it never carries an isolation scope attribute, so
   every rule reaching it needs ::deep (the same reason a child component's internals
   or a MarkupString need it). Anchored to .cc-notif-page so the rules stay contained
   to this page rather than becoming fully global. */
.cc-notif-page[b-fcubng8nbr]  .cc-notif-row {
    display: flex;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--colorFillDisabled);
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row:last-child {
    border-bottom: none;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row.read {
    opacity: 0.6;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--colorLink);
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row.read .cc-notif-row-dot {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

/* Status colors are the same success/warning/error trio cc-chrome.css already defines
   on .cc-notif-success/-warning/-error for the bell dropdown dot, and
   cc-notifications-page.js applies those exact class names to these rows too — so this
   page relies on that shared, color-only rule instead of re-declaring the colors. */

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-title {
    font-weight: 600;
    color: var(--colorText);
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-body {
    font-size: 0.9rem;
    color: var(--colorText);
    margin-top: 0.25rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-meta {
    font-size: 0.75rem;
    color: var(--colorTextDescription);
    margin-top: 0.4rem;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-roster {
    font-size: 0.75rem;
    color: var(--colorTextDescription);
    margin-top: 0.2rem;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-view {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--colorLink);
    text-decoration: none;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-view:hover {
    text-decoration: underline;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 0.5rem;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-act {
    font: inherit;
    font-size: 0.8rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-read {
    color: var(--colorLink);
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-del {
    color: var(--colorDanger);
}

.cc-notif-page[b-fcubng8nbr]  .cc-notif-row-act:hover {
    text-decoration: underline;
}
/* /Components/Pages/TermsOfUse.razor.rz.scp.css */
/* Fills the panel so the body scrolls inside the card and the title band stays put. */
.terms-card[b-gie1l4w47f] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: var(--colorFill);
    border-radius: var(--borderRadiusLG);
}

/* The date sits right of the title on their shared baseline and wraps under it when narrow. */
.terms-header[b-gie1l4w47f] {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: var(--spacingMD);
    padding: var(--spacingMD) var(--spacingLG);
    border-bottom: 1px solid var(--colorBorder);
}

/* Pins DM Sans's opsz-14 cut, which the design uses; see StatusPageContent.razor.css. */
.terms-title[b-gie1l4w47f] {
    font: var(--fontWeightStrong) var(--fontSizeHeading3) / var(--lineHeightHeading3) var(--fontFamily);
    /* After the shorthand, which resets it. */
    font-variation-settings: "opsz" 14;
    color: var(--colorText);
}

.terms-body[b-gie1l4w47f] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: var(--spacingXL) var(--spacingLG);
}

.terms-reading[b-gie1l4w47f] {
    max-width: 800px;
    margin-inline: auto;
}

.terms-empty[b-gie1l4w47f] {
    font-size: var(--fontSizeLG);
    line-height: var(--lineHeightLG);
    color: var(--colorTextDescription);
}
/* /Components/StatusPageContent.razor.rz.scp.css */
/* The centered stack from the figma error designs (403 / 404 / 500). The parent is always
   a flex column — .cc-main inside the chrome, .cc-bare-main on /Error — so flex: 1 claims
   the leftover height and the stack centers in it. */
.cc-status[b-tkco0nc136] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Height-driven with intrinsic width: the three numeral artworks are 369-392px wide at the
   design's 150px height. The margins are the design's gaps below the lockup and above the
   heading — flex items don't collapse margins, so they land exactly. */
.cc-status-art[b-tkco0nc136] {
    display: block;
    height: 150px;
    width: auto;
    max-width: 100%;
    /* Below ~400px the max-width clamps the width while height stays 150px, which squashes
       the numerals; contain letterboxes instead. */
    object-fit: contain;
    margin: 32px 0 24px;
}

/* font-variation-settings pins the optical size: the design uses DM Sans's static
   opsz-14 cut, while the variable face auto-picks opsz 40 at this size and renders ~9%
   narrower than Figma. Same pin as ClarkConnect.Identity's login.css. */
.cc-status-heading[b-tkco0nc136] {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    font-variation-settings: "opsz" 14;
    line-height: normal;
    color: var(--colorBrandDark);
}

.cc-status-sub[b-tkco0nc136] {
    margin: 8px 0 0;
    font-size: 20px;
    font-weight: 600;
    font-variation-settings: "opsz" 14;
    color: var(--colorBrandDark);
}

/* The AntD default pill button, drawn on an anchor: going home is a navigation, so it stays
   a real link rather than a scripted button. */
.cc-status-home[b-tkco0nc136] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 40px;
    margin-top: 24px;
    padding: 8px 16px;
    border: 1px solid var(--colorBorder);
    border-radius: 999px;
    background: var(--colorFill);
    color: var(--colorText);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cc-status-home:hover[b-tkco0nc136] {
    background: var(--colorPrimaryBg);
    border-color: var(--colorBorderHover);
    color: var(--colorPrimaryHover);
}

.cc-status-home:active[b-tkco0nc136] {
    background: var(--colorPrimaryBgHover);
    border-color: var(--colorBorderHover);
    color: var(--colorPrimaryActive);
}

.cc-status-home:focus-visible[b-tkco0nc136] {
    outline: 3px solid var(--colorLinkActive);
    outline-offset: 2px;
}

.cc-status-requestid[b-tkco0nc136] {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--colorTextDescription);
}
