@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700&display=swap');

:root {
  --primary: #22595A;
  --primary-dark: #1B5E57;
  --background: #F2F7F8;
  --text: #1F2D36;
  --muted: #6C7A86;
  --accent: #F59E0B;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 16px;
}

#ia-labs-form-wrapper {
  width: 100%;
  max-width: 860px;
}

.form-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(18, 43, 49, 0.12);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 56px 48px 40px;
}

.form-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.form-header h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.form-header .form-subtitle {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.form-content {
  padding: 48px;
}

.intro-text {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 36px;
  color: #7A4D09;
  line-height: 1.6;
  font-size: 15px;
}

.intro-text p {
  margin: 0 0 10px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.mauticform_wrapper {
  margin: 0;
}

.mauticform-name,
.mauticform-description {
  display: none;
}

.mauticform-innerform {
  margin: 0;
}

.form-section {
  margin-bottom: 40px;
}

.section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  color: #13393D;
  border-bottom: 2px solid #E3EEF0;
  padding-bottom: 10px;
}

.mauticform-row {
  margin-bottom: 22px;
}

.mauticform-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #1D3339;
  margin-bottom: 8px;
}

.mauticform-row.mauticform-required .mauticform-label::after {
  content: " *";
  color: #E63946;
}

.mauticform-input,
.mauticform-selectbox,
.mauticform-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #CFE0E3;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mauticform-input:focus,
.mauticform-selectbox:focus,
.mauticform-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 89, 90, 0.18);
  outline: none;
}

.mauticform-textarea {
  min-height: 130px;
  resize: vertical;
}

.mauticform-selectbox {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231c3d40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E<polyline points='6 9 12 15 18 9'/%3E</svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 50px;
}

.slider-container {
  background: #f4f9fa;
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid #d8e6e8;
}

.slider-container input[type=range] {
  width: 100%;
  margin: 0;
  accent-color: var(--primary);
}

.slider-value {
  margin-top: 10px;
  font-size: 14px;
  color: #1E5155;
  font-weight: 600;
}

.slider-value span {
  font-size: 18px;
}

.char-counter {
  font-size: 12px;
  color: #6b7f86;
  text-align: right;
  margin-top: 6px;
}

.mauticform-button-wrapper {
  margin-top: 36px;
}

.mauticform-button {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mauticform-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(26, 71, 76, 0.25);
}

.mauticform-message {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--primary);
}

.mauticform-error {
  margin-bottom: 16px;
  color: #d62839;
  font-weight: 600;
}

.privacy-note {
  margin-top: 34px;
  font-size: 13px;
  color: #6b7f86;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  main {
    padding: 40px 12px;
  }

  .form-header {
    padding: 40px 32px;
  }

  .form-content {
    padding: 32px 24px;
  }

  .section-title {
    font-size: 20px;
  }
}
