/* demo.edoktor.al — the landing page, the feedback form and the owner's table.
   Hand-written, same-origin only (no CDN, no inline style or script: a strict CSP applies).
   Tokens, font and logo are the doctors' portal's (portal/src/styles.css, assets/brand). */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/static/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/static/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/static/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/static/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/static/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/static/fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/static/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/static/fonts/plus-jakarta-sans-latin-ext-800-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #eef1f6;
  --surface: #ffffff;
  --box: #fafbfd;
  --field: #f4f6fa;
  --border: #e7ebf0;
  --border-input: #d5dce6;
  --text: #101828;
  --text-2: #344054;
  --muted: #5d6b80;
  --accent: #1d6be5;
  --accent-dark: #1552b8;
  --accent-deep: #0f3f86;
  --accent-soft: #e8f0fd;
  --danger: #b42318;
  --danger-soft: #fdecec;
  --ok: #0e7f57;
  --ok-soft: #e3f6ee;
  --star: #e29200;
  --star-off: #d3d9e2;
  --demo-bg: #fff4dc;
  --demo-border: #f1d394;
  --demo-ink: #5c3b00;
  --demo-badge: #7a4d00;
  --radius: 12px;
  --radius-card: 18px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px -16px rgba(16, 24, 40, 0.18);
  --gutter: 16px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent-dark);
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}

/* ---- Layout ---- */
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow {
  max-width: 720px;
}
.wrap.wide {
  max-width: 1280px;
}
@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

