/* Shared look for the staff pages and the order page: big type, big buttons. */

body.big { background: #F3EEE4; font-size: 18px; }

.top-bar {
  background: var(--navy); color: #fff;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.top-bar .name { font-family: 'Fraunces', serif; font-size: 1.3rem; color: #fff; }
.top-bar .name span { color: var(--thread-gold); }
.top-bar .links { display: flex; gap: 10px; flex-wrap: wrap; }
.top-bar .links a, .top-bar .links button {
  color: #fff; background: rgba(255,255,255,0.12); border: none;
  padding: 10px 16px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
}
.top-bar .links a:hover, .top-bar .links button:hover { background: rgba(255,255,255,0.24); }

.page { max-width: 1100px; margin: 0 auto; padding: 30px 20px 100px; }
.page.narrow { max-width: 720px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-align: center; margin-bottom: 8px; }
.page .intro { text-align: center; font-size: 1.15rem; color: #4A453C; margin: 0 auto 28px; max-width: 40ch; }

.card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 24px; }

.bigbtn {
  display: block; width: 100%; text-align: center;
  background: var(--terracotta); color: #fff;
  border: none; border-radius: 18px;
  padding: 22px 20px; min-height: 68px;
  font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(193,97,61,0.28);
  transition: background 0.2s ease, transform 0.1s ease;
}
.bigbtn:hover { background: var(--terracotta-dark); }
.bigbtn:active { transform: scale(0.99); }
.bigbtn:disabled { background: #B5AC9B; box-shadow: none; cursor: default; }
.bigbtn.navy { background: var(--navy); box-shadow: 0 8px 22px rgba(28,43,58,0.22); }
.bigbtn.navy:hover { background: #2A3F54; }
.bigbtn.green { background: #2E7D4F; box-shadow: 0 8px 22px rgba(46,125,79,0.28); }
.bigbtn.green:hover { background: #256640; }
.bigbtn.plain {
  background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none;
}
.bigbtn.plain:hover { background: var(--cream-2); }
.bigbtn.small { font-size: 1.05rem; padding: 14px 16px; min-height: 54px; border-radius: 14px; }
.bigbtn.danger { background: #fff; color: #B03A2E; border: 2px solid #B03A2E; box-shadow: none; }
.bigbtn.danger.confirm, .bigbtn.danger:hover { background: #B03A2E; color: #fff; }
.bigbtn .sub { display: block; font-size: 0.95rem; font-weight: 500; opacity: 0.92; margin-top: 4px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.field .hint { font-weight: 400; color: #7A7365; font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%; font-size: 1.2rem; padding: 16px;
  border: 2px solid #D9CFBD; border-radius: 12px; background: #fff;
  font-family: 'Inter', sans-serif; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); }

.msg-err { color: #B03A2E; font-weight: 700; min-height: 1.4em; margin: 6px 0 12px; font-size: 1.05rem; }

.notice { background: #FFF8E8; border: 2px solid var(--thread-gold); border-radius: 16px; padding: 18px 20px; color: #6B5B33; margin-bottom: 24px; font-size: 1.05rem; }
.notice.err { background: #FFF3F1; border-color: #B03A2E; color: #7A3229; }
.notice.ok { background: #E8F3EC; border-color: #2E7D4F; color: #33604A; }

/* login overlay */
.login-veil {
  position: fixed; inset: 0; background: #F3EEE4; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.login-box { width: 100%; max-width: 440px; }
.login-box h1 { text-align: center; font-size: 2rem; margin-bottom: 6px; }
.login-box p { text-align: center; color: #4A453C; margin-bottom: 20px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 16px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1.05rem; opacity: 0; pointer-events: none;
  transition: all 0.25s ease; z-index: 300; max-width: 92vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
