body.reklamation-row-detail-enabled .dashboard-component-chart-holder table tbody tr {
  cursor: pointer;
  transition: background-color 120ms ease;
}

body.reklamation-row-detail-enabled .dashboard-component-chart-holder table tbody tr:hover td {
  background-color: #f8eef1 !important;
}

.reklamation-timeline-card {
  position: relative;
}

.reklamation-timeline-legend {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 11px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #465564;
  font-size: 13px;
  line-height: 1.2;
  pointer-events: none;
}

.reklamation-timeline-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.reklamation-timeline-legend-marker {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.reklamation-timeline-legend-item--completed .reklamation-timeline-legend-marker {
  color: #00a6d6;
}

.reklamation-timeline-legend-item--followup .reklamation-timeline-legend-marker {
  color: #3f4f7f;
}

.reklamation-row-detail-backdrop {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 35, 46, 0.56);
}

.reklamation-row-detail-dialog {
  display: flex;
  flex-direction: column;
  width: min(1080px, 96vw);
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid #d7dde2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 31, 43, 0.28);
  color: #263746;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.reklamation-row-detail-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e5e9ec;
}

.reklamation-row-detail-heading {
  margin: 0;
  color: #1f303e;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.reklamation-row-detail-subtitle {
  margin: 5px 0 0;
  color: #687786;
  font-size: 13px;
}

.reklamation-row-detail-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d7dde2;
  border-radius: 8px;
  color: #475767;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.reklamation-row-detail-close:hover,
.reklamation-row-detail-close:focus {
  border-color: #a31e36;
  color: #a31e36;
  outline: none;
}

.reklamation-row-detail-content {
  overflow-y: auto;
  padding: 20px 22px 24px;
}

.reklamation-row-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.reklamation-row-detail-field {
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #e2e7eb;
  border-radius: 9px;
  background: #f8fafb;
}

.reklamation-row-detail-field--text {
  grid-column: 1 / -1;
  padding: 15px 16px;
  background: #fff;
}

.reklamation-row-detail-label {
  margin: 0 0 5px;
  color: #6b7884;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.reklamation-row-detail-value {
  margin: 0;
  color: #263746;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.reklamation-row-detail-field--text .reklamation-row-detail-value {
  min-height: 90px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
}

body.reklamation-row-detail-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .reklamation-timeline-legend {
    right: 14px;
    bottom: 9px;
    left: 14px;
    gap: 12px;
    font-size: 12px;
  }

  .reklamation-row-detail-backdrop {
    align-items: stretch;
    padding: 10px;
  }

  .reklamation-row-detail-dialog {
    width: 100%;
    max-height: 100%;
  }

  .reklamation-row-detail-grid {
    grid-template-columns: 1fr;
  }
}
