/* Landärztin: nur die Bestelloberfläche. Ordination und Admin laden diese Datei nicht. */
@font-face {
  font-family: Asap;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/asap-regular.ttf') format('truetype');
}

.practice-order-page {
  --bg: #eafffa;
  --surface: rgba(234, 255, 250, .44);
  --text: #000;
  --muted: #263f3b;
  --quiet: #526660;
  --line: rgba(47, 99, 112, .2);
  --line-strong: rgba(47, 99, 112, .4);
  --brand: #12494b;
  --brand-dark: #071f24;
  --brand-soft: rgba(69, 219, 195, .18);
  --focus: #12494b;
  --mint: #45dbc3;
  --shadow-soft: 0 5px 18px rgba(11, 52, 60, .06);
  --radius-xl: 16px;
  --radius-lg: 16px;
  --radius-md: 16px;
  --radius-sm: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: Asap, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  isolation: isolate;
}

.practice-order-page::before {
  background: linear-gradient(rgba(234, 255, 250, .52), rgba(234, 255, 250, .52)),
    url('/assets/practice-nature.jpg') center / cover no-repeat;
  filter: blur(9px) saturate(85%);
  mask-image: none;
  transform: scale(1.04);
}

.practice-order-page :is(h1, h2, h3) {
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: pretty;
}

.practice-order-page .section-heading h2,
.practice-order-page .confirmation-hero h2,
.practice-order-page .dialog-content h2 { font-size: 24px; line-height: 32px; }
.practice-order-page .medication-title h3,
.practice-order-page #status-title { font-size: 20px; line-height: 28px; }
.practice-order-page :is(button, input, textarea, select) { font-family: inherit; }
.practice-order-page :is(button, .main-nav a, .secondary-button, .scan-card, .scanner-box, .scanner-video-wrap) { border-radius: 16px; }
.practice-order-page :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.practice-order-page :is(.consent a, .privacy-link a) { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.practice-order-page a:hover { background-color: var(--brand-soft); }

.practice-order-page .site-header {
  background: rgba(234, 255, 250, .6);
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  grid-template-columns: auto 1fr;
  gap: 16px;
}
.practice-order-page .brand { color: #000; font-weight: 600; letter-spacing: 0; }
.practice-order-page .brand-mark {
  background: rgba(69, 219, 195, .5);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  color: var(--brand-dark);
}
.practice-order-page .main-nav { background: transparent; border: 0; padding: 0; justify-content: end; }
.practice-order-page .main-nav a { color: #000; font-weight: 500; transform: none; }

.practice-order-page main { padding-top: 32px; }
.practice-order-page .layout { gap: 32px; }
.practice-order-page :is(.request-panel, .submission-confirmation) {
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  scroll-margin-top: 100px;
}
.practice-order-page .status-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  scroll-margin-top: 100px;
}
.practice-order-page .practice-logo-wrap {
  background: linear-gradient(135deg, rgba(234, 255, 250, .16), rgba(234, 255, 250, .02));
  border: 0;
  box-shadow: none;
  border-radius: 16px;
  width: 160px;
  min-height: 160px;
  margin: 0 auto 24px;
  padding: 16px;
}
.practice-order-page .practice-logo { max-height: 128px; }
.practice-order-page .section-heading { margin-bottom: 24px; }
.practice-order-page .field-grid { gap: 16px; }
.practice-order-page .field span,
.practice-order-page .field label span { color: #000; font-size: 14px; line-height: 20px; font-weight: 600; }
.practice-order-page :is(input, textarea) {
  background: rgba(255, 255, 255, .7);
  color: #000;
  font-size: 16px;
  line-height: 24px;
}
.practice-order-page :is(input, textarea)::placeholder { color: #526660; opacity: 1; }
.practice-order-page :is(input, textarea):focus { border-color: var(--focus); background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 3px rgba(18, 73, 75, .12); }
.practice-order-page input.is-invalid { background: #fffafa; border-color: #b42318; }
.practice-order-page .medication-block { margin: 32px 0 24px; }
.practice-order-page .medication-title { margin-bottom: 16px; }
.practice-order-page .scan-card { background: rgba(234, 255, 250, .28); border-color: var(--line); padding: 16px; margin-bottom: 16px; }
.practice-order-page .scan-card-icon { background: var(--brand-soft); border-color: rgba(255, 255, 255, .65); }
.practice-order-page .barcode-stroke { color: var(--brand); }
.practice-order-page .scan-card-copy strong { font-weight: 600; line-height: 24px; }
.practice-order-page .remove-medication { border-radius: 16px; }
.practice-order-page :is(.submit-button, .scan-primary-button) {
  background: rgba(69, 219, 195, .84);
  color: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 5px 18px rgba(69, 219, 195, .25);
  font-weight: 600;
  letter-spacing: 0;
  transform: none;
}
.practice-order-page :is(.submit-button, .scan-primary-button):hover { background: var(--mint); transform: none; }
.practice-order-page .secondary-button,
.practice-order-page .text-button:not(.status-delete-button) {
  background: rgba(234, 255, 250, .5);
  border: 1px solid var(--line-strong);
  color: var(--brand-dark);
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0;
  transform: none;
}
.practice-order-page .secondary-button:hover,
.practice-order-page .text-button:not(.status-delete-button):hover { background: rgba(69, 219, 195, .25); }
.practice-order-page .optional-notes summary { color: #000; font-weight: 500; }
.practice-order-page :is(.notification-toggle, .consent, .privacy-link) { color: #000; line-height: 1.75; }
.practice-order-page :is(.status-mark, .confirmation-mark, .success-step-icon, .dialog-status-icon) { border-radius: 16px; background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.practice-order-page .confirmation-mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.practice-order-page :is(.confirmation-number, .success-next-steps, .status-result) { background: rgba(234, 255, 250, .44); border-color: var(--line); box-shadow: none; }
.practice-order-page .success-step { background: transparent; border: 0; padding: 8px 0; }
.practice-order-page .confirmation-kicker { color: #000; font-weight: 600; letter-spacing: 0; text-transform: none; }
.practice-order-page .confirmation-number span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.practice-order-page .confirmation-number strong { font-weight: 600; }
.practice-order-page .dialog-content { background: rgba(234, 255, 250, .96); border-radius: 16px; }
.practice-order-page .site-footer { font-size: 14px; line-height: 24px; }
.practice-order-page .site-footer a { color: #000; font-weight: 400; }
.practice-order-page .notice--subtle { background: rgba(234, 255, 250, .4); border: 0; box-shadow: none; opacity: 1; margin-bottom: 24px; }
.practice-order-page .notice--subtle :is(strong, p) { color: var(--muted); font-weight: 400; }
.practice-order-page :is(.request-panel, .submission-confirmation, .status-panel, .notice) { animation: none; }

@media (max-width: 720px) {
  .practice-order-page .site-header { gap: 8px; grid-template-columns: auto 1fr; padding: 12px 16px; }
  .practice-order-page .brand { gap: 8px; font-size: 16px; }
  .practice-order-page .brand-mark { width: 36px; height: 36px; }
  .practice-order-page .main-nav { display: flex; }
  .practice-order-page .main-nav a { padding: 8px; font-size: 14px; }
  .practice-order-page main { padding: 24px 16px 48px; }
  .practice-order-page :is(.request-panel, .submission-confirmation, .status-panel) { padding: 16px; }
  .practice-order-page .practice-logo-wrap { width: 128px; min-height: 128px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.practice-order-page) { scroll-behavior: auto; }
  .practice-order-page *, .practice-order-page *::before, .practice-order-page *::after { transition: none; }
}
