/* ===========================================
   REGISTER PAGE STYLES
   ===========================================
   Page-specific overrides; global.css is loaded
   by _Layout.cshtml
   =========================================== */

/* App container override */

/* Header spacing override */
.header {
  margin-bottom: 28px;
}

/* Content gap override */
.content {
  gap: 12px;
}

/* Subtitle override */
.subtitle {
  font-size: 14px;
  margin-bottom: 4px;
}

.referral-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  align-self: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--Neutral-25, #F6F6F6);
  color: var(--colour-neutral-700);
}

.referral-banner-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #6b7280;
}

.referral-banner-text {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.referral-banner-code {
  font-weight: 700;
  color: var(--colour-neutral-800);
}

/* Options list */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

/* Option card */
.option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--colour-neutral-100);
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.option-image {
  width: 64px;
  height: 52px;
  object-fit: contain;
}

.option-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--colour-neutral-900);
}

.option-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--colour-neutral-700);
}

/* Button full width override */
.btn-primary {
  width: 100%;
  margin-top: 4px;
}

.option-cta {
  gap: 8px;
}

.option-cta-icon {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.option-card:hover .option-cta-icon {
  transform: translateX(4px);
}

/* Login link */
.login-link {
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--colour-neutral-700);
  border-top: 1px solid var(--colour-neutral-100);
}

.login-link a {
  color: var(--colour-blue-400);
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.15s ease;
}

.login-link a:hover {
  color: var(--colour-blue-300);
  text-decoration: underline;
}

/* ===========================================
   RESPONSIVE – Desktop (768px+)
   =========================================== */
@media (min-width: 576px) {
  .app {
    max-width: 720px;
    padding: 56px 48px;
  }

  .options-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .option-card {
    padding: 24px;
  }

  .option-image {
    width: 72px;
    height: 56px;
  }
}
