/*
 * Öffentliche Seiten mit Gesundheitsangaben (Korrektur 02.10., Fund „CDN"):
 * /leistungen/<slug> (Buchung weiterer pharmazeutischer Dienstleistungen)
 * und /leistungen/<slug>/cancel. Selbst gehostet — die Seiten laden KEIN
 * Fremdskript mehr (vorher cdn.tailwindcss.com ohne SRI: ein Drittanbieter-
 * Skript mit vollem Zugriff auf Name und Gesundheitsantworten VOR dem
 * Versiegeln). Die Seiten senden dazu eine CSP mit script-src 'self' und
 * style-src 'self' (src/termine/pdl_buchung_routes.ts, oeffentlicheCsp).
 *
 * Inhalt: genau die Tailwind-Klassen (v3, gleiche Werte), die
 * views/leistungen_public.ejs, views/leistungen_cancel.ejs,
 * views/_pdl_fragen_online.ejs, views/_layout_oeffentlich.ejs (seit Runde 2
 * mit dem Einrichtungs-Hinweis für angemeldetes Personal wie in
 * _layout_head) und public/js/pdl-buchung.js verwenden — der Test „oeffentlich.css deckt jede
 * Klasse ab" (src/termine/pdl_oeffentlich.test.ts) prüft das. Neue Klassen
 * auf diesen Seiten brauchen hier eine Regel.
 */

/* ── Grundlage (Auszug aus Tailwind Preflight) ─────────────────────────── */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
body {
  margin: 0;
  line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select {
  text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
summary {
  display: list-item;
}
/* Julian 12.10.2026: Logo der Apotheke (views/_apotheke_logo.ejs, bis 320 px
   breit) passt sich schmalen Handys an — wie Tailwind Preflight / impfen.css. */
img, video {
  max-width: 100%;
  height: auto;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
input::placeholder, textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button, [role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}

/* ── Hilfsklassen der Seiten ───────────────────────────────────────────── */
.db-bg { background: #1f6b46; }
/* Honeypot-Feld (vorher Inline-Stil — style-src 'self' erlaubt keine style-Attribute). */
.hp { position: absolute; left: -9999px; top: -9999px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Anzeige, Flex, Grid ───────────────────────────────────────────────── */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.self-start { align-self: flex-start; }
.justify-end { justify-content: flex-end; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-\[auto\,1fr\] { grid-template-columns: auto 1fr; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1 { row-gap: 0.25rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-bottom-width: 0; }
.divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #f1f5f9; }

/* ── Größen ────────────────────────────────────────────────────────────── */
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }

/* ── Abstände ──────────────────────────────────────────────────────────── */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-5 { margin-left: 1.25rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-4 { padding-top: 1rem; }

/* ── Rahmen, Ecken, Schatten ───────────────────────────────────────────── */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-400 { border-color: #94a3b8; }
.border-emerald-700 { border-color: #047857; }
.border-amber-400 { border-color: #fbbf24; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ── Hintergründe ──────────────────────────────────────────────────────── */
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }

/* ── Schrift ───────────────────────────────────────────────────────────── */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.tracking-wide { letter-spacing: 0.025em; }
.break-words { overflow-wrap: break-word; }
.whitespace-nowrap { white-space: nowrap; }
.list-disc { list-style-type: disc; }
.cursor-pointer { cursor: pointer; }
.accent-emerald-700 { accent-color: #047857; }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-emerald-900 { color: #064e3b; }
.text-amber-950 { color: #451a03; }
.text-red-800 { color: #991b1b; }

/* ── Zustände (Varianten) ──────────────────────────────────────────────── */
.first\:mt-0:first-child { margin-top: 0; }
.first\:pt-0:first-child { padding-top: 0; }
.first\:border-0:first-child { border-width: 0; }
.empty\:hidden:empty { display: none; }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.aria-\[invalid\=true\]\:border-2[aria-invalid="true"] { border-width: 2px; }
.aria-\[invalid\=true\]\:border-red-700[aria-invalid="true"] { border-color: #b91c1c; }
.has-\[\:checked\]\:border-emerald-700:has(:checked) { border-color: #047857; }
.has-\[\:checked\]\:bg-emerald-50:has(:checked) { background-color: #ecfdf5; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible,
.has-\[\:focus-visible\]\:ring-2:has(:focus-visible) {
  --tw-ring-offset-shadow: 0 0 0 var(--tw-ring-offset-width, 0px) var(--tw-ring-offset-color, #fff);
  --tw-ring-shadow: 0 0 0 calc(2px + var(--tw-ring-offset-width, 0px)) var(--tw-ring-color, rgb(59 130 246 / 0.5));
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus-visible\:ring-offset-2:focus-visible { --tw-ring-offset-width: 2px; }
.focus-visible\:ring-emerald-700:focus-visible,
.has-\[\:focus-visible\]\:ring-emerald-700:has(:focus-visible) { --tw-ring-color: #047857; }
.focus-visible\:ring-red-800:focus-visible { --tw-ring-color: #991b1b; }

/* ── ab 640 px (sm:) ───────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
