/* Tercel Ads — app design system (loaded after Tailwind CDN). */

:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-darker: #0b4f49;
  --brand-light: #5eead4;
}

html, body { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; border-radius: .625rem; padding: .625rem 1.25rem;
  transition: background-color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

/* Google sign-in button (Google branding guidelines: white, neutral border) */
.google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; background: #fff; color: #3c4043;
  border: 1px solid #dadce0; border-radius: .625rem;
  padding: .8rem 1rem; font-weight: 600; font-size: .95rem;
  transition: box-shadow .15s, background-color .15s, border-color .15s;
}
.google-btn:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,.18), 0 4px 12px rgba(60,64,67,.10);
  background: #f8fafc; border-color: #c9ccd1;
}
.google-btn svg { width: 18px; height: 18px; flex: none; }

/* ── Auth split layout ─────────────────────────────────────────────────── */
.auth-hero {
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(94,234,212,.25), transparent 55%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 55%, var(--brand-darker) 100%);
  position: relative; overflow: hidden;
}
/* faint grid texture on the brand panel */
.auth-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
}
.auth-hero > * { position: relative; z-index: 1; }

.logo-badge {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: .625rem; background: var(--brand); color: #fff; font-weight: 800;
}
.logo-badge--onbrand { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(2px); }

/* ── Cards / nav ───────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: .9rem; }
.card-hover { transition: box-shadow .15s, transform .1s, border-color .15s; }
.card-hover:hover { box-shadow: 0 8px 24px rgba(15,23,42,.08); transform: translateY(-2px); border-color: #cbd5e1; }

.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem;
  font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }

.avatar { width: 2rem; height: 2rem; border-radius: 999px; object-fit: cover;
  display: inline-grid; place-items: center; background: var(--brand-light);
  color: var(--brand-darker); font-weight: 700; font-size: .8rem; }
