/* ============================================
   NestAway — Register/Login selection pages
   Reuses tokens from styles.css. Deliberately
   omits: search bar, account button, input
   fields, and the footer link columns — those
   belong on index.html and the actual
   login/signup pages, not this picker.
   ============================================ */

.img-box {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #c3c2ac, #c3c2ac 10px, #cbcab4 10px, #cbcab4 20px);
}
.img-box::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #5f5d4e;
  background: rgba(244, 241, 232, 0.55);
  font-family: 'Outfit', sans-serif;
}
.img-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.select-header .site-header__content {
  max-width: 720px;
}

.select-content {
  max-width: 760px;
}

.select-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 8px 0 32px;
}

.select-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.select-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(58, 66, 38, 0.14);
}

.select-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.select-card__body {
  display: block;
  padding: 24px 22px 28px;
}

.select-card h2 {
  margin: 0 0 4px;
  font-size: 1.7rem;
}

.select-card__role {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  opacity: 0.85;
}

.select-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 20px;
}

.select-card__cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Light card — Nesters */
.select-card--light {
  background: var(--card-cream);
  color: var(--text);
}
.select-card--light h2 {
  color: var(--green-accent);
}
.select-card--light .select-card__cta {
  background: var(--green-active);
  color: var(--text-light);
}

/* Dark card — Nesties */
.select-card--dark {
  background: var(--green-active);
  color: var(--text-light);
}
.select-card--dark h2 {
  color: var(--text-light);
}
.select-card--dark .select-card__cta {
  background: var(--text-light);
  color: var(--green-active);
}

@media (max-width: 640px) {
  .select-cards {
    grid-template-columns: 1fr;
  }
}
