/* rateAssist – minimal overrides on AdminLTE / Bootstrap */
:root {
  --bs-primary: var(--ra-accent-primary, #1e5eff);
  --bs-primary-rgb: var(--ra-accent-primary-rgb, 30, 94, 255);
  --bs-link-color: var(--ra-accent-primary, #1e5eff);
  --bs-link-hover-color: var(--ra-accent-secondary, #6366f1);
}

.brand-image-customer {
  max-height: 32px;
  width: auto;
}

/* Hell: Sidebar etwas dunkler als Content, Abschluss per Kante statt matschigem Schatten */
[data-bs-theme="light"] .app-sidebar.bg-body-secondary {
  background-color: #d7dde5 !important;
  box-shadow: none !important;
  border-right: 1px solid #c3cad4;
}

[data-bs-theme="light"] .app-sidebar .sidebar-brand {
  border-bottom-color: #c3cad4;
}

/* Logo enthält bereits den Schriftzug – zentriert, ohne brand-text */
.app-sidebar .sidebar-brand {
  height: auto;
  min-height: 3.5rem;
  padding: 0.65rem 0.75rem;
}

.app-sidebar .brand-link--logo-only {
  justify-content: center;
  width: 100%;
}

.app-sidebar .brand-link--logo-only .brand-image-xl {
  float: none;
  display: block;
  max-height: 42px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}

.ra-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ra-autosave {
  font-size: 0.875rem;
}

.field-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.15rem;
  border-radius: 50%;
  border: 1px solid var(--bs-secondary-color);
  color: var(--bs-secondary-color);
  font-size: 0.7rem;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

.field-help__tip--floating {
  position: fixed;
  z-index: 2000;
  max-width: 280px;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--bs-box-shadow);
  font-size: 0.875rem;
}

.machine-row-selected {
  --bs-table-bg: rgba(var(--bs-primary-rgb), 0.08);
}

.landing-hero {
  min-height: 70vh;
}

.ra-logo-nav {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(220px, 70vw);
}

.ra-logo-hero {
  display: block;
  height: auto;
  width: auto;
  max-height: 72px;
  max-width: min(320px, 100%);
  margin-inline: auto;
}

.ra-logo-login {
  display: block;
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: min(280px, 100%);
  margin-inline: auto;
}
