/* The /delete-account page, in the app's "Tangerine" colours. Every colour
   is set, so a browser in dark mode shows it the same way. */
:root {
  color-scheme: light;
  --background: #fff6ee;
  --tangerine: #ff6a2b;
  --ink: #2b1408;
  --muted: #6b4a36;
  --card: #ffffff;
  --tint: #ffebdd;
  --border: #eedccd;
  --danger: #b42318;
  --danger-tint: #fbe3df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 22px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tangerine);
  font-weight: 900;
  font-size: 32px;
  margin: 0 0 24px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

h1 {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 8px;
}

h2 {
  font-size: 19px;
  margin: 28px 0 8px;
}

.muted {
  color: var(--muted);
}

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 4px 10px rgba(43, 20, 8, 0.06);
}

.card p {
  margin: 0 0 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.notice {
  background: var(--tint);
  border-radius: 12px;
  padding: 12px 14px;
}

ol,
ul {
  padding-left: 22px;
  margin: 8px 0;
}

li {
  margin-bottom: 4px;
}

label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

input {
  display: block;
  width: 100%;
  font: inherit;
  color: #111827;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 16px;
}

input::placeholder {
  color: #6b7280;
}

button {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  border: 0;
  border-radius: 22px;
  padding: 16px;
  margin-top: 16px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.primary {
  background: var(--tangerine);
  color: var(--ink);
}

.danger {
  background: var(--danger);
  color: var(--card);
}

.link {
  background: none;
  color: var(--ink);
  text-decoration: underline;
  font-size: 15px;
  padding: 8px;
}

.error {
  color: var(--danger);
  font-weight: 500;
  margin: 12px 0 0;
}

a {
  color: var(--ink);
}

/* The links to the other customer pages, at the bottom of each one. The
   privacy and refund policy pages use these styles too. */
.footer-links {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
