.wgt-webinar-hero-form .wgt-webinar-hero-shell {
  position: relative;
  overflow: hidden;
  background: var(--gradient-module-media);
}

.wgt-webinar-hero-form .wgt-webinar-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border-default-purple) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-default-purple) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.7;
}

.wgt-webinar-hero-form .wgt-webinar-hero-layout {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: clamp(var(--gap-lg-24), 5vw, var(--gap-section-120));
}

.wgt-webinar-hero-form .wgt-webinar-hero-copy {
  flex: 1 1 320px;
  gap: var(--gap-4xl-72);
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.wgt-webinar-hero-form .wgt-webinar-hero-tag {
  background: var(--primary-color-06);
  color: var(--text-white);
}

.wgt-webinar-hero-form .wgt-webinar-hero-tag-dot {
  background: var(--text-white);
}

.wgt-webinar-hero-card {
  display: grid;
  position: relative;
  flex: 1 1 280px;
  width: 100%;
  max-width: 492px;
  padding: var(--padding-2lg-28);
  border: 1px solid var(--border-default-purple);
  border-radius: var(--radius-card);
  background: var(--background-white);
  box-shadow: var(--shadow-elevated);
}

.wgt-webinar-hero-form-title {
  margin: 0;
  color: var(--neutral-color-03);
  font-size: clamp(1.25rem, 1.25rem, 1.25rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.wgt-webinar-split.form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md-18);
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wgt-webinar-fields {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md-18);
  width: 100%;
}

.wgt-webinar-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md-18);
  width: 100%;
}

.wgt-webinar-split .wgt-webinar-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs-4);
  width: 100%;
  height: auto;
  margin: 0;
}

.wgt-webinar-split .wgt-webinar-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-sm-8);
  width: 100%;
}

.wgt-webinar-split .wgt-webinar-field-head label {
  flex: 1 1 auto;
  min-width: 0;
}

.wgt-webinar-split .wgt-webinar-field label {
  margin: 0;
  color: var(--text-title);
  font-size: clamp(0.75rem, 0.7348rem + 0.0647vw, 0.8125rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
}

.wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]),
.webinar-modal.demo-modal .wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]) {
  width: 100%;
  height: 44px;
  padding: var(--padding-sm-10) var(--padding-md-14);
  border: 1px solid var(--border-default-grey);
  border-radius: var(--radius-card);
  background: var(--background-gray);
  color: var(--text-title);
  font-size: clamp(0.875rem, 0.875rem, 0.875rem);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  outline: none;
}

.wgt-webinar-split.form input::placeholder {
  color: var(--text-body);
}

.wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]).has-error,
.webinar-modal.demo-modal .wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]).has-error {
  border-color: var(--status-error-bg);
  outline-color: var(--status-error-bg);
}

.wgt-webinar-split .iti {
  display: block;
  width: 100%;
}

.wgt-webinar-split.form .field input[name="phone"] {
  height: 44px;
  padding-left: 46px !important;
  border-radius: var(--radius-card);
  background: var(--background-gray);
}

.wgt-webinar-split .iti__flag-container {
  height: 100%;
}

.wgt-webinar-split .iti--allow-dropdown .iti__flag-container .iti__selected-flag,
.wgt-webinar-split .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.wgt-webinar-split .iti__selected-flag:focus {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: var(--padding-md-14);
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  background: transparent;
}

.wgt-webinar-split .wgt-webinar-field .error {
  display: none;
}

.wgt-webinar-split .wgt-webinar-field .error.error-show {
  position: static;
  display: block;
  flex: 0 0 auto;
  margin: 0;
  color: var(--status-error-bg);
  font-size: clamp(0.75rem, 0.7348rem + 0.0647vw, 0.8125rem);
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]):focus,
.webinar-modal.demo-modal .wgt-webinar-split.form input:not([type="checkbox"]):not([type="hidden"]):focus,
.wgt-webinar-split.form .field input[name="phone"]:focus {
  border-color: var(--primary-color-04);
  outline: none;
}

.wgt-webinar-consent {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md-12);
  width: 100%;
}

.wgt-webinar-split .checkbox-container {
  display: flex;
  align-items: center;
  gap: var(--gap-xs-4);
  margin: 0;
}

.wgt-webinar-split .checkbox-container > *:not(:first-child),
.wgt-webinar-split .checkbox-container > *:not(:last-child) {
  margin: 0;
  padding: 0;
}

.wgt-webinar-split .form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--primary-color-04);
}

.wgt-webinar-split .form-check-label {
  margin: 0;
  color: var(--text-body);
  font-size: clamp(0.75rem, 0.7348rem + 0.0647vw, 0.8125rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
}

.wgt-webinar-split .webinar-recaptcha-hidden {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
}

.wgt-webinar-split .recaptcha-container.is-visible {
  display: block;
  height: auto;
  visibility: visible;
}

.wgt-webinar-split button[type="submit"] {
  width: 100%;
  min-width: 0;
  font-size: clamp(1rem, 1rem, 1rem);
  line-height: 1.3;
}

.wgt-webinar-split button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wgt-webinar-hero-form .webinar-hero-form,
.wgt-webinar-hero-form .webinar-hero-thx {
  grid-area: 1 / 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wgt-webinar-hero-form .webinar-hero-form.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wgt-webinar-hero-form .webinar-hero-thx {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gap-md-18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wgt-webinar-hero-form .webinar-hero-thx.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wgt-webinar-hero-form .webinar-hero-thx h2 {
  margin: 0;
  color: var(--text-title);
  font-size: clamp(1.25rem, 1.25rem, 1.25rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.wgt-webinar-hero-form .webinar-hero-thx p {
  margin: 0;
  color: var(--text-body);
  font-size: clamp(0.875rem, 0.8447rem + 0.1294vw, 1rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.wgt-webinar-hero-tip {
  color: var(--text-title);
}

@media (max-width: 992px) {
  .wgt-webinar-hero-form .wgt-webinar-hero-layout {
    gap: var(--gap-lg2-28);
  }

  .wgt-webinar-hero-form .wgt-webinar-hero-copy {
    gap: var(--gap-lg2-28);
  }

  .wgt-webinar-hero-card {
    flex: none;
    width: 100%;
    max-width: none;
    padding: var(--padding-md-15);
  }
}

@media (max-width: 768px) {
  .wgt-webinar-hero-form-title,
  .webinar-modal .form h2 {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .wgt-webinar-fields-row {
    grid-template-columns: 1fr;
  }
}
