/* ERRORS AND THE CARD'S OPEN / CLOSED (owner's design, 2026-10-19) — one
   copy, linked by every page that shows them (after the page's own styles).

   - Every full-page ERROR message is red with a red glow (.error-message);
     empty states ("No appointments yet") and instructions (connect your
     account) are not errors and keep their colour.
   - Where a page shows ONLY an error, the title's place next to BACK says
     PRESS "BACK" TO CONTINUE in the same red (h1.back-hint, Bebas like the
     titles there; it scrolls like a long title — marquee-line).
   - The business card's place next to BACK says whether the business is
     open right now by its working hours: OPEN NOW, white with a green glow,
     or CLOSED NOW, red with a red glow (h1.open-state); nothing when it has
     no hours. */

.error-message {
    color: #ff6b6b !important;
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.55), 0 2px 10px rgba(0, 0, 0, 0.6);
}

h1.back-hint,
h1.open-state,
.header h1.back-hint {
    font-family: 'Bebas Neue', -apple-system, sans-serif;
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
}

/* OPEN NOW / CLOSED NOW as big as the business's name on the card, 64px
   (owner, 2026-10-19 — 48px looked small under the page's top space).
   fit-title (works.js) shrinks it only when it doesn't fit next to BACK:
   on a 390px phone OPEN NOW stays 64, CLOSED NOW is about 60. */
h1.open-state {
    font-size: 64px;
}

h1.back-hint,
.header h1.back-hint {
    color: #ff6b6b;
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.6), 0 2px 10px rgba(0, 0, 0, 0.6);
}

h1.open-state.open {
    color: #fff;
    text-shadow: 0 0 12px rgba(52, 199, 89, 0.9), 0 0 26px rgba(52, 199, 89, 0.55), 0 2px 10px rgba(0, 0, 0, 0.6);
}

h1.open-state.closed {
    color: #ff6b6b;
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.7), 0 0 26px rgba(255, 107, 107, 0.45), 0 2px 10px rgba(0, 0, 0, 0.6);
}
