/* ==========================================================
   ProOffice Praxis – gemeinsames Design-System
   Inspiriert von dr-flex.de/aerzte: sanftes Lavendel im
   Hintergrund, dunkelgrüne Banner-Flächen, mintgrüne
   Pill-Buttons, freundliche, kräftige Typografie.
   Wird von book.html UND dashboard.html eingebunden.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Flächen: warmes, ruhiges Hellgrau statt reinem Weiß */
  --bg: #f5f3ef;
  --card: #ffffff;
  --border: #ebe8e1;
  --border-strong: #ddd8cd;

  /* Text */
  --text: #1c2530;
  --text-dim: #6b7280;

  /* Marke: dunkles Waldgrün + Minzgrün */
  --forest: #0f3d2e;
  --forest-dark: #0a2e22;
  --forest-tint: #e7f2ec;
  --mint: #3ddc97;
  --mint-dark: #27bd80;
  --mint-tint: #e3faf1;

  /* Neutrale Systemfarbe für Primär-Buttons/Sidebar (App-Look) */
  --ink: #14181a;
  --ink-dark: #000000;
  --panel-bg: #f6f4f0;

  /* Status */
  --green: #16a34a;
  --red: #dc2626;
  --yellow-bg: #fff7ed;
  --yellow-border: #fdba74;
  --blue-bg: #eaf1ff;
  --blue-text: #2563eb;
  --purple-bg: #f3ecfd;
  --purple-text: #7c3aed;

  /* Form */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(20, 24, 26, 0.03), 0 10px 28px rgba(20, 24, 26, 0.045);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3 { font-weight: 700; }

/* Dunkelgrüne Banner-Fläche, z.B. für Kopfbereiche */
.hero-band {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.hero-band h1 { margin: 0 0 4px; color: #fff; }
.hero-band p, .hero-band .praxis { color: rgba(255,255,255,0.72); }

/* Mintgrüner Pill-Button, überall wiederverwendet */
button.primary {
  display: inline-block;
  background: var(--mint);
  color: var(--forest-dark);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
button.primary:hover { background: var(--mint-dark); }
button.primary:active { transform: scale(0.98); }
button.primary:disabled { background: #d7dcd9; color: #8a9490; cursor: not-allowed; }

button.link {
  background: none;
  border: none;
  color: var(--forest);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

/* Dunkler Pill-Button für primäre App-Aktionen (z.B. "+ Neu") */
button.dark, a.dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 18px;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}
button.dark:hover, a.dark-pill:hover { background: var(--ink-dark); }

/* Soft-Badges im App-Stil (Status-Chips) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.chip.gray { background: #eef1f4; color: var(--text-dim); }
.chip.amber { background: var(--yellow-bg); color: #b45309; }
.chip.blue { background: var(--blue-bg); color: var(--blue-text); }
.chip.purple { background: var(--purple-bg); color: var(--purple-text); }
.chip.green { background: var(--mint-tint); color: var(--forest); }
.chip.red { background: #fee2e2; color: var(--red); }

/* Avatar-Kreis mit Initiale, für Tabellenzeilen (Patient/Anrufer) */
.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
