/* Reset admin theme to light mode */
:root {
  --primary: #79aec8;
  --secondary: #417690;
  --accent: #f5dd5d;
  --primary-fg: #fff;
  --body-fg: #333;
  --body-bg: #fff;
  --header-bg: var(--secondary);
  --header-fg: #fff;
  --link-fg: #447e9b;
  --link-hover-color: #036;
  --darkened-bg: #f8f8f8;
}

/* Improve form field styles */
.form-row {
  padding: 1em 0;
  border-bottom: 1px solid #eee;
}

/* Fix select2 field (performers) */
.select2-container {
  min-width: 25em !important;
}

.select2-container--default .select2-selection--multiple {
  border-color: #ddd !important;
}

/* Fix Quill editor */
.django-quill-widget-container {
  min-height: 300px;
  margin-bottom: 1em;
}

.ql-editor {
  min-height: 200px;
  background: white;
}

.ql-toolbar.ql-snow {
  border-color: #ddd !important;
  background: white;
}

.ql-container.ql-snow {
  border-color: #ddd !important;
  background: white;
}

/* Fix link attachments in description */
.ql-editor a {
  white-space: normal;
  word-break: break-word;
}

/* Better form layout */
.form-row > div {
  max-width: 100%;
}

.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  max-width: 40em;
}
