.registration-page {
  padding: 4.5rem 1.5rem 2rem;
}

.registration-cards {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: min(100%, 1080px);
  overflow: hidden;
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  box-shadow: var(--admin-shadow-lg);
}

.registration-cards > .auth-card {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.registration-flag-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(0, 122, 94, .12), transparent 65%), var(--admin-surface);
}

.registration-country {
  padding-top: 1rem;
}

.registration-country-label {
  margin-bottom: .75rem;
  color: var(--admin-muted);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.registration-country h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
}

.registration-flag {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.registration-country-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 2px;
  background: linear-gradient(to right, #007a5e 0 33.33%, #ce1126 33.33% 66.66%, #fcd116 66.66%);
}

.registration-country-footer p {
  margin: 0;
  color: var(--admin-muted);
  line-height: 1.8;
}

.registration-country-footer strong {
  color: var(--admin-text);
}

@media (max-width: 767.98px) {
  .registration-page {
    padding: 4.5rem 1rem 1rem;
  }

  .registration-cards {
    flex-direction: column;
  }

  .registration-flag {
    max-width: 360px;
  }

  .registration-flag-card {
    gap: 1.5rem;
  }
}
