/**
 * Guide Form Overrides - Only for CTA context within guide-cta-form-wrapper
 * Base form styling is handled by the m-form-contact-section pattern CSS
 */

/* ==========================================================================
   CTA Section Override - When form is inside guide-cta-form-wrapper
   ========================================================================== */

.guide-cta-form-wrapper .contact-section-wrapper {
  padding: 0;
  margin: 0;
}

.guide-cta-form-wrapper .contact-section {
  height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  gap: 20px;
  flex-direction: column;
  align-items: flex-start;
}

/* Hide decorative blob in CTA context */
.guide-cta-form-wrapper .contact-section::before {
  display: none;
}

.guide-cta-form-wrapper .contact-section__text-content {
  display: none; /* Title and description are shown in guide-cta-content */
}

.guide-cta-form-wrapper .contact-section__form-wrapper {
  width: 420px;
  gap: 10px;
}

/* Form fields styling in CTA context */
.guide-cta-form-wrapper .m-form-element {
  margin: 0;
}

.guide-cta-form-wrapper .a-text-field__container {
  width: 420px;
  height: 60px;
  padding: 20px;
  background: var(--color-greyscale-7);
  border-radius: 15px;
  outline: 1px var(--color-greyscale-5) solid;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.guide-cta-form-wrapper .a-text-field__search-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-greyscale-2);
}

.guide-cta-form-wrapper .a-text-field__element {
  flex: 1 1 0;
  color: var(--color-greyscale-2);
  font-size: 14px;
  font-family: Inter;
  font-weight: 500;
  line-height: 20px;
  background: transparent;
  border: none;
  outline: none;
}

.guide-cta-form-wrapper .a-text-field__element::placeholder {
  color: var(--color-greyscale-4);
}

/* Consent checkbox in CTA - white text */
.guide-cta-form-wrapper .guide-form-consent-icon {
  background: var(--color-greyscale-7);
  outline: 1px var(--color-greyscale-5) solid;
}

.guide-cta-form-wrapper .guide-form-consent-text {
  color: var(--color-greyscale-7);
}

/* Submit button in CTA context */
.guide-cta-form-wrapper .form-actions {
  width: 100%;
  justify-content: flex-start;
}

.guide-cta-form-wrapper .a-button {
  height: 60px;
  padding: 20px 30px;
  background: var(--color-greyscale-2);
  border-radius: 15px;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.guide-cta-form-wrapper .a-button:hover {
  background: var(--color-greyscale-3);
}

.guide-cta-form-wrapper .a-button__text {
  color: var(--color-greyscale-7);
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 22px;
}

/* Responsive */
@media (max-width: 1024px) {
  .guide-cta-form-wrapper .contact-section__form-wrapper,
  .guide-cta-form-wrapper .a-text-field__container {
    width: 100%;
  }
}
