.location-danger-zone {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid #ead5ce;
  border-radius: 15px;
  background: #fff8f5;
}

.location-danger-zone strong {
  display: block;
  margin-bottom: 3px;
  color: #77483c;
  font-size: 12px;
}

.location-danger-zone p {
  margin: 0;
  color: #9a756c;
  font-size: 10px;
  line-height: 1.4;
}

.location-danger-zone button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  color: #9a4e3e;
  border: 1px solid #e3c3ba;
  border-radius: 11px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.delete-location-summary {
  display: grid;
  grid-template-columns: 48px repeat(2, auto) 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff5f1, #f7f2e9);
}

.delete-location-summary > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #9c5545;
  border-radius: 14px;
  background: rgba(255, 255, 255, .75);
}

.delete-location-summary div {
  display: grid;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid rgba(140, 104, 92, .15);
}

.delete-location-summary strong {
  color: #64483f;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.delete-location-summary small {
  color: #8d7c75;
  font-size: 9px;
}

.delete-location-modes {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.delete-location-modes legend {
  margin-bottom: 7px;
  color: #59635f;
  font-size: 10px;
  font-weight: 800;
}

.delete-mode {
  position: relative;
  cursor: pointer;
}

.delete-mode input {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  pointer-events: none;
}

.delete-mode > span {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  column-gap: 11px;
  padding: 12px 14px;
  color: #607069;
  border: 1px solid #dedfd9;
  border-radius: 14px;
  background: #fff;
}

.delete-mode > span > svg {
  grid-row: 1 / 3;
  justify-self: center;
}

.delete-mode strong {
  color: #3e4b46;
  font-size: 11px;
}

.delete-mode small {
  margin-top: 2px;
  color: #8a918d;
  font-size: 9px;
}

.delete-mode input:checked + span {
  color: var(--green);
  border-color: #a9beb5;
  background: #f0f5f1;
  box-shadow: inset 0 0 0 1px rgba(41, 79, 69, .08);
}

.delete-mode.danger input:checked + span {
  color: #a15343;
  border-color: #d9afa4;
  background: #fff5f2;
}

.delete-mode.disabled {
  opacity: .45;
  cursor: not-allowed;
}

.delete-destination,
.delete-confirm-field {
  margin-top: 14px;
}

.delete-confirm-field label,
.delete-confirm-field small {
  display: block;
}

.delete-confirm-field label {
  margin-bottom: 6px;
  color: #6f4f46;
  font-size: 10px;
  font-weight: 800;
}

.delete-confirm-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid #dfc7c0;
  border-radius: 12px;
  background: #fff;
}

.delete-confirm-field small {
  margin-top: 5px;
  color: #9a817a;
  font-size: 9px;
}

.location-delete-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  color: #75807b;
  border-radius: 12px;
  background: #f4f2ec;
  font-size: 9px;
  line-height: 1.45;
}

.location-delete-note svg {
  flex: 0 0 auto;
}

.location-undo-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: #6e5147;
  border: 1px solid #dcc7be;
  border-radius: 11px;
  background: #fff8f5;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 700px) {
  .location-danger-zone {
    align-items: flex-start;
    flex-direction: column;
  }

  .delete-location-summary {
    grid-template-columns: 42px repeat(2, 1fr);
    gap: 10px;
  }

  .delete-location-summary > span {
    width: 42px;
    height: 42px;
  }

  .delete-location-summary div {
    padding-right: 0;
    border-right: 0;
  }

  .location-command-row {
    flex-wrap: wrap;
  }

  .location-undo-button {
    max-width: 100%;
  }
}

