/* [CLAUDE CHANGE] — Loyalty white-label proof of concept (docs/plans/Loyalty_WhiteLabel_Plan.md 14.5, 5.4): the Beyond Rewards
   skin of the Milestop360 customer pages (Views/LoyaltyPublic/_MilestopLayout.cshtml adds body.ms360--beyond on the Beyond host,
   or with ?site=beyond in Development). Loaded after milestop360/brand.css (and brand-v2.css while the new look is on); every
   rule is scoped to .ms360--beyond, so the Milestop360 site is untouched.
   Beyond's store sign: B green #6CBE45, E O N D orange-red #F15A29, the Y a blue map pin #1B75BC with a white star, "FOOD MART"
   in white, on dark wood #2A1F19 (hex values read from a photo, to confirm with Beyond's logo file). Nunito Sans text,
   Nunito 900 wordmark. Buttons are orange with DARK text: white on #F15A29 fails contrast. The owner's accent colour
   (--ms-accent) is not used for buttons here, so they always keep that contrast. */
.ms360--beyond {
    --by-green: #6CBE45;
    --by-orange: #F15A29;
    --by-blue: #1B75BC;
    --by-wood: #2A1F19;
    --by-ondark: #D9CCC2;
    --by-field: #D3C7BC;
    --ms-navy: #2A1F19;
    --ms-blue: #1B75BC;
    --ms-sky: #1B75BC;
    --ms-night: #2A1F19;
    --ms-bg: #F8F5F1;
    --ms-ink: #2A1F19;
    --ms-muted: #5C4E44;
    --ms-soft: #5C4E44;
    --ms-line: #E8E0D8;
    --ms-field: #D3C7BC;
    --ms-ondark: #D9CCC2;
    --ms-ondarksoft: #D9CCC2;
    --ms-primary: var(--by-blue);
    background: var(--ms-bg);
    color: var(--ms-ink);
    font: 600 16px/1.5 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ms360--beyond h1, .ms360--beyond h2, .ms360--beyond h3 { font-family: "Nunito Sans", system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; }
.ms360--beyond a { color: var(--by-blue); }
.ms360--beyond a:hover { color: var(--by-wood); }

/* header: the store sign on dark wood, a faded big pin in the corner; the first card overlaps its bottom edge */
.ms360--beyond .by-header { position: relative; overflow: hidden; background: var(--by-wood); color: #fff; padding: 22px 0 54px; }
.ms360--beyond .by-header .ms360-header-in { position: relative; min-height: 0; }
.by-header-pin { position: absolute; right: -50px; top: -40px; width: 190px; height: 238px; opacity: .16; fill: #1B75BC; pointer-events: none; }
.ms360--beyond .by-mark { text-decoration: none; }
.by-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.by-word { display: flex; align-items: flex-end; gap: 1px; font: 900 34px/1 Nunito, "Nunito Sans", system-ui, sans-serif; letter-spacing: .5px; }
.by-b { color: #6CBE45; }
.by-o { color: #F15A29; }
.by-y { display: block; width: 25px; height: 32px; margin: 0 1px 1px; }
.by-sub { align-self: flex-end; font: 800 12px/1 "Nunito Sans", system-ui, sans-serif; letter-spacing: 1.5px; color: #fff; }
.ms360--beyond .ms360-program { color: #fff; font-weight: 800; }

.ms360--beyond .ms360-main { position: relative; z-index: 1; margin-top: -30px; padding-top: 0; }

/* cards, text */
.ms360--beyond .ms360-card { background: #fff; border: 1px solid var(--ms-line); border-radius: 26px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(42, 31, 25, .04), 0 12px 28px -14px rgba(42, 31, 25, .18); }
.ms360--beyond .ms360-card h1 { color: var(--ms-ink); font-size: 28px; line-height: 1.12; }
.ms360--beyond .ms360-card h2 { color: var(--ms-ink); }
.ms360--beyond .ms360-eyebrow { color: var(--ms-muted); font-weight: 800; letter-spacing: .08em; }
.ms360--beyond .ms360-lead, .ms360--beyond .ms360-fine, .ms360--beyond .ms360-aside { color: var(--ms-muted); }

/* fields: blue border when focused */
.ms360--beyond .ms360-field > span { font-weight: 800; font-size: 14px; color: var(--ms-ink); }
.ms360--beyond .ms360-field input, .ms360--beyond .ms360-field select {
    min-height: 52px; border: 1px solid var(--by-field); border-radius: 14px; font: 700 18px "Nunito Sans", system-ui, sans-serif; color: var(--ms-ink); background: #fff;
}
.ms360--beyond .ms360-field input:focus, .ms360--beyond .ms360-field select:focus { outline: 3px solid rgba(27, 117, 188, .22); border: 2px solid var(--by-blue); padding: 11px 13px; }
.ms360--beyond .ms360-check { font-size: 14px; font-weight: 600; }
.ms360--beyond .ms360-check input { width: 22px; height: 22px; accent-color: var(--by-blue); }

/* buttons: orange with dark text */
.ms360--beyond .ms360-btn { min-height: 54px; border-radius: 27px; background: var(--by-orange); color: var(--by-wood); font: 900 17px/1.2 "Nunito Sans", system-ui, sans-serif; }
.ms360--beyond .ms360-btn:hover { filter: brightness(1.05); }
.ms360--beyond .ms360-btn--secondary { background: #fff; color: var(--by-wood); box-shadow: inset 0 0 0 1.5px var(--by-field); }
.ms360--beyond .ms360-btn--danger { background: #B42318; color: #fff; }

/* notes, the done ring, the legal pages, the "you're joining at" banner of the new look */
.ms360--beyond .ms360-note { background: #EAF2F9; color: var(--ms-ink); border-radius: 14px; }
.ms360--beyond .ms360-note--error { background: #FDECEA; color: #B42318; }
.ms360--beyond .ms360-orbit { border-color: var(--ms-line); border-top-color: var(--by-orange); border-right-color: var(--by-blue); }
.ms360--beyond .ms360-orbit--done { border-color: var(--by-green); }
.ms360--beyond .ms360-legal p, .ms360--beyond .ms360-legal li { color: var(--ms-ink); }
.ms360--beyond .ms360-legal blockquote { border-left-color: var(--by-blue); }
.ms360--beyond .mw-joining { background: var(--ms-bg); color: var(--ms-ink); border: 1px solid var(--ms-line); }
.ms360--beyond .mw-joining small { color: var(--ms-muted); }
.ms360--beyond .mw-joining svg { stroke: var(--by-blue); }

/* footer: the same legal links, a small "Powered by Milestop360" */
.ms360--beyond .ms360-footer { background: transparent; border-top: 1px solid var(--ms-line); color: var(--ms-muted); padding: 22px 0 26px; }
.ms360--beyond .ms360-footer nav a { color: var(--by-blue); font-weight: 700; text-decoration: none; }
.ms360--beyond .ms360-footer nav a:hover { color: var(--by-wood); text-decoration: underline; }
.ms360--beyond .by-powered { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: var(--ms-muted); }

.ms360--beyond a:focus-visible, .ms360--beyond button:focus-visible, .ms360--beyond summary:focus-visible { outline: 3px solid var(--by-blue); outline-offset: 2px; }

@media (max-width: 420px) {
    .ms360--beyond .ms360-card { padding: 20px 18px; border-radius: 22px; }
    .ms360--beyond .ms360-card h1 { font-size: 25px; }
    .by-word { font-size: 30px; }
    .by-y { width: 22px; height: 28px; }
}
/* [END CLAUDE CHANGE] */
