/* Django Unfold Custom Overrides for IMSAI Admin */

/* Override the content div to use full width */
#content {
  max-width: 100dvw !important;
  margin: auto !important;
}

.vCheckboxLabel {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

/* Alternative selector for the container class (in case CSS escaping doesn't work) */
[class*="@container"][class*="px-4"][class*="pb-4"][class*="grow"] {
  max-width: 100dvw !important;
}

/* Ensure main content area takes full width */
.main-content,
.admin-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Override any max-width constraints on admin tables and forms */
.admin-changelist,
.admin-changeform,
.admin-add-form {
  max-width: 100% !important;
}

input {
  border-radius: 4px !important;
}
