/* PetPawClaw — Shared styles for invite + privacy pages */

:root {
  --forest: #2D6A4F;
  --forest-deep: #1B4332;
  --sage: #95D5B2;
  --sage-soft: #D8F3DC;
  --cream: #FDFAF3;
  --cream-dark: #F5F0E3;
  --warm: #E67E22;
  --warm-glow: #FFF3E0;
  --text: #1A1A1A;
  --text-soft: #5C5C5C;
  --text-muted: #9A9A9A;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.logo { margin-bottom: 8px; }
.brand {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 32px;
}

.pet-icon { font-size: 56px; margin-bottom: 16px; }

.headline {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.subtext {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  margin-bottom: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-accent  { background: var(--warm); color: var(--white); }
.btn-ghost   { background: transparent; color: var(--forest); border: 2px solid var(--forest); }

.expires {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--forest); }

#loading { color: var(--text-soft); padding: 24px 0; }
#error-state, #valid-state { display: none; }
