/* Groomers App. © 2026 Bama Software. Licensed by Life in Alabama, LLC. All rights reserved. Private and proprietary; see LICENSE. */
/* Groomers App web pages: sign-in, setup, your web screens, the phone screens and the customer pages. */
:root {
  --bg: #f4f3f1; --panel: #ffffff; --fg: #1d1f24; --muted: #55524c; --line: #d9d6d0; --soft: #ebe8e3;
  --accent: #b4530a; --on-accent: #fff; --bad: #b3261e; --good: #2e7d32; --radius: 10px;
  font: 16px/1.4 "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #16181d; --panel: #1f2229; --fg: #e9eaee; --muted: #b3b7c1; --line: #343944; --soft: #2a2e37; --bad: #ff9a90; --good: #8fd694; } }
body.web { margin: 0; background: var(--bg); color: var(--fg); min-height: 100vh; }
.web * { box-sizing: border-box; }
.web button, .web input, .web select, .web textarea { font: inherit; color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px; }
.narrow { max-width: 440px; margin: 8vh auto 0; padding: 16px; }
.brandline { font-weight: 700; font-size: 20px; margin: 0 0 14px; }
.wcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; }
.wcard h2 { font-size: 17px; margin: 0 0 10px; }
.wcard h3 { font-size: 15px; margin: 14px 0 6px; }
.wfield { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.wfield span { font-size: 13px; color: var(--muted); font-weight: 600; }
.wfield input, .wfield select, .wfield textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); min-height: 44px; }
.wfield textarea { min-height: 90px; }
.wbtn { min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 600; }
.wbtn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.wbtn.small { min-height: 34px; padding: 0 10px; font-size: 14px; }
.wbtn.danger { color: var(--bad); }
.wbtn:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.msg { min-height: 1.4em; margin: 8px 0; }
.msg.bad { color: var(--bad); }
.msg.good { color: var(--good); }
.code { font: 600 20px/1.3 ui-monospace, "Ubuntu Mono", monospace; letter-spacing: .08em; word-break: break-all; }
.qr svg { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 8px; }
.wtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.wtabs button { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.wtabs button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.wlist { list-style: none; margin: 0; padding: 0; }
.wlist li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--soft); flex-wrap: wrap; }
.wlist li:last-child { border-bottom: 0; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--soft); color: var(--muted); }
.tag.on { background: var(--accent); color: var(--on-accent); }
.wtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.wtable td, .wtable th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--soft); vertical-align: top; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #23262d; color: #f1f1ef; position: sticky; top: 0; z-index: 5; }
.topbar a, .topbar button { color: #f1f1ef; background: none; border: 0; cursor: pointer; text-decoration: none; font: inherit; padding: 8px; }
.topbar .title { font-weight: 700; }

/* The Web button on the desktop screens in the browser */
#gaweb { position: fixed; top: 8px; right: 10px; z-index: 9000; font: 13px/1.2 "Ubuntu", system-ui, sans-serif; }
#gaweb > button { min-height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid #d9d6d0; background: #fff; color: #1d1f24; cursor: pointer; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
#gaweb .menu { position: absolute; right: 0; top: 36px; background: #fff; color: #1d1f24; border: 1px solid #d9d6d0; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.2); min-width: 230px; padding: 6px; }
#gaweb .menu a, #gaweb .menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; background: none; color: inherit; text-decoration: none; cursor: pointer; border-radius: 6px; font: inherit; }
#gaweb .menu a:hover, #gaweb .menu button:hover { background: #ebe8e3; }
#gaweb .menu .note { padding: 6px 10px; color: #55524c; font-size: 12px; }
a.wbtn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; color: inherit; }
a.wbtn.primary { color: var(--on-accent); }
.credit { text-align: center; color: var(--muted); font-size: 12px; margin: 24px 16px; }
.phone .credit { margin-bottom: 80px; }
/* A box over the page: the demo's Order now, and the Member Manager. */
.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet .wcard { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; margin: 0; }
.sheet textarea, .wfield textarea { width: 100%; }
