body {
  font-size: 0.9rem;
}

/* ── Brand Farbe: #0069b4 ────────────────────────────────────── */
:root {
  --bs-primary:              #0069b4;
  --bs-primary-rgb:          0, 105, 180;
  --bs-link-color:           #0069b4;
  --bs-link-color-rgb:       0, 105, 180;
  --bs-link-hover-color:     #005899;
  --bs-link-hover-color-rgb: 0, 88, 153;
  --bs-focus-ring-color:     rgba(0, 105, 180, 0.25);
}

.btn-primary {
  --bs-btn-bg:                    #0069b4;
  --bs-btn-border-color:          #0069b4;
  --bs-btn-hover-bg:              #005fa2;
  --bs-btn-hover-border-color:    #00589a;
  --bs-btn-active-bg:             #00538c;
  --bs-btn-active-border-color:   #004d85;
  --bs-btn-disabled-bg:           #0069b4;
  --bs-btn-disabled-border-color: #0069b4;
  --bs-btn-focus-shadow-rgb:      0, 105, 180;
}

.btn-outline-primary {
  --bs-btn-color:              #0069b4;
  --bs-btn-border-color:       #0069b4;
  --bs-btn-hover-bg:           #0069b4;
  --bs-btn-hover-border-color: #0069b4;
  --bs-btn-active-bg:          #0069b4;
  --bs-btn-active-border-color:#0069b4;
  --bs-btn-focus-shadow-rgb:   0, 105, 180;
}

.bg-primary                       { background-color: #0069b4 !important; }
.text-primary                     { color: #0069b4 !important; }
.border-primary                   { border-color: #0069b4 !important; }
.link-primary                     { color: #0069b4 !important; }

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link { color: #0069b4; border-bottom-color: #0069b4; }

.nav-pills .nav-link.active        { background-color: #0069b4; }

.form-check-input:checked          { background-color: #0069b4; border-color: #0069b4; }

.progress-bar                      { background-color: #0069b4; }

a { color: #0069b4; }
a:hover { color: #005899; }
/* ──────────────────────────────────────────────────────────────── */

/* Navbar: Trennlinie zwischen Hauptnav und Account nur auf Mobile */
@media (min-width: 992px) {
  .border-lg-0 { border: 0 !important; }
}

/* Protokoll-Tabs: Text kürzen auf sehr kleinen Screens */
@media (max-width: 480px) {
  #tab-transcript-btn .tab-label,
  #tab-recording-btn .tab-label { display: none; }
}

/* Touch-freundlichere Tabellen-Aktionsbuttons */
@media (max-width: 767.98px) {
  .table .btn-sm { min-width: 36px; min-height: 36px; }
}

.navbar-logo {
  display: block;
}

.card {
  border-radius: 0.5rem;
}

.table > :not(caption) > * > * {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Job status badges */
.badge-pending   { background-color: #6c757d; }
.badge-running   { background-color: #0069b4; }
.badge-done      { background-color: #198754; }
.badge-error     { background-color: #dc3545; }

/* Puls-Animation für den Record-Button */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5); }
  50%       { box-shadow: 0 0 0 14px rgba(220, 53, 69, 0); }
}
.recording-pulse {
  animation: pulse-red 1.5s ease-in-out infinite;
}

/* Protocol content rendered from Markdown */
.protocol-content h1 { font-size: 1.4rem; margin-top: 1.5rem; }
.protocol-content h2 { font-size: 1.2rem; margin-top: 1.25rem; }
.protocol-content h3 { font-size: 1.05rem; margin-top: 1rem; }
.protocol-content hr  { margin: 1.5rem 0; }

/* Transkription */
.transcript-text {
  font-family: inherit;
  font-size: 0.875rem;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
