/* Base */
html, body {
  background: #fff;
}

body {
  background: #fff;
  color: #222;
}

.small {
  color: #666;
  font-size: 12px;
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: #f3f3f3;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
}

/* Header */
.app-logo {
  height: 60px;
  width: auto;
}

/* Cards */
.card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

/* Tables */
.table thead th {
  font-size: 12px;
  color: #666;
  text-transform: none;
}

/* Status indicators */
.statusbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.12);
}

.dot.ok   { background: #21a366; }
.dot.warn { background: #f2c200; }
.dot.bad  { background: #d83b01; }
.dot.na   { background: #c8c8c8; }

.legend {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.legend .item {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Hamburger button */
.btn-ham {
  width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Dropdown / clipping fixes */
.table-responsive {
  overflow-x: auto;
  overflow-y: visible;
}

.dropdown-menu {
  z-index: 2000;
}

.card,
.card-body,
.table,
.table-responsive {
  overflow: visible;
}

/* Eventanzeige / Eventnamen größer */
.ave-event-name,
.event-name-big,
.event-badge-big {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .ave-event-name,
  .event-name-big,
  .event-badge-big {
    font-size: 1.55rem;
  }
}

/* Einheitliche Legende */
.vr-legend-card {
  position: sticky;
  top: 146px;
  z-index: 1040;
}

.vr-legend-title {
  font-size: 1rem;
  font-weight: 800;
  color: #333;
}

.vr-legend-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.vr-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.vr-legend-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.15);
}

.vr-legend-dot.green  { background: #16a34a; }
.vr-legend-dot.orange { background: #f59e0b; }
.vr-legend-dot.red    { background: #dc2626; }
.vr-legend-dot.gray   { background: #c7c7c7; }

.vr-legend-note {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}

/* Farbflächen für Statuszeilen */
.vr-row-blocked {
  background: rgba(220, 38, 38, .12) !important;
}

.vr-row-warning {
  background: rgba(245, 158, 11, .12) !important;
}

.vr-row-blocked td,
.vr-row-warning td {
  border-top-color: rgba(0,0,0,.06);
}

/* Footer helpers */
.ave-footer-title {
  color: #444;
  font-size: 15px;
  font-weight: 700;
}

/* Kleine responsive Verbesserungen */
@media (max-width: 767.98px) {
  .vr-legend-card {
    top: 132px;
  }

  .vr-legend-wrap {
    gap: 8px 10px;
  }

  .vr-legend-item {
    font-size: 13px;
  }
}