/* The guest's rewards account. Builds on storefront.css and the restaurant's theme.css. */
body.account { padding-bottom: 2rem; }
.acct-hero .hero-in { padding-block: 16px; }
.acct-hero .logo { width: 64px; height: 64px; }
/* keep logo | (name over "Rewards") on phones too: the menu page's phone grid would put the name under the title */
.acct-hero .hero-in { display: flex; align-items: center; gap: .9rem; }
.acct-hero .hero-text { display: block; }
.acct-main { padding-top: 16px; display: grid; gap: 16px; max-width: 560px; }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 10px; }
.acct-card h2 { font-size: 1.35rem; }
.acct-card h3 { font-size: 1.1rem; margin-top: 8px; }
.acct-card label { font-weight: 600; display: block; margin: 8px 0 4px; }
.acct-card input:not([type="checkbox"]) { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.acct-card label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.acct-card label.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.primary.big { width: 100%; margin-top: 12px; padding: 14px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1.05rem; }
.primary.big:disabled { opacity: .6; }
.secondary { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); text-decoration: none; }
.linklike { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; }
.consent a { color: var(--accent); }
.acct-card label.check.consent-check { align-items: flex-start; font-weight: 400; }
.acct-card label.check.consent-check input { margin-top: .2rem; flex: none; }
.form-error { color: #a12a2a; font-weight: 600; }
.acct-brand { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: .02em; opacity: .85; }
.acct-next { display: grid; gap: 6px; }
.acct-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.acct-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .4s ease; }
.acct-hello { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.acct-points { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); }
.acct-points .muted { font-size: 1rem; font-weight: 600; }
.acct-rewards, .acct-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acct-rewards li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.acct-rewards li.ready { border-color: var(--accent); }
.acct-rewards .cost { color: var(--muted); white-space: nowrap; }
.acct-rewards li.ready .cost { color: var(--accent); font-weight: 700; }
.acct-history li { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; border-bottom: 1px solid var(--line); padding: 6px 0; }
.acct-history .plus { color: #1f6b3a; font-weight: 700; }
.acct-history .minus { color: #a12a2a; font-weight: 700; }
.acct-profile summary { cursor: pointer; font-weight: 700; margin-top: 6px; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.acct-foot { text-align: center; }
.acct-foot a { color: var(--accent); }
