.team-delete-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid #555;
  border-radius: 12px;
  background: #15171a;
  color: #f5f5f5;
  overflow-wrap: anywhere;
  box-shadow: 0 16px 48px #0006;
  font: inherit;
}

.team-delete-dialog::backdrop {
  background: #0009;
}

.team-delete-dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.team-delete-dialog p {
  margin: 0 0 24px;
  line-height: 1.6;
}

.team-delete-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.team-delete-actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #888;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.team-delete-actions .team-delete-confirm {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
}

.team-delete-actions button:focus-visible {
  outline: 3px solid #009688;
  outline-offset: 3px;
}

.team-delete-actions button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.team-delete-dialog .team-delete-error {
  color: #ffb4ab;
}

html.light .team-delete-dialog {
  border-color: #cbd5e1;
  background: #fff;
  color: #18252c;
}

html.light .team-delete-dialog .team-delete-error {
  color: #b42318;
}
