.fladco-form {
  background: var(--background-color);
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.fladco-form::before,
.fladco-form::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1rem;
  background-color: var(--nv-purple-light);
}

.fladco-form::before {
  top: 0;
}
.fladco-form::after {
  bottom: 0;
}

.fladco-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.fladco-form-col-content {
  background-color: var(--nv-blue);
  color: var(--nv-white);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fladco-form-col-content h2,
.fladco-form-col-content h3,
.fladco-form-col-content p,
.fladco-form-col-content li span {
  color: var(--nv-white);
}

.fladco-form-col-form {
  padding: var(--space-md);
  background: var(--nv-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fladco-form-col-content .fladco-form-col-inner,
.fladco-form-col-form .fladco-form-col-inner {
  max-width: 720px;
  width: 100%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-md);
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-headline {
  margin-bottom: var(--space-sm);
  color: var(--nv-blue);
  text-align: center;
}

.autocomplete-holder {
  position: relative;
}

.autocomplete-items {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--nv-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 30;
  max-height: 220px;
  overflow: auto;
}

.autocomplete-items div {
  padding: 10px 12px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--nv-blue);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-items div:hover {
  background: color-mix(in srgb, var(--nv-blue) 12%, white);
}

#fladcowrap {
  display: grid;
  gap: var(--space-sm);
  text-align: left;
}

#fladcowrap label {
  color: var(--nv-blue);
  font-weight: 600;
  font-size: 1.3rem;
}

#fladcowrap input:focus,
#fladcowrap select:focus {
  border-color: var(--nv-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nv-blue) 25%, transparent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group,
.form-group-full {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

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

.fladco-form-features {
  list-style: none;
  margin: var(--space-md) auto 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-md);
  text-align: left;
  max-width: 500px;
}

.fladco-form-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--nv-white);
  font-size: 1.6rem;
}

.fladco-form-features i {
  color: var(--nv-purple-lighter);
}

.subheading-highlight {
  background-color: var(--nv-purple);
  border-radius: var(--border-radius-md);
  padding: var(--space-xs) var(--space-md);
  display: inline-block;
  margin: var(--space-sm) 0 var(--space-md);
}

.subheading-highlight p {
  color: var(--nv-white);
  font-weight: 700;
  margin: 0;
}

.form-actions {
  margin-top: var(--space-sm);
  text-align: center;
}

button.submit {
  width: 100%;
  background-color: var(--nv-purple);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

button.submit:hover {
  outline: 2px solid var(--nv-purple-light);
  outline-offset: 2px;
}

button.submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: scale(1);
}

.form-disclaimer {
  margin-top: var(--space-xs);
  color: #6b7280;
  line-height: 1.4;
}

.error-message {
  color: var(--nv-red);
  margin-top: var(--space-xs);
}

.form-group-relative {
  position: relative;
}

.email-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  background: var(--nv-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 20;
  max-height: 220px;
  overflow: auto;
}

.email-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.email-suggestions li {
  padding: 10px 12px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--nv-blue);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-suggestions li.is-active,
.email-suggestions li:hover {
  background: color-mix(in srgb, var(--nv-blue) 12%, white);
}

@media (max-width: 992px) {
  .fladco-form-grid {
    grid-template-columns: 1fr;
  }
  .fladco-form-features {
    grid-template-columns: 1fr 1fr;
    padding-left: var(--space-sm);
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
