* {
  box-sizing: border-box;
}

:root {
  --navy: #08152f;
  --blue: #0b63ce;
  --cyan: #09c8ee;
  --text: #18243a;
  --muted: #667085;
  --border: #dfe5ee;
  --surface: #ffffff;
  --page: #f4f7fb;
  --danger: #c62828;
  --danger-dark: #a61f1f;
  --danger-soft: #fff3f2;
  --warning-border: #f3c7c3;
  --shadow: 0 22px 60px rgba(8, 21, 47, 0.12);
  --radius-lg: 22px;
  --radius-md: 12px;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(9, 200, 238, 0.08), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(11, 99, 206, 0.08), transparent 30%),
    var(--page);
}

.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dceaff;
  font-size: 13px;
  font-weight: 600;
}

.secure-badge svg {
  color: var(--cyan);
}

.page {
  width: min(720px, calc(100% - 32px));
  margin: 56px auto 42px;
}

.delete-card {
  background: var(--surface);
  border: 1px solid rgba(20, 40, 70, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}

.warning-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--warning-border);
  font-size: 25px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.intro {
  margin: 15px 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.warning-box {
  padding: 18px 19px;
  margin-bottom: 30px;
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-md);
  background: var(--danger-soft);
}

.warning-box strong {
  color: #7f1d1d;
  font-size: 14.5px;
}

.warning-box ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #5f3030;
  line-height: 1.7;
  font-size: 14px;
}

/* ---- Form ---- */

form {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 4px;
}

.field-grid .full-width {
  grid-column: 1 / -1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}

.form-group label span {
  color: var(--muted);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #fbfcfe;
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
  color: #9aa5b6;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667085' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover {
  border-color: #c3cddc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.12);
}

input:invalid:not(:placeholder-shown) {
  border-color: #e6a5a0;
}

.confirmation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fafcff;
  color: #4b5565;
  font-size: 13.5px;
  line-height: 1.55;
  cursor: pointer;
}

.confirmation input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--danger);
  cursor: pointer;
}

.error-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.btn {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(11, 99, 206, 0.22);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  color: var(--navy);
  background: #eef2f7;
}

.btn-secondary:hover {
  background: #e4e9f0;
}

.btn-danger {
  color: #fff;
  background: var(--danger);
  box-shadow: 0 7px 18px rgba(198, 40, 40, 0.2);
}

.btn-danger:hover {
  background: var(--danger-dark);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.support {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.support a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.support a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8490a3;
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 12, 27, 0.62);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden] {
  display: none;
}

.success-modal {
  width: min(440px, 100%);
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf8ef;
  color: #19713b;
  font-size: 25px;
  font-weight: 800;
}

.success-modal h2 {
  margin: 0;
  color: var(--navy);
}

.success-modal p {
  margin: 12px 0 24px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

@media (max-width: 600px) {
  .header-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    display: none;
  }

  .page {
    width: min(100% - 20px, 720px);
    margin-top: 24px;
  }

  .delete-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 28px, 720px);
  }
}