/* Question Input Styles */

._inputWrapper_2f4gz_3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

._input_2f4gz_3,
._select_2f4gz_11,
._textarea_2f4gz_12 {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

._input_2f4gz_3:focus,
._select_2f4gz_11:focus,
._textarea_2f4gz_12:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._inputError_2f4gz_30 {
  border-color: #ef4444;
}

._inputError_2f4gz_30:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

._textarea_2f4gz_12 {
  resize: vertical;
  min-height: 100px;
}

._checkboxLabel_2f4gz_44 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0;
}

._checkbox_2f4gz_44 {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

._checkboxGroup_2f4gz_58 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

._helperText_2f4gz_65 {
  font-size: 0.875rem;
  color: #6b7280;
}

._errorText_2f4gz_70 {
  font-size: 0.875rem;
  color: #ef4444;
  font-weight: 500;
}

._fileInput_2f4gz_76 {
  padding: 0.5rem;
  font-size: 0.875rem;
}

._filePreview_2f4gz_81 {
  padding: 0.5rem;
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #374151;
}

._hierarchicalContainer_2f4gz_89 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

._levelSelect_2f4gz_96 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._levelLabel_2f4gz_102 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

._required_2f4gz_108 {
  color: #ef4444;
  margin-left: 0.25rem;
}

._loading_2f4gz_113 {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
._photo-input_1fajy_1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._photo-input__label_1fajy_7 {
  font-weight: 500;
  font-size: 0.95rem;
  color: #374151;
}

._photo-input__required_1fajy_13 {
  color: #dc2626;
}

._photo-input__actions_1fajy_17 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._photo-input__button_1fajy_23 {
  padding: 0.625rem 1.25rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._photo-input__button_1fajy_23:hover:not(:disabled) {
  background-color: #2563eb;
}

._photo-input__button_1fajy_23:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

._photo-input__count_1fajy_47 {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

._photo-input__error_1fajy_53 {
  padding: 0.75rem;
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 0.375rem;
  color: #991b1b;
  font-size: 0.875rem;
}

._photo-input__gallery_1fajy_62 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  max-width: 800px;
}

._photo-input__preview_1fajy_70 {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #f9fafb;
  transition: box-shadow 0.2s;
  max-width: 200px;
}

._photo-input__preview_1fajy_70:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

._photo-input__image_1fajy_84 {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

._photo-input__remove_1fajy_91 {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  line-height: 1;
}

._photo-input__remove_1fajy_91:hover:not(:disabled) {
  background-color: rgba(220, 38, 38, 0.95);
}

._photo-input__remove_1fajy_91:disabled {
  background-color: rgba(156, 163, 175, 0.9);
  cursor: not-allowed;
}

._photo-input__info_1fajy_120 {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background-color: white;
}

._photo-input__filename_1fajy_128 {
  font-size: 0.75rem;
  color: #374151;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._photo-input__size_1fajy_137 {
  font-size: 0.7rem;
  color: #6b7280;
}
/* Signature Input Styles */

._signature-input_1cbhw_3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._signature-input__label_1cbhw_9 {
  font-weight: 500;
  font-size: 0.95rem;
  color: #374151;
}

._signature-input__required_1cbhw_15 {
  color: #dc2626;
}

._signature-input__button_1cbhw_19 {
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
}

._signature-input__button_1cbhw_19:hover:not(:disabled) {
  background-color: #2563eb;
}

._signature-input__button_1cbhw_19:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

._signature-input__preview_1cbhw_44 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  max-width: 500px;
}

._signature-input__image_1cbhw_55 {
  width: 100%;
  max-width: 400px;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  display: block;
}

._signature-input__remove_1cbhw_64 {
  padding: 0.5rem 1rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: flex-start;
}

._signature-input__remove_1cbhw_64:hover:not(:disabled) {
  background-color: #dc2626;
}

._signature-input__remove_1cbhw_64:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

._signature-input__error_1cbhw_86 {
  padding: 0.75rem;
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 0.375rem;
  color: #991b1b;
  font-size: 0.875rem;
}

/* Modal Styles */

._signature-modal_1cbhw_97 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

._signature-modal__content_1cbhw_111 {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

._signature-modal__content--mobile_1cbhw_122 {
  max-width: 100%;
  max-height: 100vh;
  height: 100vh;
  border-radius: 0;
  padding: 0;
}

._signature-modal__header_1cbhw_130 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

._signature-modal__title_1cbhw_138 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

._signature-modal__close_1cbhw_145 {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

._signature-modal__close_1cbhw_145:hover:not(:disabled) {
  background-color: #f3f4f6;
  color: #111827;
}

._signature-modal__close_1cbhw_145:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._signature-modal__canvas-wrapper_1cbhw_170 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
  background-color: #f9fafb;
}

._signature-modal__canvas_1cbhw_170 {
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: white;
  cursor: crosshair;
  touch-action: none;
  display: block;
}

._signature-modal__actions_1cbhw_189 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  gap: 1rem;
  flex-wrap: wrap;
}

._signature-modal__actions-right_1cbhw_199 {
  display: flex;
  gap: 0.75rem;
}

._signature-modal__button-primary_1cbhw_204 {
  padding: 0.625rem 1.25rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

._signature-modal__button-primary_1cbhw_204:hover:not(:disabled) {
  background-color: #2563eb;
}

._signature-modal__button-primary_1cbhw_204:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

._signature-modal__button-secondary_1cbhw_226 {
  padding: 0.625rem 1.25rem;
  background-color: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

._signature-modal__button-secondary_1cbhw_226:hover:not(:disabled) {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

._signature-modal__button-secondary_1cbhw_226:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  ._signature-modal_1cbhw_97 {
    padding: 0;
  }

  ._signature-modal__canvas-wrapper_1cbhw_170 {
    padding: 1rem;
  }

  ._signature-modal__canvas_1cbhw_170 {
    max-width: 100%;
    height: auto;
  }

  ._signature-modal__actions_1cbhw_189 {
    flex-direction: column;
    align-items: stretch;
  }

  ._signature-modal__actions-right_1cbhw_199 {
    width: 100%;
    justify-content: stretch;
  }

  ._signature-modal__button-primary_1cbhw_204,
  ._signature-modal__button-secondary_1cbhw_226 {
    flex: 1;
  }
}
/* Question Renderer Styles */

._questionContainer_yonyg_3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

._label_yonyg_10 {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

._required_yonyg_19 {
  color: #ef4444;
  font-weight: 600;
}

._description_yonyg_24 {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
/* Subform Renderer Styles */

._subformContainer_y3l0t_3 {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  background-color: #f9fafb;
}

._subformHeader_y3l0t_11 {
  margin-bottom: 1.5rem;
}

._subformTitle_y3l0t_15 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

._subformDescription_y3l0t_22 {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

._itemsContainer_y3l0t_28 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._itemCard_y3l0t_34 {
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 1.25rem;
}

._itemHeader_y3l0t_41 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

._itemNumber_y3l0t_50 {
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
}

._itemContent_y3l0t_56 {
  padding-top: 0.5rem;
}

._addButton_y3l0t_60 {
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._addButton_y3l0t_60:hover {
  background-color: #2563eb;
}

._removeButton_y3l0t_77 {
  padding: 0.375rem 0.875rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._removeButton_y3l0t_77:hover {
  background-color: #dc2626;
}

._validationHint_y3l0t_93 {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #10b981;
  font-weight: 500;
}

._validationError_y3l0t_100 {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #ef4444;
  font-weight: 600;
  padding: 0.5rem;
  background-color: #fee;
  border-left: 3px solid #ef4444;
  border-radius: 0.25rem;
}
/* Form Renderer Styles */

._formContainer_1nlzz_3 {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
}

._formHeader_1nlzz_10 {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

._formTitle_1nlzz_16 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

._formDescription_1nlzz_23 {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

._tagsContainer_1nlzz_30 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

._tag_1nlzz_30 {
  padding: 0.25rem 0.75rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

._section_1nlzz_45 {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

._sectionHeader_1nlzz_53 {
  margin-bottom: 1.5rem;
}

._sectionTitle_1nlzz_57 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

._sectionDescription_1nlzz_64 {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

._sectionContent_1nlzz_70 {
  margin-top: 1rem;
}

._formFooter_1nlzz_74 {
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

._submitButton_1nlzz_81 {
  padding: 0.875rem 2rem;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

._submitButton_1nlzz_81:hover {
  background-color: #059669;
  transform: translateY(-1px);
}

._submitButton_1nlzz_81:active {
  transform: translateY(0);
}

._loading_1nlzz_102 {
  padding: 2rem;
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
}

._error_1nlzz_109 {
  padding: 1.5rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  color: #dc2626;
  font-size: 1rem;
  margin: 2rem;
}

@media (max-width: 768px) {
  ._formContainer_1nlzz_3 {
    padding: 1rem;
  }

  ._formTitle_1nlzz_16 {
    font-size: 1.5rem;
  }

  ._sectionTitle_1nlzz_57 {
    font-size: 1.25rem;
  }
}
/* Global Reset and Base Styles */

:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #213547;
  background-color: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}
/* Layout Styles */

._layout_u1ioq_3 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

._header_u1ioq_9 {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

._headerContent_u1ioq_18 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._logo_u1ioq_27 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  transition: opacity 0.2s;
}

._logo_u1ioq_27:hover {
  opacity: 0.8;
}

._logoIcon_u1ioq_42 {
  font-size: 2rem;
}

._logoText_u1ioq_46 {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

._nav_u1ioq_53 {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

._navLink_u1ioq_59 {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s, color 0.2s;
}

._navLink_u1ioq_59:hover {
  background-color: #f3f4f6;
  color: #111827;
}

._main_u1ioq_73 {
  flex: 1;
  background-color: #f9fafb;
}

._footer_u1ioq_78 {
  background-color: white;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

._footer_u1ioq_78 p {
  margin: 0;
}

@media (max-width: 768px) {
  ._headerContent_u1ioq_18 {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  ._nav_u1ioq_53 {
    width: 100%;
    justify-content: center;
  }

  ._navLink_u1ioq_59 {
    flex: 1;
    text-align: center;
  }
}
/* Forms List Page Styles */

._container_epqdy_3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

._header_epqdy_9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

._title_epqdy_16 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

._createButton_epqdy_23 {
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

._createButton_epqdy_23:hover {
  background-color: #2563eb;
}

._loading_epqdy_37,
._error_epqdy_38 {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #6b7280;
}

._error_epqdy_38 {
  color: #ef4444;
}

._retryButton_epqdy_49 {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

._emptyState_epqdy_60 {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border: 2px dashed #d1d5db;
}

._emptyState_epqdy_60 p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

._grid_epqdy_74 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

._card_epqdy_80 {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

._card_epqdy_80:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

._cardHeader_epqdy_92 {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
}

._cardTitle_epqdy_99 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  flex: 1;
}

._version_epqdy_107 {
  padding: 0.25rem 0.5rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

._cardDescription_epqdy_116 {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

._tagsContainer_epqdy_123 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

._tag_epqdy_123 {
  padding: 0.125rem 0.5rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

._cardFooter_epqdy_138 {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

._viewButton_epqdy_146,
._fillButton_epqdy_147,
._submissionsButton_epqdy_148 {
  flex: 1;
  padding: 0.5rem 0.75rem;
  text-align: center;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

._viewButton_epqdy_146 {
  background-color: #f3f4f6;
  color: #374151;
}

._viewButton_epqdy_146:hover {
  background-color: #e5e7eb;
}

._fillButton_epqdy_147 {
  background-color: #10b981;
  color: white;
}

._fillButton_epqdy_147:hover {
  background-color: #059669;
}

._submissionsButton_epqdy_148 {
  background-color: #8b5cf6;
  color: white;
}

._submissionsButton_epqdy_148:hover {
  background-color: #7c3aed;
}

._deleteButton_epqdy_186 {
  padding: 0.5rem 0.75rem;
  background-color: #fee2e2;
  color: #dc2626;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._deleteButton_epqdy_186:hover {
  background-color: #fecaca;
}

@media (max-width: 768px) {
  ._container_epqdy_3 {
    padding: 1rem;
  }

  ._header_epqdy_9 {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  ._grid_epqdy_74 {
    grid-template-columns: 1fr;
  }

  ._cardFooter_epqdy_138 {
    flex-wrap: wrap;
  }
}
/* Form Builder Page Styles */

._container_1smy8_3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

._header_1smy8_9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

._title_1smy8_18 {
  margin: 0;
  color: #333;
  font-size: 2rem;
}

._actions_1smy8_24 {
  display: flex;
  gap: 1rem;
}

._cancelButton_1smy8_29,
._saveButton_1smy8_30 {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

._cancelButton_1smy8_29 {
  background: #6c757d;
  color: white;
}

._cancelButton_1smy8_29:hover {
  background: #5a6268;
}

._saveButton_1smy8_30 {
  background: #28a745;
  color: white;
}

._saveButton_1smy8_30:hover {
  background: #218838;
}

._saveButton_1smy8_30:disabled {
  background: #ccc;
  cursor: not-allowed;
}

._error_1smy8_62 {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #f5c6cb;
}

._content_1smy8_71 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Cards */
._card_1smy8_78,
._sectionCard_1smy8_79,
._elementCard_1smy8_80 {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

._cardTitle_1smy8_87 {
  margin: 0 0 1.5rem 0;
  color: #333;
  font-size: 1.3rem;
}

/* Form Groups */
._formGroup_1smy8_94 {
  margin-bottom: 1.5rem;
}

._formRow_1smy8_98 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

._label_1smy8_105 {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
}

._helperText_1smy8_113 {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
}

._required_1smy8_121 {
  color: #dc3545;
}

._input_1smy8_125,
._textarea_1smy8_126,
._select_1smy8_127 {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

._input_1smy8_125:focus,
._textarea_1smy8_126:focus,
._select_1smy8_127:focus {
  outline: none;
  border-color: #007bff;
}

._textarea_1smy8_126 {
  resize: vertical;
  font-family: inherit;
}

/* Sections Container */
._sectionsContainer_1smy8_149 {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

._sectionsHeader_1smy8_156 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

._addButton_1smy8_163,
._smallButton_1smy8_164 {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

._addButton_1smy8_163:hover,
._smallButton_1smy8_164:hover {
  background: #0056b3;
}

._smallButton_1smy8_164 {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

._emptyState_1smy8_185,
._emptyElements_1smy8_186,
._emptyOptions_1smy8_187 {
  text-align: center;
  padding: 2rem;
  color: #666;
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px dashed #dee2e6;
}

/* Section Card */
._sectionCard_1smy8_79 {
  margin-bottom: 1.5rem;
  border: 2px solid #007bff;
}

._sectionHeader_1smy8_202 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

._expandButton_1smy8_209 {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  color: #666;
  transition: color 0.2s;
}

._expandButton_1smy8_209:hover {
  color: #333;
}

._sectionTitleInput_1smy8_223 {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

._sectionTitleInput_1smy8_223:focus {
  outline: none;
  border-color: #007bff;
}

._removeButton_1smy8_237 {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  transition: transform 0.2s;
}

._removeButton_1smy8_237:hover {
  transform: scale(1.2);
}

._sectionContent_1smy8_250 {
  padding-top: 1rem;
}

/* Elements */
._elementsHeader_1smy8_255 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}

._elementsTitle_1smy8_264 {
  margin: 0;
  font-size: 1.1rem;
  color: #495057;
}

._elementActions_1smy8_270 {
  display: flex;
  gap: 0.5rem;
}

._elementsList_1smy8_275 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Element Card */
._elementCard_1smy8_80 {
  border: 1px solid #dee2e6;
  padding: 1rem;
  background: #fafbfc;
}

._elementHeader_1smy8_288 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

._elementType_1smy8_295 {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  white-space: nowrap;
}

._elementLabelInput_1smy8_302 {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 1rem;
}

._elementLabelInput_1smy8_302:focus {
  outline: none;
  border-color: #007bff;
}

._checkboxLabel_1smy8_315 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  white-space: nowrap;
  cursor: pointer;
}

._checkboxLabel_1smy8_315 input[type="checkbox"] {
  cursor: pointer;
}

._elementContent_1smy8_329 {
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}

/* Options Section */
._optionsSection_1smy8_335 {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

._optionsHeader_1smy8_343 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

._optionsTitle_1smy8_350 {
  margin: 0;
  font-size: 1rem;
  color: #495057;
}

._optionsList_1smy8_356 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._optionItem_1smy8_362 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

._optionInput_1smy8_368 {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.9rem;
}

._optionInput_1smy8_368:focus {
  outline: none;
  border-color: #007bff;
}

/* Info Box */
._infoBox_1smy8_382 {
  background: #e7f3ff;
  border-left: 4px solid #007bff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 4px;
}

._infoBox_1smy8_382 p {
  margin: 0;
  color: #004085;
  font-size: 0.9rem;
}

/* Subform Questions Section */
._subformQuestionsSection_1smy8_397 {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px dashed #6c757d;
}

._subformElementsList_1smy8_405 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

._subformElementsList_1smy8_405 ._elementCard_1smy8_80 {
  background: white;
  border: 1px solid #ced4da;
}

/* Responsive */
@media (max-width: 768px) {
  ._container_1smy8_3 {
    padding: 1rem;
  }

  ._header_1smy8_9 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  ._title_1smy8_18 {
    font-size: 1.5rem;
  }

  ._formRow_1smy8_98 {
    grid-template-columns: 1fr;
  }

  ._sectionHeader_1smy8_202 {
    flex-wrap: wrap;
  }

  ._elementHeader_1smy8_288 {
    flex-wrap: wrap;
  }

  ._optionItem_1smy8_362 {
    flex-direction: column;
  }

  ._optionInput_1smy8_368 {
    width: 100%;
  }
}
/* Fill Form Page Styles */

._container_ozx3w_3 {
  min-height: 100vh;
  background-color: #f3f4f6;
  padding: 2rem;
}

._backButton_ozx3w_9 {
  margin-bottom: 1.5rem;
  padding: 0.625rem 1.25rem;
  background-color: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._backButton_ozx3w_9:hover {
  background-color: #f9fafb;
}

._loading_ozx3w_25,
._error_ozx3w_26 {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #6b7280;
  background-color: white;
  border-radius: 0.5rem;
  margin: 2rem auto;
  max-width: 600px;
}

._error_ozx3w_26 {
  color: #ef4444;
}

._submittingOverlay_ozx3w_41 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

._submittingMessage_ozx3w_54 {
  background-color: white;
  padding: 2rem 3rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

@media (max-width: 768px) {
  ._container_ozx3w_3 {
    padding: 1rem;
  }
}
/* Submissions List Page Styles */

._container_x1h1p_3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

._header_x1h1p_9 {
  margin-bottom: 2rem;
}

._backButton_x1h1p_13 {
  margin-bottom: 1rem;
  padding: 0.625rem 1.25rem;
  background-color: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._backButton_x1h1p_13:hover {
  background-color: #f9fafb;
}

._title_x1h1p_29 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

._loading_x1h1p_36,
._error_x1h1p_37 {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #6b7280;
}

._error_x1h1p_37 {
  color: #ef4444;
}

._retryButton_x1h1p_48 {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

._emptyState_x1h1p_59 {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border: 2px dashed #d1d5db;
}

._emptyState_x1h1p_59 p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

._fillButton_x1h1p_73 {
  padding: 0.75rem 1.5rem;
  background-color: #10b981;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s;
}

._fillButton_x1h1p_73:hover {
  background-color: #059669;
}

._list_x1h1p_88 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._card_x1h1p_94 {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

._card_x1h1p_94:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

._cardHeader_x1h1p_106 {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

._cardTitle_x1h1p_115 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

._cardDate_x1h1p_122 {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

._viewButton_x1h1p_128 {
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

._viewButton_x1h1p_128:hover {
  background-color: #2563eb;
}

._cardBody_x1h1p_143 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._info_x1h1p_149 {
  display: flex;
  gap: 0.5rem;
}

._label_x1h1p_154 {
  font-weight: 500;
  color: #6b7280;
}

._value_x1h1p_159 {
  color: #111827;
}

@media (max-width: 768px) {
  ._container_x1h1p_3 {
    padding: 1rem;
  }

  ._cardHeader_x1h1p_106 {
    flex-direction: column;
    gap: 1rem;
  }

  ._viewButton_x1h1p_128 {
    align-self: flex-start;
  }
}
/* All Submissions Page Styles */

._container_12t90_3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

._title_12t90_9 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2rem 0;
}

._loading_12t90_16,
._error_12t90_17 {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #6b7280;
}

._error_12t90_17 {
  color: #ef4444;
}

._retryButton_12t90_28 {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

._emptyState_12t90_39 {
  text-align: center;
  padding: 4rem 2rem;
  background-color: white;
  border-radius: 0.5rem;
  border: 2px dashed #d1d5db;
}

._emptyState_12t90_39 p {
  font-size: 1.125rem;
  color: #6b7280;
}

._list_12t90_52 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._card_12t90_58 {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

._card_12t90_58:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

._cardHeader_12t90_70 {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

._cardTitle_12t90_79 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

._cardDate_12t90_86 {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

._viewButton_12t90_92 {
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

._viewButton_12t90_92:hover {
  background-color: #2563eb;
}

._cardBody_12t90_107 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._info_12t90_113 {
  display: flex;
  gap: 0.5rem;
}

._label_12t90_118 {
  font-weight: 500;
  color: #6b7280;
}

._value_12t90_123 {
  color: #111827;
}

@media (max-width: 768px) {
  ._container_12t90_3 {
    padding: 1rem;
  }

  ._cardHeader_12t90_70 {
    flex-direction: column;
    gap: 1rem;
  }

  ._viewButton_12t90_92 {
    align-self: flex-start;
  }
}
/* Submission Detail Page Styles */

._container_1kujh_3 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

._header_1kujh_9 {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

._backButton_1kujh_17 {
  background: transparent;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

._backButton_1kujh_17:hover {
  color: #0056b3;
  text-decoration: underline;
}

._headerInfo_1kujh_33 {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
}

._downloadButton_1kujh_41 {
  background: #28a745;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.2s;
  white-space: nowrap;
  align-self: flex-start;
}

._downloadButton_1kujh_41:hover {
  background: #218838;
}

._downloadButton_1kujh_41:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

._title_1kujh_64 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 2rem;
}

._metadata_1kujh_70 {
  color: #666;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

._metadata_1kujh_70 a {
  color: #007bff;
  text-decoration: none;
}

._metadata_1kujh_70 a:hover {
  text-decoration: underline;
}

._createdBy_1kujh_85 {
  color: #666;
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
}

._content_1kujh_91 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

._section_1kujh_97 {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

._sectionTitle_1kujh_104 {
  margin: 0 0 1.5rem 0;
  color: #333;
  font-size: 1.5rem;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

._answersSection_1kujh_112 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._answer_1kujh_112 {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #007bff;
}

._questionLabel_1kujh_125 {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._questionType_1kujh_134 {
  font-size: 0.85rem;
  color: #666;
  font-weight: 400;
}

._answerValue_1kujh_140 {
  color: #555;
  padding-left: 0.5rem;
  word-break: break-word;
}

._fileInfo_1kujh_146 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._fileInfo_1kujh_146 a {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

._fileInfo_1kujh_146 a:hover {
  text-decoration: underline;
}

._photoGallery_1kujh_162 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

._photoItem_1kujh_169 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s;
}

._photoItem_1kujh_169:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

._photoThumbnail_1kujh_184 {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

._photoInfo_1kujh_192 {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._photoFilename_1kujh_199 {
  font-size: 0.75rem;
  color: #333;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._photoSize_1kujh_208 {
  font-size: 0.7rem;
  color: #666;
}

._subformsSection_1kujh_213 {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._subform_1kujh_213 {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  background: #fafbfc;
}

._subformTitle_1kujh_227 {
  margin: 0 0 1rem 0;
  color: #495057;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._subformItem_1kujh_236 {
  background: white;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #dee2e6;
}

._subformItem_1kujh_236:last-child {
  margin-bottom: 0;
}

._itemHeader_1kujh_248 {
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.95rem;
}

._nestedSubforms_1kujh_257 {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid #dee2e6;
}

._error_1kujh_263 {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  ._container_1kujh_3 {
    padding: 1rem;
  }

  ._title_1kujh_64 {
    font-size: 1.5rem;
  }

  ._sectionTitle_1kujh_104 {
    font-size: 1.2rem;
  }

  ._subform_1kujh_213 {
    margin-left: 0 !important;
    padding: 0.75rem;
  }

  ._nestedSubforms_1kujh_257 {
    padding-left: 0.5rem;
  }
}
._optionListsPage_15o9q_1 {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

._header_15o9q_7 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

._header_15o9q_7 h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
}

._actions_15o9q_20 {
  display: flex;
  gap: 1rem;
}

._createButton_15o9q_25,
._importButton_15o9q_26 {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._createButton_15o9q_25 {
  background: #3b82f6;
  color: white;
}

._createButton_15o9q_25:hover {
  background: #2563eb;
}

._importButton_15o9q_26 {
  background: #10b981;
  color: white;
}

._importButton_15o9q_26:hover {
  background: #059669;
}

._listContainer_15o9q_54 {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

._emptyState_15o9q_61 {
  padding: 4rem 2rem;
  text-align: center;
  color: #6b7280;
}

._emptyState_15o9q_61 p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

._listItem_15o9q_72 {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

._listItem_15o9q_72:hover {
  background: #f9fafb;
}

._listItem_15o9q_72:last-child {
  border-bottom: none;
}

._listInfo_15o9q_89 {
  flex: 1;
}

._listName_15o9q_93 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

._listKey_15o9q_100 {
  font-size: 0.875rem;
  color: #6b7280;
  font-family: monospace;
}

._listMeta_15o9q_106 {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

._badge_15o9q_112 {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

._typeBadge_15o9q_119 {
  background: #dbeafe;
  color: #1e40af;
}

._countBadge_15o9q_124 {
  background: #e5e7eb;
  color: #374151;
}

._listActions_15o9q_129 {
  display: flex;
  gap: 0.5rem;
}

._treeButton_15o9q_134,
._editButton_15o9q_135,
._deleteButton_15o9q_136 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

._treeButton_15o9q_134 {
  background: #ecfdf5;
  color: #047857;
  font-weight: 500;
}

._treeButton_15o9q_134:hover {
  background: #d1fae5;
}

._editButton_15o9q_135 {
  background: #f3f4f6;
  color: #374151;
}

._editButton_15o9q_135:hover {
  background: #e5e7eb;
}

._deleteButton_15o9q_136 {
  background: #fee2e2;
  color: #991b1b;
}

._deleteButton_15o9q_136:hover {
  background: #fecaca;
}

._modal_15o9q_173 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

._modalContent_15o9q_184 {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

._modalHeader_15o9q_194 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

._modalHeader_15o9q_194 h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
}

._closeButton_15o9q_207 {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

._closeButton_15o9q_207:hover {
  color: #374151;
}

._form_15o9q_225 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._formGroup_15o9q_231 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._formGroup_15o9q_231 label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

._formGroup_15o9q_231 input,
._formGroup_15o9q_231 textarea,
._formGroup_15o9q_231 select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

._formGroup_15o9q_231 input:focus,
._formGroup_15o9q_231 textarea:focus,
._formGroup_15o9q_231 select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._formGroup_15o9q_231 textarea {
  min-height: 100px;
  resize: vertical;
}

._fileInput_15o9q_265 {
  border: 2px dashed #d1d5db;
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

._fileInput_15o9q_265:hover {
  border-color: #3b82f6;
  background: #f0f9ff;
}

._fileInput_15o9q_265 input[type="file"] {
  display: none;
}

._modalActions_15o9q_283 {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

._cancelButton_15o9q_290,
._submitButton_15o9q_291 {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._cancelButton_15o9q_290 {
  background: #f3f4f6;
  color: #374151;
}

._cancelButton_15o9q_290:hover {
  background: #e5e7eb;
}

._submitButton_15o9q_291 {
  background: #3b82f6;
  color: white;
}

._submitButton_15o9q_291:hover {
  background: #2563eb;
}

._submitButton_15o9q_291:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

._error_15o9q_324 {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

._loading_15o9q_330 {
  padding: 4rem 2rem;
  text-align: center;
  color: #6b7280;
}

._optionsSection_15o9q_336 {
  margin-top: 1.5rem;
}

._optionsHeader_15o9q_340 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

._optionsHeader_15o9q_340 label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

._smallButton_15o9q_353 {
  padding: 0.5rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

._smallButton_15o9q_353:hover {
  background: #2563eb;
}

._optionsList_15o9q_368 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._optionRow_15o9q_374 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

._optionInput_15o9q_380 {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

._optionInput_15o9q_380:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._infoBox_15o9q_394 {
  background: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: #1e40af;
  margin-top: 1rem;
}

._infoBox_15o9q_394 strong {
  display: block;
  margin-bottom: 0.25rem;
}
._editorPage_64j63_1 {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

._header_64j63_7 {
  margin-bottom: 2rem;
}

._breadcrumb_64j63_11 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

._breadcrumb_64j63_11 a {
  color: #3b82f6;
  text-decoration: none;
}

._breadcrumb_64j63_11 a:hover {
  text-decoration: underline;
}

._title_64j63_29 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

._subtitle_64j63_36 {
  color: #6b7280;
  font-size: 1rem;
}

._levelBadges_64j63_41 {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

._levelBadge_64j63_41 {
  padding: 0.25rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

._content_64j63_57 {
  display: flex;
  gap: 2rem;
}

._treePanel_64j63_62 {
  flex: 1;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  min-height: 600px;
}

._actionsPanel_64j63_71 {
  width: 320px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

._panelTitle_64j63_82 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
}

._treeContainer_64j63_89 {
  margin-top: 1rem;
}

._emptyState_64j63_93 {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

._emptyState_64j63_93 p {
  margin-bottom: 1rem;
}

._addRootButton_64j63_103 {
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._addRootButton_64j63_103:hover {
  background: #2563eb;
}

._treeNode_64j63_119 {
  margin-bottom: 0.5rem;
}

._nodeContent_64j63_123 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: white;
  transition: all 0.2s;
}

._nodeContent_64j63_123:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

._nodeContent_64j63_123._selected_64j63_139 {
  background: #eff6ff;
  border-color: #3b82f6;
}

._expandButton_64j63_144 {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #6b7280;
  font-size: 1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

._expandButton_64j63_144:hover {
  background: #f3f4f6;
}

._expandButton_64j63_144._disabled_64j63_164 {
  opacity: 0.3;
  cursor: default;
}

._nodeIcon_64j63_169 {
  font-size: 1.25rem;
}

._nodeInfo_64j63_173 {
  flex: 1;
  min-width: 0;
}

._nodeLabel_64j63_178 {
  font-weight: 500;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._nodeKey_64j63_186 {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: monospace;
}

._nodeActions_64j63_192 {
  display: flex;
  gap: 0.25rem;
}

._iconButton_64j63_197 {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

._iconButton_64j63_197:hover {
  background: #f3f4f6;
  color: #1a202c;
}

._iconButton_64j63_197._danger_64j63_213:hover {
  background: #fee2e2;
  color: #dc2626;
}

._nodeChildren_64j63_218 {
  margin-left: 2rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
}

._actionCard_64j63_225 {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

._actionCard_64j63_225 h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

._actionCard_64j63_225 p {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

._actionButton_64j63_245 {
  width: 100%;
  padding: 0.625rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._actionButton_64j63_245:hover {
  background: #2563eb;
}

._actionButton_64j63_245._secondary_64j63_262 {
  background: #f3f4f6;
  color: #374151;
}

._actionButton_64j63_245._secondary_64j63_262:hover {
  background: #e5e7eb;
}

._actionButton_64j63_245:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

._statsCard_64j63_277 {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  padding: 1rem;
}

._statsCard_64j63_277 h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.5rem;
}

._statsList_64j63_291 {
  list-style: none;
  padding: 0;
  margin: 0;
}

._statsList_64j63_291 li {
  font-size: 0.75rem;
  color: #0369a1;
  padding: 0.25rem 0;
}

._modal_64j63_303 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

._modalContent_64j63_314 {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
}

._modalHeader_64j63_322 {
  margin-bottom: 1.5rem;
}

._modalHeader_64j63_322 h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
}

._formGroup_64j63_332 {
  margin-bottom: 1rem;
}

._formGroup_64j63_332 label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

._formGroup_64j63_332 input {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

._formGroup_64j63_332 input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._formGroup_64j63_332 small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

._modalActions_64j63_365 {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

._cancelButton_64j63_372 {
  padding: 0.625rem 1.25rem;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._cancelButton_64j63_372:hover {
  background: #e5e7eb;
}

._submitButton_64j63_388 {
  padding: 0.625rem 1.25rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._submitButton_64j63_388:hover {
  background: #2563eb;
}

._submitButton_64j63_388:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

._loading_64j63_409 {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

._saveBar_64j63_415 {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 40;
}

._saveBar_64j63_415._hasChanges_64j63_429 {
  background: #fef3c7;
  border: 1px solid #fbbf24;
}

._saveBar_64j63_415 p {
  margin: 0;
  font-size: 0.875rem;
  color: #92400e;
  font-weight: 500;
}

._saveButton_64j63_441 {
  padding: 0.625rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._saveButton_64j63_441:hover {
  background: #2563eb;
}

/* Level editing styles */
._levelsSection_64j63_458 {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

._levelsSectionHeader_64j63_466 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

._editLevelsButton_64j63_473 {
  padding: 0.375rem 0.75rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

._editLevelsButton_64j63_473:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

._levelEditList_64j63_489 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._levelEditItem_64j63_495 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._levelNumber_64j63_501 {
  min-width: 70px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

._levelInput_64j63_508 {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

._levelInput_64j63_508:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._removeLevelButton_64j63_522 {
  padding: 0.375rem 0.625rem;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

._removeLevelButton_64j63_522:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

._levelEditActions_64j63_538 {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

._addLevelButton_64j63_544 {
  padding: 0.5rem 1rem;
  background: white;
  color: #059669;
  border: 1px solid #d1fae5;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._addLevelButton_64j63_544:hover {
  background: #d1fae5;
  border-color: #10b981;
}

._saveLevelsButton_64j63_561 {
  padding: 0.5rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._saveLevelsButton_64j63_561:hover:not(:disabled) {
  background: #2563eb;
}

._saveLevelsButton_64j63_561:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Global App Styles */

#root {
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
