.deletion-hero {
  max-width: 900px;
}

.deletion-panel {
  display: grid;
  gap: 24px;
  margin: 28px 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 122, 138, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(49, 25, 38, 0.88), rgba(12, 18, 32, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.deletion-panel-heading h3 {
  margin: 0 0 10px;
  color: #f5f7ff;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: -0.025em;
}

.deletion-panel-heading p:last-child {
  margin: 0;
}

.deletion-step {
  margin: 0 0 8px;
  color: #ff9caa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deletion-field {
  display: grid;
  gap: 9px;
}

.deletion-field label {
  color: #edf2ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.deletion-field textarea,
.deletion-field input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  color: #f7f9ff;
  font: inherit;
  line-height: 1.5;
  border: 1px solid rgba(190, 205, 236, 0.3);
  border-radius: 13px;
  outline: 0;
  background: rgba(4, 8, 17, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.deletion-field textarea {
  min-height: 118px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.deletion-confirmation-field {
  max-width: 390px;
}

.deletion-field textarea:focus-visible,
.deletion-field input[type="text"]:focus-visible,
.deletion-checkbox input:focus-visible,
.danger-action:focus-visible,
.quiet-action:focus-visible {
  outline: 3px solid #67efd0;
  outline-offset: 3px;
}

.field-help {
  margin: 0;
  color: #95a5c3;
  font-size: 0.8rem;
  line-height: 1.55;
}

.deletion-checkbox {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 17px;
  color: #cbd5e8;
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid rgba(190, 205, 236, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.deletion-checkbox input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #56e0c1;
}

.deletion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.danger-action,
.quiet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 13px;
  cursor: pointer;
}

.danger-action {
  color: #22070d;
  border: 1px solid #ff8da0;
  background: linear-gradient(135deg, #ff9bab, #ff788e);
  box-shadow: 0 12px 28px rgba(255, 91, 119, 0.18);
}

.quiet-action {
  color: #d8e1f3;
  border: 1px solid rgba(190, 205, 236, 0.23);
  background: rgba(255, 255, 255, 0.045);
}

.danger-action:hover:not(:disabled),
.quiet-action:hover:not(:disabled) {
  filter: brightness(1.08);
}

.danger-action:disabled,
.quiet-action:disabled {
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.52;
}

.danger-action[hidden],
.quiet-action[hidden] {
  display: none !important;
}

.deletion-status,
.deletion-noscript {
  margin: 0;
  padding: 14px 16px;
  color: #c9d5eb;
  font-size: 0.84rem;
  line-height: 1.55;
  border: 1px solid rgba(190, 205, 236, 0.18);
  border-radius: 12px;
  background: rgba(7, 12, 23, 0.62);
}

.deletion-status[data-kind="working"] {
  border-color: rgba(107, 140, 255, 0.42);
  background: rgba(78, 105, 202, 0.12);
}

.deletion-status[data-kind="warning"] {
  border-color: rgba(255, 202, 112, 0.38);
  background: rgba(160, 108, 27, 0.12);
}

.deletion-status[data-kind="error"] {
  border-color: rgba(255, 122, 138, 0.4);
  background: rgba(158, 44, 64, 0.13);
}

.deletion-status[data-kind="success"] {
  border-color: rgba(86, 224, 193, 0.42);
  background: rgba(34, 151, 125, 0.13);
}

.deletion-safety-note {
  margin-top: 24px;
}

@media (min-width: 821px) and (max-width: 1180px) {
  .deletion-panel {
    padding: 30px;
  }

  .deletion-actions > * {
    flex: 1 1 220px;
  }
}

@media (max-width: 620px) {
  .deletion-panel {
    gap: 20px;
    padding: 20px;
    border-radius: 19px;
  }

  .deletion-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .deletion-actions > * {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .deletion-panel {
    padding: 17px;
  }

  .deletion-checkbox {
    padding: 14px;
  }
}