/* ---- Header ---- */
.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}
.logo img {
  width: 132px;
  height: auto;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 3px;
  border-radius: 999px;
  background: var(--demo-bg);
  border: 1px solid var(--demo-border);
  color: var(--demo-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.demo-chip b {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--demo-badge);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.head-spacer {
  flex: 1;
}
.lang-toggle {
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lang-toggle:hover {
  background: var(--field);
}
@media (max-width: 420px) {
  .logo img {
    width: 112px;
  }
  .demo-chip span {
    display: none;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -12px var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: progress;
  box-shadow: none;
}
.btn-quiet {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-quiet:hover {
  background: var(--field);
}
.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

/* ---- Landing ---- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.hero::before {
  width: 360px;
  height: 360px;
  top: -140px;
  right: -90px;
}
.hero::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -60px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 88px;
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(28px, 6.4vw, 46px);
  font-weight: 800;
}
.hero p {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(16px, 2.4vw, 19px);
  color: rgba(255, 255, 255, 0.9);
}

.choices {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .choices {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.choice:hover {
  border-color: #c9d8f3;
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 32px -18px rgba(16, 24, 40, 0.3);
}
.choice:focus-visible {
  outline-offset: 3px;
  border-radius: var(--radius-card);
}
.choice-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.choice-icon svg {
  width: 28px;
  height: 28px;
}
.choice h2 {
  font-size: 23px;
  font-weight: 800;
}
.choice p {
  color: var(--muted);
}
.choice-cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 800;
}
.choice-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}
.choice:hover .choice-cta svg {
  transform: translateX(3px);
}

.notes {
  display: grid;
  gap: 16px;
  margin: 24px 0 8px;
}
@media (min-width: 720px) {
  .notes {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.note.demo {
  background: var(--demo-bg);
  border-color: var(--demo-border);
  color: var(--demo-ink);
}
.note-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.note.demo .note-icon {
  background: rgba(122, 77, 0, 0.12);
  color: var(--demo-badge);
}
.note-icon svg {
  width: 20px;
  height: 20px;
}
.note h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.note p {
  font-size: 15px;
}
.note.demo p {
  color: var(--demo-ink);
}
.note p + p {
  margin-top: 6px;
}

.feedback-band {
  margin: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.feedback-band h2 {
  font-size: 18px;
  font-weight: 800;
}
.feedback-band p {
  color: var(--muted);
  font-size: 15px;
}

.site-foot {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* ---- Cards and forms (feedback, owner table) ---- */
.page {
  padding: 28px 0 48px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.back:hover {
  color: var(--accent-dark);
}
.card {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
@media (max-width: 420px) {
  .card {
    padding: 20px 16px;
  }
}
.card h1 {
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 800;
}
.lead {
  margin-top: 8px;
  color: var(--muted);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > label,
.field > legend {
  padding: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.field > legend {
  margin-bottom: 8px;
}
.opt {
  color: var(--muted);
  font-weight: 600;
}
.req {
  color: var(--danger);
}
textarea,
input[type="text"],
input[type="password"] {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* no zoom on iOS */
  padding: 12px 14px;
}
textarea {
  min-height: 104px;
  resize: vertical;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 107, 229, 0.2);
}
[aria-invalid="true"] {
  border-color: var(--danger) !important;
}
.hint {
  font-size: 13px;
  color: var(--muted);
}
.counter {
  align-self: flex-end;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.err {
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}
.form-error {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 600;
  font-size: 15px;
}

/* The star rating: five radios; the label is the target (44 px), the radio is visually hidden. */
.stars {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.stars input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.stars label {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  color: var(--star-off);
}
.stars label svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  transition: transform 0.12s ease;
}
.stars label:hover svg {
  transform: scale(1.08);
}
.stars input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 0;
}
.stars label.on {
  color: var(--star);
}
.stars-caption {
  min-height: 1.5em;
  margin-left: 6px;
  font-weight: 700;
  color: var(--text-2);
}

/* Pill radios (would use / role). */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  position: relative;
}
.pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  cursor: pointer;
}
.pill span:hover {
  background: var(--field);
}
.pill input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pill input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.fieldset-invalid .pill span,
.fieldset-invalid .stars label {
  border-color: var(--danger);
}
.fieldset-invalid .stars label {
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.35);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.privacy {
  font-size: 13px;
  color: var(--muted);
}

.thanks {
  text-align: left;
}
.thanks-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ok-soft);
  color: var(--ok);
  margin-bottom: 14px;
}
.thanks-icon svg {
  width: 30px;
  height: 30px;
}
.thanks .actions {
  margin-top: 20px;
}
.thanks h1:focus {
  outline: none;
}

/* ---- Owner table ---- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
}
.toolbar h1 {
  font-size: clamp(22px, 4.6vw, 28px);
  font-weight: 800;
  margin-right: auto;
}
.status {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}
.tile {
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}
.tile h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.tile-value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}
.mini-stars {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  font-size: 0;
}
.mini-stars .row {
  display: flex;
  gap: 2px;
}
.mini-stars svg {
  flex: none;
  width: 20px;
  height: 20px;
  max-width: none;
  fill: currentColor;
}
.mini-stars .on .row {
  width: max-content;
}
.mini-stars .off {
  color: var(--star-off);
}
.mini-stars .on {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--star);
  width: 0;
}
.split {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--field);
  margin: 6px 0 10px;
}
.split span {
  display: block;
  height: 100%;
}
.split .yes,
.dot.yes {
  background: var(--ok);
}
.split .maybe,
.dot.maybe {
  background: var(--star);
}
.split .no,
.dot.no {
  background: var(--danger);
}
.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 14px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.table-wrap {
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--box);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.text {
  min-width: 220px;
  max-width: 360px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
td.nowrap {
  white-space: nowrap;
}
td.path {
  min-width: 120px;
  max-width: 200px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.stars-text {
  color: var(--star);
  letter-spacing: 1px;
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
/* Phones: each row becomes a card; the column name comes from data-label (an attribute, no inline style). */
@media (max-width: 760px) {
  .table-wrap {
    background: none;
    border: 0;
    overflow: visible;
  }
  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 12px;
    padding: 6px 4px;
    border-radius: var(--radius-card);
    background: var(--surface);
    border: 1px solid var(--border);
  }
  td,
  td.text {
    max-width: none;
    min-width: 0;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }
  td:last-child {
    border-bottom: 0;
  }
  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
}
.key-card {
  max-width: 440px;
  margin: 24px auto 0;
}
.key-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

/* ---- "Më njoftoni" (feedback form) ---- */
.notify-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--box);
}
.notify-box.on {
  border-color: #c9d8f3;
  background: var(--accent-soft);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.notify-details > label {
  font-weight: 700;
  font-size: 14px;
}
input[type="email"] {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* no zoom on iOS */
  padding: 12px 14px;
}
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 107, 229, 0.2);
}
.notify-details .hint a {
  overflow-wrap: anywhere;
}
.notify-ok {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.notify-ok:focus {
  outline: none;
}
.notify-failed {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.retry-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.retry-form > label {
  font-weight: 700;
  font-size: 14px;
}
.retry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.retry-row input {
  flex: 1 1 220px;
  min-width: 0;
}

/* ---- Danger buttons and the confirmation dialog (owner table) ---- */
.btn-danger {
  background: var(--surface);
  color: var(--danger);
  border-color: #f2c4c0;
}
.btn-danger:hover {
  background: var(--danger-soft);
}
.btn-danger-solid {
  background: var(--danger);
  color: #fff;
}
.btn-danger-solid:hover {
  background: #8f1c13;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
dialog.confirm {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  padding: 24px;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 60px -20px rgba(16, 24, 40, 0.45);
}
dialog.confirm::backdrop {
  background: rgba(16, 24, 40, 0.45);
}
dialog.confirm h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
dialog.confirm p {
  color: var(--text-2);
  overflow-wrap: anywhere;
}
dialog.confirm .form-error {
  margin-top: 12px;
}
dialog.confirm .actions {
  margin-top: 20px;
  justify-content: flex-end;
}

/* ---- "Të interesuar për lançimin" (owner table) ---- */
.notify-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.toolbar h2 {
  font-size: clamp(20px, 4.2vw, 24px);
  font-weight: 800;
  margin-right: auto;
}
.toolbar h2:focus {
  outline: none;
}
.notify-lead {
  margin: 0 0 10px;
  max-width: 760px;
}
.notify-tiles {
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
}
.tile h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
td.email {
  min-width: 200px;
  overflow-wrap: anywhere;
  font-weight: 600;
}
td.row-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
@media (max-width: 760px) {
  td.row-actions {
    width: 100%;
    text-align: left;
  }
  td.row-actions::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
