:root {
  --brand-orange: #f69220;
  --brand-orange-dark: #de821c;
  --brand-cream: #f8f095;
  --brand-stone: #5f5c58;
  --brand-ink: #121a31;
  --surface: #ffffff;
  --surface-soft: #fcfbf7;
  --line: #ede7d8;
  --danger: #c62828;
  --shadow-panel: 0 24px 80px rgba(18, 26, 49, 0.14);
  --shadow-soft: 0 18px 40px rgba(95, 92, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--brand-stone);
  background: #f5f1e8;
}

a {
  color: inherit;
}

.registration-page {
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(95, 92, 88, 0.78), rgba(246, 146, 32, 0.34)),
    url("https://sucasainmobiliaria.com.co/wp-content/uploads/2024/06/fondo-registropph.jpg") center / cover no-repeat fixed;
}

.registration-shell {
  width: min(1220px, 100%);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.registration-hero {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: 42px;
  background: var(--brand-cream);
  color: var(--brand-stone);
}

.registration-logo-card {
  display: inline-flex;
  width: 256px;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: 22px;
  background: var(--brand-ink);
  padding: 14px 22px;
  box-shadow: 0 18px 34px rgba(18, 26, 49, 0.18);
}

.registration-logo {
  width: auto;
  max-width: 220px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.result-logo-card {
  margin: 0 auto 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.registration-hero h1 {
  max-width: 440px;
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 430px;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.8;
}

.hero-note {
  max-width: 440px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
}

.hero-note strong {
  display: block;
  color: var(--brand-ink);
  font-size: 0.95rem;
}

.hero-note span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.registration-content {
  padding: 42px;
  background: var(--surface);
}

.form-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.form-header h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.1;
  font-weight: 800;
}

.form-header p {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

.club-form {
  display: grid;
  gap: 26px;
}

.form-section {
  display: grid;
  gap: 16px;
}

.form-section-title {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-stone);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-control,
.form-select,
.select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--brand-ink);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-control,
.form-select {
  padding: 12px 15px;
}

.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(248, 240, 149, 0.9);
}

.form-control::placeholder {
  color: rgba(95, 92, 88, 0.58);
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0 22px 0 0;
  color: var(--brand-ink);
  line-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(95, 92, 88, 0.58);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px;
  right: 12px;
}

.select2-dropdown {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.select2-search--dropdown {
  padding: 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  outline: none;
}

.select2-results__option {
  padding: 10px 12px;
  font-size: 0.92rem;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--brand-orange);
}

.field-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.83rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  padding: 14px 28px;
  background: var(--brand-orange);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: var(--brand-orange-dark);
  box-shadow: 0 16px 28px rgba(246, 146, 32, 0.26);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.login-link {
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.login-link:hover {
  color: var(--brand-orange);
}

.result-card {
  width: min(560px, 100%);
  margin: auto;
  border-radius: 32px;
  background: #fff;
  padding: 38px;
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.result-card img {
  width: 146px;
  height: auto;
  margin-bottom: 26px;
}

.result-card h1 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.12;
  font-weight: 800;
}

.result-card p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 22px;
  background: #fcfbf7;
  color: var(--brand-ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .registration-page {
    padding: 16px;
  }

  .registration-shell {
    min-height: calc(100vh - 32px);
    grid-template-columns: 1fr;
  }

  .registration-hero,
  .registration-content {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  .registration-page {
    padding: 0;
  }

  .registration-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .registration-hero,
  .registration-content {
    padding: 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-button,
  .login-link {
    width: 100%;
    text-align: center;
  }
}
