:root {
  --ie-bg: #f8fafc;
  --ie-text: #0f172a;
  --ie-muted: #334155;
  --ie-border: rgba(15, 23, 42, 0.10);
  --ie-card-shadow: 0 14px 44px rgba(2, 6, 23, 0.12);
}

body {
  background: var(--ie-bg);
  color: var(--ie-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.public-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: radial-gradient(900px 600px at 10% 15%, #e0f2fe 0%, rgba(224, 242, 254, 0) 60%),
              radial-gradient(900px 600px at 90% 35%, #ede9fe 0%, rgba(237, 233, 254, 0) 60%),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.public-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border: 1px solid var(--ie-border);
  border-radius: 18px;
  box-shadow: var(--ie-card-shadow);
  padding: 28px;
}

.public-card--wide {
  max-width: 920px;
}

.public-header h1,
.public-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ie-text);
}

.public-header p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--ie-muted);
}

.public-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.public-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px 16px;
  font-size: 16px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(2, 6, 23, 0.10);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.public-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.14);
  filter: brightness(1.02);
}

.public-btn:active {
  transform: translateY(0);
}

.public-btn--primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
}

.public-btn--teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
}

.public-help {
  color: var(--ie-muted);
  font-size: 14px;
}

.auth-message {
  min-height: 24px;
  font-size: 14px;
}

.otp-section .text-muted {
  color: var(--ie-muted) !important;
}

@media (min-width: 768px) {
  .public-card {
    padding: 32px;
  }
  .public-actions {
    grid-template-columns: 1fr 1fr;
  }
}

