/* Globale No-Show-Historie im Dashboard. */
.floor-mode .dashboard-history-toggle {
  width: auto;
  margin: 0 0 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent !important;
  color: var(--bordeaux, #8e1723) !important;
  box-shadow: inset 0 0 0 1px var(--bordeaux, #8e1723);
  white-space: nowrap;
  transition: background .16s, color .16s, opacity .16s;
}

.floor-mode .dashboard-history-toggle:hover {
  background: #8e172312 !important;
}

.floor-mode .dashboard-history-toggle.active {
  background: var(--bordeaux, #8e1723) !important;
  color: var(--paper, #fff) !important;
  box-shadow: none;
}

.floor-mode #temporary-game-action > button:disabled,
.floor-mode .dashboard-layout-toggle button:disabled {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

.dashboard-history-panel {
  width: 100%;
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px solid #ddd9cf;
  border-radius: 9px;
  background: #fff;
  box-sizing: border-box;
}

.dashboard-history-panel .desk-panel-head {
  margin: 0 0 16px;
}

.dashboard-history-panel .desk-panel-head h3 {
  margin: 0;
  color: #172b3e;
}

.dashboard-history-panel .desk-panel-head h3 small {
  color: #65737d;
  font-weight: 650;
}

.dashboard-history-panel .desk-panel-head p {
  margin: 5px 0 0;
  color: #65737d;
  font-size: 13px;
}

.dashboard-history-table {
  width: 100%;
  border-collapse: collapse;
  color: #314351;
}

.dashboard-history-table th {
  padding: 0;
  border-bottom: 1px solid #ddd9cf;
  text-align: left;
}

.dashboard-history-table th > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 10px;
  border: 0;
  background: transparent;
  color: #53606c;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-history-table th > button:hover {
  color: #0b7786;
}

.dashboard-history-table th > button span {
  color: #008896;
  font-size: 14px;
}

.dashboard-history-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #eeeae3;
  font-size: 14px;
  vertical-align: middle;
}

.dashboard-history-table td:last-child,
.dashboard-history-table th:last-child {
  text-align: right;
}

.dashboard-history-table td strong {
  color: #172b3e;
}

.dashboard-history-table .dashboard-history-empty {
  padding: 22px 10px;
  color: #65737d;
  text-align: center;
}

.dashboard-history-restore {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #0b7786;
  border-radius: 5px;
  background: transparent;
  color: #0b7786;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-history-restore:hover {
  background: #0b7786;
  color: #fff;
}

.dashboard-history-restore:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.floor-players:has(.dashboard-history-panel) {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-history-table tbody tr:has(.dashboard-history-restore:hover) {
  background: #e8f4f2;
}
