/* LetWorkBeDone - Verify email page | Brand green #00664e */

:root {
  --brand: #00664e;
  --brand-dark: #00523f;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f4f7f6;
  --card: #ffffff;
  --card-border: #e5e7eb;
  --success-bg: #ecfdf5;
  --success-text: #047857;
  --error-bg: #fef2f2;
  --error-text: #b91c1c;
}

*, *::before, *::after { box-sizing: border-box; }

body.verify-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 */
.verify-wrap {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.verify-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;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
}

/* Status icon */
.verify-icon {
  width: 64px;
  height: 64px;
  margin: 14px auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.verify-icon.success { background: var(--success-bg); color: var(--success-text); }
.verify-icon.error   { background: var(--error-bg);   color: var(--error-text); }

.verify-card h1 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sub { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* Button */
.verify-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;
}
.verify-btn:hover { background: var(--brand-dark); }
.verify-btn:active { transform: scale(0.99); }
.verify-btn:focus-visible { outline: 3px solid rgba(0, 102, 78, 0.25); outline-offset: 2px; }

/* Footer */
.verify-footer { margin: 16px 0 0; font-size: 0.88rem; color: var(--muted); }
.verify-footer a { color: var(--brand); font-weight: 600; text-decoration: none; }
.verify-footer a:hover { text-decoration: underline; }

/* Phones */
@media (max-width: 480px) {
  body.verify-page { padding: 10px; }
  .verify-card { padding: 18px 16px 16px; border-radius: 14px; }
  .brand-logo { width: 44px; height: 44px; margin-bottom: 6px; }
  .verify-icon { width: 56px; height: 56px; margin: 10px auto; }
  .verify-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;
    --success-bg: #12302a;
    --success-text: #6ee7b7;
    --error-bg: #3a1717;
    --error-text: #fca5a5;
  }
}