:root {
  --primary: rgba(185, 28, 28, 0.236);
  --secondary: #417690;
  --accent: #f5dd5d;
  --primary-fg: #fff;
  --body-fg: #333;
  --body-bg: #fff;
  --body-quiet-color: #666;
  --body-loud-color: #000;
  --header-color: #ffc;
  --header-branding-color: var(--accent);
  --header-bg: var(--secondary);
  --header-link-color: var(--primary-fg);
  --breadcrumbs-fg: #c4dce8;
  --breadcrumbs-link-fg: var(--body-bg);
  --breadcrumbs-bg: #264b5d;
  --link-fg: #417893;
  --link-hover-color: #036;
  --link-selected-fg: var(--secondary);
  --hairline-color: #e8e8e8;
  --border-color: #ccc;
  --error-fg: #ba2121;
  --message-success-bg: #dfd;
  --message-warning-bg: #ffc;
  --message-error-bg: #ffefef;
  --darkened-bg: #f8f8f8;
  --selected-bg: #e4e4e4;
  --selected-row: #ffc;
  --button-fg: #fff;
  --button-bg: var(--secondary);
  --button-hover-bg: #205067;
  --default-button-bg: #205067;
  --default-button-hover-bg: var(--secondary);
  --close-button-bg: #747474;
  --close-button-hover-bg: #333;
  --delete-button-bg: #ba2121;
  --delete-button-hover-bg: #a41515;
  --object-tools-fg: var(--button-fg);
  --object-tools-bg: var(--close-button-bg);
  --object-tools-hover-bg: var(--close-button-hover-bg);
}

.logo {
  width: 100px;
}

/* Trix Editor Styling */
.trix-content {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  background-color: #fff;
  min-height: 15em;
  font-family: inherit;
}

.trix-content:focus {
  outline: none;
  border-color: #bb2111;
  box-shadow: 0 0 0 1px #bb2111;
}

/* Style the toolbar */
trix-toolbar .trix-button-group {
  border-color: #d1d5db;
  border-radius: 0.375rem;
}

trix-toolbar .trix-button {
  border: none;
  background-color: transparent;
  color: #4b5563;
  padding: 0.375rem;
}

trix-toolbar .trix-button:hover {
  background-color: #f3f4f6;
  color: #bb2111;
}

trix-toolbar .trix-button.trix-active {
  background-color: #bb2111;
  color: white;
}

/* Style lists inside the editor to match wine theme */
.trix-content ul {
  padding-left: 20px !important;
  list-style-type: disc;
}

.trix-content ol {
  margin-left: 25px !important;
  list-style: decimal;
}

.prose-lg :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.trix-content h2 {
  font-size: 1.3333333em;
  margin-top: 0.667em;
  margin-bottom: .6666667em;
  line-height: 1.5;
}

.trix-content div {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}

.trix-content li {
  padding-inline-start: .4444444em;
  margin-top: .6666667em;
  margin-bottom: .6666667em;
}

.trix-content ul {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-inline-start: 1.5555556em;
}


/* First tag will have margin top 0 and last tag will have margin bottom 0 */
.trix-content *:first-child {
  margin-top: 0;
}

.trix-content *:last-child {
  margin-bottom: 0;
}

/* Make sure the editor connects to toolbar */
trix-editor {
  border-radius: 0 0 0.375rem 0.375rem;
}

/* Hide the Trix editor's file attachment button */
trix-toolbar .trix-button-group--file-tools {
  display: none !important;
}



/* Django messages */
.error {
  border-color: #f56565;
}

.warning {
  border-color: #ed8936;
}

.success {
  border-color: #48bb78;
}

.info {
  border-color: #4299e1;
}



.company-dropdown {
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.company-dropdown li {
  padding: 10px;
  cursor: pointer;
}

.company-dropdown li:hover {
  background-color: #f0f0f0;
}
