:root{
  --zf-radius: 16px;
}

.card{
  border-radius: var(--zf-radius);
}

.icon-badge{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.project-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  vertical-align: middle;
}

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

.running-timer{
  font-variant-numeric: tabular-nums;
}

.bg-body-tertiary{
  border-radius: 14px;
}

.navbar-brand img{
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.12));
}

/* Slightly larger brand logo for better readability */
.navbar-brand img.navbar-logo{
  width: 36px;
  height: 36px;
}

@media (min-width: 992px){
  .navbar-brand img.navbar-logo{
    width: 40px;
    height: 40px;
  }
}

footer{
  opacity: .9;
}


.project-chip{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}

.project-dot-lg{
  width:14px;
  height:14px;
  border-radius:999px;
  display:inline-block;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  vertical-align:middle;
}

.project-color-select{
  border-left: .45rem solid var(--project-color, var(--bs-border-color));
  transition: border-color .15s ease, box-shadow .15s ease;
}

.project-color-select:focus{
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
}

/* Grafischer Report-Designer */
.report-designer-preview-wrap {
  background: repeating-linear-gradient(45deg, rgba(127,127,127,.08), rgba(127,127,127,.08) 10px, rgba(127,127,127,.03) 10px, rgba(127,127,127,.03) 20px);
  border-radius: 1rem;
  padding: 1rem;
  overflow: auto;
}
.report-designer-paper {
  --rd-accent: var(--bs-primary);
  width: min(100%, 420px);
  min-height: 594px;
  margin: 0 auto;
  background: #fff;
  color: #212529;
  border-radius: .35rem;
  box-shadow: 0 .75rem 2rem rgba(0,0,0,.16);
  padding: 1.35rem;
  font-size: .72rem;
}
.report-designer-paper.is-landscape {
  width: min(100%, 560px);
  min-height: 396px;
}
.report-designer-paper.is-compact {
  font-size: .66rem;
  padding: 1rem;
}
.report-designer-paper .rd-block { margin-bottom: .75rem; }
.report-designer-paper .rd-header { display: flex; align-items: flex-start; gap: .75rem; }
.report-designer-paper .rd-logo {
  width: 4rem;
  height: 2rem;
  border-radius: .25rem;
  background: color-mix(in srgb, var(--rd-accent) 12%, white);
  border: 1px solid color-mix(in srgb, var(--rd-accent) 35%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-accent);
  font-weight: 700;
}
.report-designer-paper .rd-title { font-size: 1.2rem; font-weight: 700; color: var(--rd-accent); }
.report-designer-paper .rd-muted { color: #6c757d; }
.report-designer-paper .rd-summary { border-left: .25rem solid var(--rd-accent); padding-left: .75rem; }
.report-designer-paper .rd-footer { border-top: 1px solid #dee2e6; padding-top: .5rem; color: #6c757d; }
.report-designer-paper .rd-signature { margin-top: 1rem; }
.report-designer-paper .rd-sign-line { height: 2.4rem; border-bottom: 1px solid #212529; width: 50%; }
.report-designer-paper .rd-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.report-designer-paper .rd-table th {
  background: var(--rd-accent);
  color: #fff;
  padding: .3rem;
  border: 1px solid var(--rd-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-designer-paper .rd-table td {
  padding: .28rem;
  border: 1px solid #dee2e6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-designer-paper .rd-table tbody tr:nth-child(even) td { background: #f8f9fa; }
.designer-list-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  border-radius: .75rem;
  padding: .75rem;
}
.designer-list-item.is-dragging { opacity: .65; }
.designer-list-item.is-drag-over { outline: 2px dashed var(--bs-primary); outline-offset: 2px; }
.designer-drag-handle { color: var(--bs-secondary-color); cursor: grab; font-size: 1.25rem; }
.designer-toggle { min-width: 2.5rem; }
.min-width-0 { min-width: 0; }
.report-designer-paper .rd-company-name { font-size: .84rem; }
.report-designer-paper .rd-table-block { margin-top: .35rem; }
.report-designer-paper .rd-table-title { font-weight: 700; color: var(--rd-accent); margin-bottom: .25rem; }
.report-designer-paper .rd-logo + .rd-company-name { margin-top: -.25rem; }
.report-designer-paper .rd-logo-block { display: flex; width: 100%; }
.report-designer-paper .rd-logo-left { justify-content: flex-start; }
.report-designer-paper .rd-logo-center { justify-content: center; }
.report-designer-paper .rd-logo-right { justify-content: flex-end; }
.report-designer-paper .rd-table.rd-table-auto { width: auto; max-width: 100%; }

/* Report-Designer Footer: mehrzeilig und frei ausrichtbar */
.report-designer-paper .rd-footer {
  white-space: normal;
  overflow-wrap: anywhere;
}
.report-designer-paper .rd-footer-left { text-align: left; }
.report-designer-paper .rd-footer-center { text-align: center; }
.report-designer-paper .rd-footer-right { text-align: right; }

/* Superadmin-Nachrichten: HTML formatierte Hinweisboxen */
.announcement-html {
  white-space: pre-wrap;
}
.announcement-html p:last-child,
.announcement-html ul:last-child,
.announcement-html ol:last-child,
.announcement-html blockquote:last-child {
  margin-bottom: 0;
}
.announcement-html blockquote {
  border-left: .25rem solid var(--bs-border-color);
  margin: .5rem 0;
  padding: .25rem .75rem;
}
