/* Thank you page — successful subscription */

body.auth-page {
  margin: 0;
  min-height: 100vh;
  background-color: #fff;
  background-image: url('../images/homepage-banner-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.auth-page > header {
  background: transparent;
  border-bottom: 0;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 140px 20px 80px;
  min-height: calc(100vh - 80px);
}

.auth-card.thank-you-card {
  width: 100%;
  max-width: 600px;
  padding: 48px 48px 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 18px 48px rgba(47, 47, 47, 0.08);
  text-align: center;
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #fff1ea;
  color: var(--color-accent);
}

.thank-you-icon--pending {
  background: #fff7ed;
  color: var(--color-accent-soft);
}

.thank-you-spinner {
  animation: thank-you-spin 0.9s linear infinite;
}

@keyframes thank-you-spin {
  to {
    transform: rotate(360deg);
  }
}

.thank-you-card .auth-card-title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  color: #2F2F2F;
  text-align: center;
}

.thank-you-card .auth-card-subtitle {
  margin: 0 auto 28px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: #7D7D7D;
  text-align: center;
}

.thank-you-summary {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  padding: 8px 8px;
  border-radius: 18px;
  background: #F7F4F0;
  text-align: left;
}

.thank-you-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 15px;
}

.thank-you-summary-row + .thank-you-summary-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.thank-you-summary-row span {
  flex-shrink: 0;
  color: #7D7D7D;
}

.thank-you-summary-row strong {
  color: #2F2F2F;
  font-weight: 600;
  text-align: right;
}

.thank-you-domain {
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thank-you-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.thank-you-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.thank-you-primary:hover {
  opacity: 0.9;
}

.thank-you-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #d9d4ce;
  border-radius: 999px;
  background: #fff;
  color: #363636 !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.thank-you-secondary:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent) !important;
}

@media (max-width: 575px) {
  .auth-card.thank-you-card {
    padding: 36px 24px 28px;
    border-radius: 24px;
  }

  .thank-you-card .auth-card-title {
    font-size: 26px;
  }

  .thank-you-actions {
    grid-template-columns: 1fr;
  }
}
