/* Registry page look & feel — safe, additive styles */

:root{
  --gd-bg: #f5f7f6;
  --gd-card: #ffffff;
  --gd-ink: #122218;
  --gd-muted: #5c6b63;
  --gd-accent: #1f7a54;     /* deep green to match your header */
  --gd-accent-2: #2aa06d;   /* lighter green for gradients */
  --gd-warn: #f0b429;
  --gd-danger: #d84545;
  --gd-success: #2a9d6f;
  --gd-radius: 14px;
  --gd-shadow: 0 10px 25px rgba(16, 40, 28, 0.12);
}

/* Page background */
body.page-registry-index {
  background: var(--gd-bg);
  color: #122218;
  font-size: 1.01em; 
}

/* Hero */
.page-registry-index .stack.mb-2 {
  padding: 28px 24px;
  border-radius: var(--gd-radius);
  background: linear-gradient(135deg, rgba(42,160,109,0.12) 0%, rgba(31,122,84,0.10) 100%), #eaf5f0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gd-shadow);
}
.page-registry-index .stack.mb-2::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,122,84,0.18), rgba(31,122,84,0) 70%);
}
.page-registry-index .h1 {
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.page-registry-index .lead {
  margin: 0;
  color: var(--gd-muted);
  font-size: 1.05rem;
}

/* Cards & tiles */
.card, .tile {
  background: var(--gd-card);
  border-radius: var(--gd-radius);
  box-shadow: var(--gd-shadow);
  border: 1px solid rgba(18,34,24,0.05);
}
.card.p-3 { padding: 20px; }
.tile { padding: 16px; }

/* Form */
.form.v-space label { display:block; margin-bottom: 12px; }
.form.v-space input[type="text"],
.form.v-space input[type="email"],
.form.v-space input[type="date"],
.form.v-space input[type="number"],
.form.v-space textarea,
.form.v-space select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(18,34,24,0.12);
  padding: 10px 12px;
  outline: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form.v-space input:focus,
.form.v-space textarea:focus,
.form.v-space select:focus {
  border-color: var(--gd-accent);
  box-shadow: 0 0 0 3px rgba(42,160,109,0.18);
}
.checkbox { display: flex; align-items: center; gap: 8px; }
.checkbox a { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--gd-accent-2) 0%, var(--gd-accent) 100%);
  color: #fff; border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31,122,84,0.22);
  transition: transform .06s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31,122,84,0.28); }

.btn.outline {
  background: transparent;
  color: var(--gd-accent);
  border: 1px solid rgba(31,122,84,0.35);
  box-shadow: none;
}
.btn.outline:hover { background: rgba(31,122,84,0.06); }

/* Alerts */
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 18px;
  border: 1px solid transparent;
}
.alert.success {
  background: #eef8f3; border-color: rgba(42,160,109,0.35); color: #10543a;
}
.alert.error {
  background: #fdeeee; border-color: rgba(216,69,69,0.35); color: #6b1f1f;
}

/* Grids (play nice with your existing classes) */
.grid-2, .grid-3 { gap: 14px; }
.row.gap-1 { gap: 8px; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

/* Muted, titles */
.muted { color: var(--gd-muted); }
.title { font-weight: 700; }

/* Small honeypot field stays visually hidden in your inline style */

/* Registry hero with mascot */
.hero-registry{
  display:grid;
  grid-template-columns: 1fr 340px;
  align-items:center;
  gap:1.5rem;
  background:#E9F7EF;
  border:1px solid #dfeee6;
  border-radius:16px;
  padding:22px 24px;
  overflow:hidden;
}
.hero-registry .hero-copy{ padding-right:8px; }
.mascot-fly{ margin:0; filter:drop-shadow(0 6px 18px rgba(0,0,0,.15)); }
.mascot-fly img{ display:block; width:100%; height:auto; }

/* Mobile */
@media (max-width: 920px){
  .hero-registry{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .mascot-fly{
    justify-self:center;
    max-width:220px;
    margin-top:-10px;
  }
}
