/* LetWorkBeDone - Confirm email page | Brand green #00664e */

:root {
  --brand: #00664e;
  --brand-dark: #00523f;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f4f7f6;
  --card: #ffffff;
  --card-border: #e5e7eb;
}

*, *::before, *::after { box-sizing: border-box; }

body.confirm-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  padding: 16px;
  -webkit-text-size-adjust: 100%;
}

/* margin:auto centers the card when there is room,
   and lets it scroll normally on phones when it is taller than the screen */
.confirm-wrap {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.confirm-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 16px;
  padding: 26px 26px 22px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px -12px rgba(0, 102, 78, 0.18);
  text-align: center;
}

/* Mail icon */
.mail-icon {
  width: 64px;
  height: 64px;
  margin: 6px auto 14px;
  border-radius: 50%;
  background: #e6f2ef;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-card h1 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sub { margin: 0 0 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.email {
  display: inline-block;
  margin: 4px 0 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

/* Steps box */
.steps {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  text-align: left;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.5;
}

.steps strong { color: var(--text); }

/* Button */
.confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.confirm-btn:hover { background: var(--brand-dark); }
.confirm-btn:active { transform: scale(0.99); }
.confirm-btn:focus-visible { outline: 3px solid rgba(0, 102, 78, 0.25); outline-offset: 2px; }

/* Footer */
.confirm-footer { margin: 16px 0 0; font-size: 0.88rem; color: var(--muted); }
.confirm-footer a { color: var(--brand); font-weight: 600; text-decoration: none; }
.confirm-footer a:hover { text-decoration: underline; }

/* Phones */
@media (max-width: 480px) {
  body.confirm-page { padding: 10px; }
  .confirm-card { padding: 18px 16px 16px; border-radius: 14px; }
  .mail-icon { width: 56px; height: 56px; margin: 8px auto 10px; }
  .confirm-card h1 { font-size: 1.15rem; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f5f9;
    --muted: #94a3b8;
    --bg: #0b1412;
    --card: #111b18;
    --card-border: #1e293b;
  }
  .mail-icon { background: #12302a; color: #6ee7b7; }
  .steps { background: #0f1a17; color: #cbd5e1; }
  .steps strong { color: #f1f5f9; }
}