/* -----------------------------------------------------------------
   22. Popups & Forms
   ----------------------------------------------------------------- */
#pts-course-brochure-form {
  background: var(--lexx-white);
  padding: 40px;
  max-width: 550px;
  margin: 0 auto;
  border-radius: var(--lexx-radius-card);
  border: 1px solid var(--lexx-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

/* Field + button styling: revamp/_forms-standard.css */

#pts-course-brochure-form .gform_heading {
  margin-bottom: 24px;
  text-align: center;
}

#pts-course-brochure-form .gform_heading h3,
#pts-course-brochure-form .gform_heading .gform_title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

#pts-course-brochure-form .gform_description,
#pts-course-brochure-form .gform_description p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

#pts-course-brochure-form .gform_footer {
  text-align: center;
}

#general-form-popup {
  background: var(--lexx-white);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--lexx-radius-card);
  border: 1px solid var(--lexx-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

#general-form-popup .general-form-popup-intro {
  color: var(--lexx-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--lexx-border);
}

#general-form-popup .general-form-popup-intro h3,
#general-form-popup .general-form-popup-intro h4 {
  color: var(--lexx-text);
  margin-bottom: 12px;
}

#general-form-popup .gform_wrapper {
  margin: 0;
}

#general-form-popup .gform_heading {
  margin-bottom: 20px;
  text-align: center;
}

#general-form-popup .gform_heading h3,
#general-form-popup .gform_heading .gform_title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

#general-form-popup .gform_description,
#general-form-popup .gform_description p {
  color: rgba(73, 73, 73, 0.85);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

#general-form-popup .gform_footer {
  margin-top: 24px;
  text-align: center;
  padding: 0;
}

#general-form-popup button.mfp-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--lexx-text);
  font-size: 32px;
  padding: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

#general-form-popup button.mfp-close:hover {
  background: var(--lexx-light-gray);
}

#general-form-popup .gfield_error {
  background: var(--lexx-error-bg);
  border: 1px solid var(--lexx-error-border);
  padding: 10px;
  border-radius: 8px;
}

#general-form-popup .validation_error {
  background: var(--lexx-error-bg);
  border: 1px solid var(--lexx-error-border);
  color: var(--lexx-error);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

#general-form-popup .gfield_description.validation_message {
  color: var(--lexx-error);
  font-size: 13px;
  margin-top: 6px;
}

.mfp-bg {
  background: rgba(0, 0, 0, 0.65);
}

/* HubSpot forms */
.hbspt-form label {
  color: var(--lexx-text);
}

.hbspt-form textarea,
.hbspt-form input {
  background: var(--lexx-white);
  border-color: var(--lexx-border);
  color: var(--lexx-text);
}

.hbspt-form textarea::placeholder,
.hbspt-form input::placeholder {
  color: var(--lexx-placeholder);
}

.hbspt-form .hs_submit input {
  background: var(--lexx-btn-gradient);
  color: var(--lexx-white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(226, 80, 39, 0.2);
}

.hbspt-form .hs_submit input:hover {
  box-shadow: 0 8px 20px rgba(226, 80, 39, 0.3);
}

/* Homepage old hero (front-page.php fallback). Slider hero background lives in _flex-landing.css (texture). */
.intro-live-online {
  background: var(--lexx-white);
  color: var(--lexx-text);
}

.slider-hero .slider__slide {
  color: var(--lexx-text);
}

.intro-live-online h1,
.intro-live-online h2,
.intro-live-online h3,
.intro-live-online p,
.intro-live-online li,
.intro-live-online a:not(.btn) {
  color: var(--lexx-text);
}

.intro-live-online .shell {
  max-width: 1320px;
  padding: 22px 20px 12px;
}

.intro-live-online__item h1,
.intro-live-online__item h2,
.intro-live-online__item h3 {
  color: var(--lexx-text);
  font-size: clamp(34px, 3.7vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 12px;
}

.intro-live-online__item p,
.intro-live-online__item li {
  color: var(--lexx-text);
  font-size: 14px;
  line-height: 1.6;
}

.intro-live-online__img img {
  max-height: 430px;
  object-fit: contain;
}

.intro-live-online .btn,
.btn-pill--yellow {
  background: var(--lexx-accent-orange);
  border-radius: 6px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 18px;
}

.intro-live-online .btn:hover,
.btn-pill--yellow:hover {
  background: var(--lexx-light-orange);
}

