/* Start custom CSS for html, class: .elementor-element-03822e4 */.telegram-form-header {
  position: relative;
  padding: 8px 4px 4px;
}

.telegram-form-badge {
  position: relative;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.16);
}

.telegram-form-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.telegram-form-header h2 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.4px;
}

.telegram-form-header p {
  max-width: 660px;
  color: #5b4b6f;
  font-size: 16px;
  font-weight: 500;
}

.telegram-form-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
}

.telegram-form-features span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 999px;
  color: #581c87;
  background: linear-gradient(135deg, #faf5ff, #ffffff);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  box-shadow: 0 8px 20px rgba(88, 28, 135, 0.08);
  white-space: normal;
  text-align: center;
}

.telegram-form-features span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 7px;
  border-radius: 50%;
  color: #ffffff;
  background: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  flex: 0 0 auto;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .telegram-form-section {
    padding: 18px 10px;
  }

  .telegram-form-card {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .telegram-form-header {
    margin-bottom: 22px;
    padding: 4px 0 0;
  }

  .telegram-form-badge {
    max-width: 100%;
    padding: 7px 12px;
    font-size: 12.5px;
    line-height: 1.7;
    white-space: normal;
    text-align: center;
  }

  .telegram-form-header h2 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.75;
    letter-spacing: -0.2px;
  }

  .telegram-form-header p {
    max-width: 100%;
    font-size: 14px;
    line-height: 2.05;
    text-align: justify;
    text-align-last: center;
  }

  .telegram-form-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .telegram-form-features span {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12.5px;
    border-radius: 14px;
  }

  .telegram-gravity-form .gform_title {
    font-size: 19px;
    line-height: 1.7;
  }

  .telegram-gravity-form .gfield_label,
  .telegram-gravity-form label {
    font-size: 14px;
    line-height: 1.9;
  }

  .telegram-gravity-form .gfield_description,
  .telegram-gravity-form .instruction {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .telegram-gravity-form input[type="text"],
  .telegram-gravity-form input[type="email"],
  .telegram-gravity-form input[type="tel"],
  .telegram-gravity-form input[type="number"],
  .telegram-gravity-form input[type="url"],
  .telegram-gravity-form input[type="password"],
  .telegram-gravity-form textarea,
  .telegram-gravity-form select {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 16px;
    line-height: 1.7;
  }

  .telegram-gravity-form textarea {
    min-height: 120px;
  }

  .telegram-gravity-form input[type="submit"],
  .telegram-gravity-form button,
  .telegram-gravity-form .gform_button {
    min-height: 50px;
    font-size: 15px;
    border-radius: 15px;
  }
}

@media (max-width: 380px) {
  .telegram-form-card {
    padding: 18px 12px;
  }

  .telegram-form-header h2 {
    font-size: 19px;
  }

  .telegram-form-header p {
    font-size: 13.5px;
  }
}/* End custom CSS */