/* Form styles */
.formkit-form {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.formkit-form.active {
  display: flex !important;
}

.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.success-modal.active {
  display: flex !important;
}

.success-modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.success-modal-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.success-modal-content p:last-child {
  margin-bottom: 0;
}

.close-modal {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
}

.close-modal:hover {
  background: #45a049;
}

.formkit-container {
  position: relative;
  z-index: 10000;
  max-width: 90%;
  width: 600px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.formkit-hero {
  position: relative;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.formkit-hero-bg-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.formkit-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.formkit-header {
  position: relative;
  z-index: 1;
}

.formkit-header h2 {
  font-size: 24px !important;
  line-height: 1.3;
  margin-bottom: 15px;
}

.formkit-content {
  position: relative;
  z-index: 1;
}

.formkit-content p {
  font-size: 18px !important;
  line-height: 1.4;
}

.formkit-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.formkit-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e4e7ea;
  border-radius: 6px;
  font-size: 16px;
}

.formkit-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.formkit-submit:hover {
  background-color: #45a049 !important;
}

@media (max-width: 768px) {
  .formkit-container {
    width: 95%;
    padding: 20px;
  }

  .formkit-hero {
    padding: 20px;
    min-height: 180px;
  }

  .formkit-header h2 {
    font-size: 20px !important;
  }

  .formkit-content p {
    font-size: 16px !important;
  }

  .formkit-input,
  .formkit-submit {
    padding: 10px;
    font-size: 14px;
  }
} 