:root {
  --edp-rot: var(--edp-red, #c9070a);
  --signup-text: var(--text-main, #333);
  --signup-muted: var(--on-surface-variant, #555);
  --signup-border: #e6e6e6;
}

.signup-wrapper {
  --bs-primary: var(--edp-rot);
  --bs-primary-rgb: 201, 7, 10;
  --bs-primary-text-emphasis: #7a0406;
  --bs-primary-bg-subtle: #f9dada;
  --bs-primary-border-subtle: #eba6a7;
  overflow-x: hidden;
  padding: 116px 0 56px;
  color: var(--signup-text);
}

.signup-wrapper .container {
  width: min(100%, 1140px);
  padding-inline: 20px;
}

.signup-hero {
  margin-bottom: 2.5rem !important;
  text-align: center;
}

.signup-hero-image {
  width: auto;
  max-height: 220px;
  margin-inline: auto;
}

.signup-title {
  margin: 0 0 1rem;
  color: #1a1a1a;
  font-family: "Miriam Libre", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.signup-intro {
  max-width: 760px;
  margin-inline: auto;
  color: var(--signup-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.signup-intro p:last-child,
.signup-content p:last-child,
.signup-content .benefit-desc p:last-child {
  margin-bottom: 0;
}

.signup-content {
  color: var(--signup-muted);
}

.signup-content h2,
.signup-content h3,
.signup-content h4 {
  color: var(--signup-text);
  font-family: "Miriam Libre", sans-serif;
  font-weight: 700;
}

.signup-content h2 {
  margin: 2.25rem 0 1rem;
}

.signup-content p {
  margin-bottom: 1.1rem;
}

.signup-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  list-style: none;
}

.signup-content li {
  position: relative;
  margin-bottom: 0.6rem;
}

.signup-content li::before {
  position: absolute;
  left: -1.1rem;
  color: var(--edp-rot);
  content: "›";
}

.signup-card {
  overflow: hidden;
  border: 1px solid var(--signup-border) !important;
  border-top: 5px solid var(--edp-rot) !important;
  border-radius: 8px !important;
  background: #fff;
  box-shadow: 0 4px 18px rgb(27 28 27 / 7%) !important;
}

.signup-card .card-body {
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.signup-card .form-control,
.signup-card .form-select {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-color: #d9d9d9;
  border-radius: 8px;
  font-size: 0.95rem;
}

.signup-card .form-control:focus,
.signup-card .form-select:focus {
  border-color: var(--edp-rot);
  box-shadow: 0 0 0 0.25rem rgb(201 7 10 / 15%);
}

.signup-card .btn-primary {
  border-color: var(--edp-rot);
  border-radius: 8px;
  background: var(--edp-rot);
  font-size: 1rem;
}

.signup-card .btn-primary:hover,
.signup-card .btn-primary:focus-visible {
  border-color: #a40608;
  background: #a40608;
  box-shadow: 0 6px 18px rgb(201 7 10 / 20%);
  transform: translateY(-1px);
}

.selection-container {
  border-color: var(--signup-border) !important;
  background: #f8f9fa !important;
}

.custom-selection-card .form-check-label {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.custom-selection-card input:checked + .form-check-label {
  border-color: var(--edp-rot) !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 0.2rem rgb(201 7 10 / 9%);
}

.selection-indicator {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #bbb;
  border-radius: 50%;
}

.custom-selection-card input:checked + label .selection-indicator {
  border-color: var(--edp-rot);
  background: var(--edp-rot);
  box-shadow: inset 0 0 0 3px #fff;
}

.selection-indicator.check-mode {
  border-radius: 4px;
}

.signup-success-icon {
  width: 64px;
  height: 64px;
  background: #f5f5f5;
  color: var(--edp-rot);
}

.signup-success-icon i {
  font-size: 1.75rem;
}

.signup-spots .progress {
  height: 4px;
  background: #ececec;
}

.signup-spots .progress-bar {
  background: var(--edp-rot);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup-wrapper.is-compact .signup-hero,
.signup-wrapper.is-compact .signup-content {
  display: none;
}

.signup-wrapper.is-iframe {
  min-height: 0;
  padding: 0;
}

.signup-wrapper.is-iframe .container {
  width: 100%;
  padding-inline: 0;
}

@media (max-width: 991px) {
  .signup-wrapper {
    padding-top: 108px;
  }

  .signup-wrapper .row {
    row-gap: 2rem !important;
  }
}

@media (max-width: 575px) {
  .signup-wrapper {
    padding-top: 100px;
  }

  .signup-card .card-body {
    padding: 1.25rem !important;
  }
}
