/* Staff sign-in: its own dark "Staff Portal" look, so it is never mistaken for the customer sign-in
   (owner, 9 Nov 26: "Design staff login different page"). The customer sign-in keeps the bright brand colours. */
.auth--staff .auth-art {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(900px 520px at 110% 110%, rgba(17, 163, 163, .45), transparent 60%),
    radial-gradient(700px 420px at -10% -10%, rgba(44, 111, 214, .45), transparent 60%),
    linear-gradient(160deg, #0b1630 0%, #13254a 55%, #0e2f3f 100%);
}
.staff-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
               background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
               font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.staff-badge i { width: 8px; height: 8px; border-radius: 50%; background: #2fd3a6; box-shadow: 0 0 0 4px rgba(47, 211, 166, .2); }
.staff-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 10px; margin-top: 26px; }
.staff-areas span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
                    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }
.staff-areas b { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.auth--staff .auth-tagline { color: #13254a; }
.auth--staff .auth-brands .chip { background: rgba(255, 255, 255, .08); }
.staff-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
              background: #e7eefb; color: #1d4fa3; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
:root[data-theme="dark"] .staff-chip { background: rgba(44, 111, 214, .22); color: #9fc0f5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .staff-chip { background: rgba(44, 111, 214, .22); color: #9fc0f5; } }
.auth--staff .btn-primary { background: #1d4fa3; border-color: #1d4fa3; }
.auth--staff .btn-primary:hover { background: #163f84; border-color: #163f84; }
.auth--staff .input:focus { border-color: #2c6fd6; box-shadow: 0 0 0 3px rgba(44, 111, 214, .22); }
.staff-notes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.staff-notes li, .staff-note { display: flex; gap: 8px; align-items: center; }
.staff-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.customer-link { margin: 22px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
                 font-size: 13px; color: var(--text-2); }
.customer-link a { color: var(--primary); font-weight: 650; text-decoration: none; }
/* Phones hide the dark side panel, so the staff look comes from a navy band at the top instead. */
.staff-mobile-bar { display: none; }
@media (max-width: 899px) {
  .auth--staff .auth-panel { align-items: flex-start; padding-top: 0; }
  .staff-mobile-bar { display: flex; align-items: center; gap: 8px; margin: 0 -16px 28px; padding: 18px 16px; color: #fff;
                      background: linear-gradient(160deg, #0b1630 0%, #13254a 60%, #0e2f3f 100%);
                      font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
  .staff-mobile-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2fd3a6; box-shadow: 0 0 0 4px rgba(47, 211, 166, .2); }
}

/* Get the staff apps (owner, 23 Nov 26): QR code on the side panel for computers; a link in the card on phones.
   Hidden inside the apps themselves (opened from the home screen, or the layout's app-* class). */
.staff-get-app { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px; max-width: 470px;
                 border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.staff-get-app-qr { flex: none; line-height: 0; }
.staff-get-app-qr svg { width: 104px; height: 104px; border-radius: 8px; }
.staff-get-app-text { font-size: 13px; line-height: 1.45; opacity: .92; }
.staff-get-app-text b { display: block; font-size: 15px; margin-bottom: 4px; opacity: 1; }
.staff-app-link { display: none; margin: 18px 0 0; text-align: center; font-size: 14px; }
.staff-app-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 650; text-decoration: none; }
@media (max-width: 899px) { .staff-app-link { display: block; } }
.auth[class*="app-"] .staff-get-app, .auth[class*="app-"] .staff-app-link { display: none; }
@media (display-mode: standalone) { .staff-get-app, .staff-app-link { display: none; } }
