/* Crzy4k9s & Cats 2 - site styles */

/* Brand colours (red sampled from the logo) */
:root {
  --red: #d60613;
  --red-dark: #a8040f;
  --black: #111111;
  --white: #ffffff;
  --grey: #f4f4f4;
}

/* Makes sure hidden screens stay hidden */
[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* WELCOME: bold, red, centred under the logo bar */
.welcome-title {
  align-self: center;
  text-align: center;
  margin: 0.25rem 0 0;
  color: var(--red);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

h2 {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 1.4rem;
}

h1:focus,
h2:focus {
  outline: none;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Red pill buttons */
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 360px;
}

.pill {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.pill:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.pill:focus-visible,
.back:focus-visible,
input:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* An answer the client already picked (remembered if they go back) */
.choice[aria-pressed="true"] {
  background: var(--black);
  border-color: var(--black);
}

.back {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: var(--black);
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Form (request call) */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
}

.form label {
  margin-top: 0.5rem;
  font-weight: 600;
}

.form input {
  padding: 0.8rem 1rem;
  border: 2px solid #cccccc;
  border-radius: 10px;
  font-size: 1rem;
}

.form .pill {
  margin-top: 1rem;
}

.status {
  text-align: center;
  font-weight: 600;
}

/* Company information */
.site-footer {
  padding: 1rem;
  background: var(--grey);
  border-top: 4px solid var(--red);
  text-align: center;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--red);
  font-weight: 700;
}

/* Spam trap: moved off screen so people never see it */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Text for screen readers only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Longer headings, like the rabies NO message */
#screen-rabies-no h2 {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Send button while a request is on its way */
.pill:disabled {
  opacity: 0.6;
  cursor: wait;
}
/* ---------- Added for the new-client questions ---------- */

/* Small red line above a heading (puppy/kitten program) */
.eyebrow {
  margin: 0.5rem 0 0;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Paragraphs of information (puppy program, estimate) */
.text-block {
  width: 100%;
  max-width: 480px;
  line-height: 1.5;
}

.text-block p {
  margin: 0 0 0.9rem;
}

.text-block .price {
  font-weight: 700;
}

/* Bigger text boxes */
.form textarea {
  padding: 0.8rem 1rem;
  border: 2px solid #cccccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.form textarea:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* Small help line under a box */
.hint {
  margin: 0;
  font-size: 0.9rem;
  color: #555555;
}

/* A group of choices with a heading */
fieldset {
  margin: 0.75rem 0 0;
  padding: 0;
  border: none;
}

legend {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Tick-box and pick-one choices that look like small pills */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.chip {
  position: relative;
  margin: 0;
}

/* The real tick box sits invisibly on top of the pill, so tapping works */
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Chosen = black, same as the big answer buttons */
.chip input:checked + span {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* Consent tick box */
.tick {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 600;
}

.tick input {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* "Skip and request a call back" on every question screen */
.skip {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.skip:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* Section headings on the estimate screen */
.text-block h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--red);
  font-size: 1.15rem;
}

/* "Other" service text box */
.form fieldset input[type="text"] {
  width: 100%;
}

/* Returning client: list of upcoming appointments */
.appt-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.appt-list li {
  margin-bottom: 0.9rem;
  padding: 0.9rem 1rem;
  border: 2px solid #e3e3e3;
  border-radius: 12px;
}

.appt-list li p {
  margin: 0 0 0.5rem;
}

/* Cancel screen: which appointment */
.price-box {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--red);
  background: var(--grey);
  font-weight: 700;
  text-align: center;
}

/* Cancel screen: the on/off toggle (a tick box drawn as a switch) */
.toggle {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  position: relative;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.2rem;
  height: 1.8rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.toggle-track {
  flex-shrink: 0;
  position: relative;
  width: 3.2rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #bbbbbb;
  transition: background 0.2s;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}

.toggle input:checked + .toggle-track {
  background: var(--red);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(1.4rem);
}

.toggle input:focus-visible + .toggle-track {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* Booking and call back preferences: each section in its own box */
.pref-card {
  margin: 0.5rem 0 0.75rem;
  padding: 0.9rem 1rem 0.4rem;
  border: 2px solid var(--red);
  border-radius: 14px;
}

.pref-card legend {
  padding: 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
}

/* Optional sections: grey border so they read as "extra" */
.pref-card.optional {
  border-color: #cccccc;
}

.pref-card.optional legend {
  color: var(--black);
}

/* Line between the day choices and the time choices */
.chips.divider {
  padding-top: 0.75rem;
  border-top: 1px dashed #cccccc;
}

/* Temporary notice (returning client page) */
.notice {
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

/* Feed (blog / education): each post opens when its title is tapped */
.feed {
  width: 100%;
  max-width: 560px;
}

.post {
  margin-bottom: 0.9rem;
  border: 2px solid #e3e3e3;
  border-radius: 12px;
  line-height: 1.55;
}

.post summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.post[open] summary {
  border-bottom: 1px solid #e3e3e3;
}

.post-date {
  color: #555555;
  font-size: 0.85rem;
}

.post-title {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 800;
}

.post p,
.post h3 {
  margin: 0.8rem 1rem;
}

.post h3 {
  font-size: 1.05rem;
}

.post a {
  color: var(--red);
  font-weight: 700;
}

/* Preview lock (COMING SOON) */
.gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.gate-title {
  margin: 0;
  color: var(--red);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

.gate-title:focus {
  outline: none;
}

/* Returning clients: app-style buttons along the bottom */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.tab {
  flex: 1;
  max-width: 140px;
  padding: 0.6rem 0.5rem;
  border: none;
  background: none;
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.tab-plus {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.tab-plus.active {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.tab:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 2px;
}

/* Room at the bottom so the buttons never cover anything */
body.has-tabs {
  padding-bottom: 5rem;
}

/* Notifications on Home */
.section-title {
  margin: 1.5rem 0 0.75rem;
  color: var(--red);
  font-size: 1.15rem;
}

.badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: #777777; /* Pending */
}

.badge-approved {
  background: var(--black);
}

.badge-denied {
  background: var(--red);
}

.note-message {
  padding: 0.6rem 0.8rem;
  border-left: 4px solid var(--red);
  background: var(--grey);
  font-weight: 600;
}

/* =====================================================================
   BRAND THEME — Crzy4k9s & Cats 2
   Taken from the logo: dalmatian white with black spots, logo red,
   true black, and the rounded Fredoka lettering. One bold idea:
   the red paw circle from the logo returns as the date badge and
   the section marker. Everything else stays quiet.
   ===================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000000;
  --spots: radial-gradient(ellipse 13px 10px at 18% 28%, #000 92%, transparent 100%),
    radial-gradient(ellipse 8px 11px at 66% 18%, #000 92%, transparent 100%),
    radial-gradient(ellipse 15px 11px at 52% 72%, #000 92%, transparent 100%),
    radial-gradient(ellipse 6px 7px at 88% 58%, #000 92%, transparent 100%),
    radial-gradient(ellipse 9px 7px at 10% 84%, #000 92%, transparent 100%);
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d60613'/%3E%3Cellipse cx='8' cy='8.5' rx='1.6' ry='2.2'/%3E%3Cellipse cx='12' cy='7' rx='1.6' ry='2.2'/%3E%3Cellipse cx='16' cy='8.5' rx='1.6' ry='2.2'/%3E%3Cellipse cx='5.6' cy='12' rx='1.4' ry='1.9'/%3E%3Cellipse cx='18.4' cy='12' rx='1.4' ry='1.9'/%3E%3Cpath d='M12 11c-3 0-5.5 3.4-5.5 5.3 0 1.7 1.6 2 3 1.6 1-.3 1.6-.4 2.5-.4s1.5.1 2.5.4c1.4.4 3 .1 3-1.6C17.5 14.4 15 11 12 11z'/%3E%3C/svg%3E");
}

/* Rounded logo lettering for headings, buttons and choices */
h1, h2, h3, legend,
.pill, .skip, .tab, .chip span,
.welcome-title, .gate-title, .eyebrow,
.post-title, .day-name, .day-badge, .appt-time {
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Logo bar at the top of inner screens */
.brand-bar {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 4px solid var(--red);
}

.brand-bar img {
  display: block;
  width: 100%;
  height: auto; /* the whole logo, never cropped */
}

/* Big buttons: red with a black "sticker" edge, like the logo artwork */
.pill {
  border: 2px solid var(--black);
  box-shadow: 0 4px 0 var(--black);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.08s, box-shadow 0.08s;
}

.pill:hover {
  border-color: var(--black);
}

.pill:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--black);
}

.choice[aria-pressed="true"] {
  background: var(--black);
  border-color: var(--black);
  box-shadow: 0 4px 0 var(--red);
}

.skip {
  border-color: var(--black);
  box-shadow: 0 3px 0 var(--black);
  font-weight: 600;
}

/* Centre every button group (REQUEST CALL included) */
.button-stack {
  margin-left: auto;
  margin-right: auto;
}

/* Section titles get the red paw from the logo */
.section-title,
.post-body h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before,
.post-body h3::before {
  content: "";
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--paw) center / contain no-repeat;
}

/* ---------- Home: one card per day, tap to open ---------- */
.appt-list li.day-item {
  margin: 0 0 0.9rem;
  padding: 0;
  border: none;
}

.day-card {
  border: 2px solid var(--black);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 0 var(--black);
  overflow: hidden;
}

.day-card summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  cursor: pointer;
  list-style: none;
}

.day-card summary::-webkit-details-marker {
  display: none;
}

.day-card summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

/* The date sits in the red paw circle */
.day-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  line-height: 1;
}

.day-badge b {
  font-size: 1.45rem;
  font-weight: 700;
}

.day-badge small {
  font-size: 0.85rem;
  font-weight: 600;
}

.day-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.day-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.day-times {
  color: #444444;
  font-size: 0.95rem;
}

.chevron {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.day-card[open] .chevron {
  transform: rotate(225deg);
}

.day-body {
  padding: 0 1rem 1rem;
  background: var(--grey);
  border-top: 2px dashed var(--black);
}

.appt {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 2px solid var(--black);
}

.appt p {
  margin: 0 0 0.35rem;
}

.appt-time {
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 700;
}

.appt-pet {
  font-weight: 700;
}

.appt .skip {
  margin-top: 0.4rem;
}

@media (prefers-reduced-motion: reduce) {
  .chevron, .pill { transition: none; }
}

/* ---------- Learn: posts ---------- */
.post {
  border: 2px solid var(--black);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--black);
  overflow: hidden;
  background: var(--white);
}

.post summary {
  padding: 0;
  list-style: none;
}

.post summary::-webkit-details-marker {
  display: none;
}

.post summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

/* Spotted banner with the paw (a photo replaces it later) */
.post-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: var(--spots), var(--white);
  background-size: 120px 86px;
  border-bottom: 3px solid var(--red);
}

.post-paw {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--black);
}

.post-banner.has-photo {
  height: 190px;
}

.post-banner.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
}

.post-title {
  color: var(--black);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.post-date {
  color: #555555;
  font-size: 0.9rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.post[open] summary {
  border-bottom: 2px dashed var(--black);
}

.post-body {
  padding: 0.4rem 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-body p,
.post-body h3 {
  margin: 0.9rem 1.1rem;
  max-width: 62ch;
}

.post-body h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.post-lead {
  color: var(--red);
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Bottom buttons: rounded lettering, paw-circle + */
.tab {
  font-size: 1.05rem;
  font-weight: 600;
}

.tab-plus {
  border: 2px solid var(--black);
  box-shadow: 0 3px 0 var(--black);
  font-size: 2rem;
  font-weight: 700;
  padding: 0;
}

/* Notification cards: same style as the day cards */
#notes-list li {
  border: 2px solid var(--black);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--black);
}

/* ---------- Home: pet portfolio ---------- */
.pet-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pet-chip {
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 3px 0 var(--black);
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.pet-chip[aria-pressed="true"] {
  background: var(--red);
  color: var(--white);
}

.pet-chip:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.pet-card {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border: 2px solid var(--black);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--black);
  background: var(--white);
  text-align: center;
  overflow: hidden;
}

.pet-banner {
  height: 86px;
  background: var(--spots), var(--white);
  background-size: 120px 86px;
  border-bottom: 3px solid var(--red);
}

/* The paw circle sits where a pet photo can go later */
.pet-avatar {
  width: 96px;
  height: 96px;
  margin-top: 36px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--black);
  background: var(--white);
}

.pet-name {
  margin: 3.1rem 0 0.4rem;
  font-size: 2.2rem;
  line-height: 1.1;
}

.pet-tags {
  justify-content: center;
  margin: 0;
}

.tag-dark {
  background: var(--black);
}

.appts-title {
  margin: 0.5rem 0 0.9rem;
  font-size: 1.35rem;
  text-align: left;
}

/* Pet names stand out in each day card */
.day-times {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.day-line b {
  color: var(--black);
  font-size: 1.02rem;
}

.tag-light {
  background: var(--white);
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

/* Month colours: each month looks different at a glance.
   December keeps the logo red; the rest follow the seasons. */
.day-badge.month-1  { background: #1d5fa6; } /* January: winter blue */
.day-badge.month-2  { background: #b0245e; } /* February: rose */
.day-badge.month-3  { background: #2e7d32; } /* March: spring green */
.day-badge.month-4  { background: #00796b; } /* April: teal */
.day-badge.month-5  { background: #6a3fa0; } /* May: lilac */
.day-badge.month-6  { background: #b34d00; } /* June: summer orange */
.day-badge.month-7  { background: #0b7285; } /* July: lake blue */
.day-badge.month-8  { background: #8d5b00; } /* August: golden */
.day-badge.month-9  { background: #7a6200; } /* September: harvest */
.day-badge.month-10 { background: #bf360c; } /* October: pumpkin */
.day-badge.month-11 { background: #4a4a8a; } /* November: slate */
.day-badge.month-12 { background: var(--red); } /* December: logo red */

/* Footer "Staff" link: small and quiet */
.staff-link {
  padding: 0.2rem 0.5rem;
  border: none;
  background: none;
  color: #666666;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Employee portal ---------- */
.staff {
  width: 100%;
  max-width: 560px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--black);
  background: var(--white);
}

.stat b {
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Anything waiting gets the red paw colour */
.stat-hot {
  background: var(--red);
  color: var(--white);
}

.checklist-card {
  margin-bottom: 1rem;
}

.check-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 0.7rem;
  line-height: 1.4;
  font-weight: 500;
}

.check-item input {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  accent-color: var(--red);
}

.check-item input:checked + span {
  color: #777777;
  text-decoration: line-through;
}

.staff .hint {
  margin: 0.9rem 0 0.4rem;
}

/* Welcome screen photo of Shauntra and Ellice */
.welcome-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--black);
}

/* Returning client "get you into your account" form: centred like the other screens */
#ret-lost {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#ret-lost .text-block {
  text-align: center;
}

#ret-lost .form .pill {
  align-self: center;
}

/* Photos and bullet lists inside blog posts */
.post-photo {
  display: block;
  width: auto;
  max-width: calc(100% - 2.2rem);
  height: auto;
  max-height: 520px; /* tall phone photos get smaller, never cut off */
  margin: 1rem auto;
  border-radius: 12px;
  border: 2px solid var(--black);
}

.post-list {
  margin: 0.5rem 1.1rem 1rem;
  padding-left: 1.25rem;
  max-width: 62ch;
  line-height: 1.5;
}

.post-list li {
  margin-bottom: 0.35rem;
}

/* Welcome screen line under WELCOME */
.welcome-tagline {
  margin: -0.5rem 0 0;
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
}

/* Feedback screen intro */
.feedback-intro {
  text-align: center;
}

/* Short explanation on the welcome screen */
.welcome-explain {
  text-align: center;
  font-size: 0.98rem;
}

/* Blog banner that shows the whole photo (set imageFull: true on a post) */
.post-banner.has-photo.full {
  height: auto;
  max-height: 420px;
  background: var(--black);
}

.post-banner.has-photo.full img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* Bottom buttons: clients see Home and +, staff see WORK and PERSONAL */
body:not(.is-staff) .tab-staff,
body.is-staff .tab-client {
  display: none;
}

/* "Skin Care School" on two short lines so it sits evenly with the other buttons */
.tab-school {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-size: 0.92rem;
}

.tab-school span + span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* WORK page */
.work-date {
  margin: -0.75rem 0 0;
  color: var(--red);
  font-weight: 600;
}

.work-list,
.snap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 480px;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--black);
  background: var(--white);
}

.work-time {
  flex: 0 0 5.2rem;
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: var(--red);
}

.req-type {
  text-transform: capitalize;
  font-size: 0.9rem;
}

.work-what {
  display: flex;
  flex-direction: column;
}

.work-what small {
  color: #555555;
}

.work-snapshot,
.work-requests {
  width: 100%;
  max-width: 480px;
}

/* Smaller "who else is working" section */
.snap-list li {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--grey);
  font-size: 0.92rem;
}

/* ---------- Bottom buttons: symbols ---------- */
.tab {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-icon {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab.active {
  text-decoration: none;
}

.tab.active .tab-icon {
  stroke-width: 2.4;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0.1rem;
  width: 1.4rem;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}

/* Bell only for Staff 2 */
body:not(.has-alerts) .tab-alerts {
  display: none;
}

.tab-badge {
  position: absolute;
  top: 0.15rem;
  left: 52%;
  min-width: 1.2rem;
  padding: 0.05rem 0.3rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1rem;
}

/* ---------- Staff 2: NOTIFICATIONS ---------- */
.alert-group {
  width: 100%;
  max-width: 480px;
}

.alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  border: 2px solid var(--black);
  border-left-width: 8px;
  border-radius: 14px;
  background: var(--white);
}

.urgent .alert-item { border-left-color: var(--red); }
.due .alert-item { border-left-color: #f08c00; }
.requests .alert-item { border-left-color: #2f9e44; }
.upcoming .alert-item { border-left-color: #adb5bd; }

.alert-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.alert-text small {
  color: #555555;
}

.alert-empty {
  padding: 0.3rem 0.2rem 0.8rem;
  color: #555555;
}

.done-button {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--black);
  background: var(--white);
  color: var(--black);
  font-family: "Fredoka", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.done-button:disabled {
  opacity: 0.5;
}

/* ---------- Welcome page ---------- */
.welcome-sub {
  display: block;
  margin-top: 0.2rem;
  color: var(--black);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
}

.welcome-box {
  width: 100%;
  max-width: 400px;
  padding: 1rem 1rem 0.4rem;
  border: 2px solid var(--black);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--black);
  background: var(--white);
  text-align: center;
}

.welcome-box p {
  margin: 0.8rem 0.25rem 0.6rem;
  line-height: 1.45;
  font-size: 0.98rem;
}
