/*
 * 404 page (components/site/NotFoundView.tsx): one calm, centred column — animation, message, search, two actions.
 * Website colours: primary #006DB8, navy headings. !important where the Alone theme styles h1/a/input/button globally.
 */
.zz404 {
  --b: #006db8; --b-d: #005592; --navy: #0b2a5b; --t: #475467; --line: #dfe5ee;
  padding: 40px 16px 96px; background: linear-gradient(180deg, #f2f8fd 0%, #f7fbf1 100%); text-align: center; font-family: "Roboto", sans-serif;
}
.zz404 *, .zz404 *::before, .zz404 *::after { box-sizing: border-box; }
.zz404__inner { max-width: 640px; margin: 0 auto; }
.zz404__anim { width: min(560px, 100%); aspect-ratio: 800 / 560; margin: 0 auto 12px; }

.zz404 .zz404__title { margin: 0 0 12px !important; font: 700 clamp(30px, 4.4vw, 46px)/1.12 "Roboto Condensed", sans-serif !important; color: var(--navy) !important; }
.zz404 .zz404__lead { margin: 0 auto 32px !important; max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--t); }

/* search */
.zz404__search {
  display: flex; align-items: center; gap: 10px; max-width: 520px; height: 60px; margin: 0 auto 20px; padding: 0 7px 0 22px; border-radius: 50px; background: #fff; color: #98a2b3;
  box-shadow: 0 0 0 1px var(--line), 0 12px 28px -14px rgba(11, 42, 91, 0.25); transition: box-shadow 0.2s ease, color 0.2s ease;
}
.zz404__search:focus-within { color: var(--b); box-shadow: 0 0 0 2px var(--b), 0 0 0 6px rgba(0, 109, 184, 0.12); }
.zz404 .zz404__search input {
  flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important;
  font: 400 16px/1 "Roboto", sans-serif !important; color: var(--navy) !important;
}
.zz404 .zz404__search input::placeholder { color: #98a2b3; }
.zz404 .zz404__search input::-webkit-search-cancel-button { display: none; }
.zz404 .zz404__search button {
  height: 46px !important; padding: 0 26px !important; border: 0 !important; border-radius: 50px !important; background: var(--b) !important; color: #fff !important;
  font: 600 15px/1 "Poppins", sans-serif !important; cursor: pointer; transition: background 0.2s ease;
}
.zz404 .zz404__search button:hover { background: var(--b-d) !important; }
.zz404__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* actions */
.zz404__actions { display: flex; justify-content: center; gap: 12px; }
.zz404 .zz404__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px; border-radius: 50px;
  font: 600 15px/1 "Poppins", sans-serif !important; text-decoration: none !important; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.zz404 .zz404__btn--primary { background: var(--navy); color: #fff !important; }
.zz404 .zz404__btn--primary:hover { background: var(--b); }
.zz404 .zz404__btn--ghost { color: var(--navy) !important; box-shadow: inset 0 0 0 1.5px #c9d3e0; }
.zz404 .zz404__btn--ghost:hover { color: var(--b) !important; box-shadow: inset 0 0 0 1.5px var(--b); }

@media (max-width: 600px) {
  .zz404 { padding: 24px 16px 72px; }
  .zz404 .zz404__lead { font-size: 16px; margin-bottom: 24px !important; }
  .zz404__search { height: 54px; padding-left: 16px; }
  .zz404 .zz404__search button { height: 42px !important; padding: 0 18px !important; }
  .zz404 .zz404__btn { flex: 1; padding: 0 16px; }
}
