/* -------------------------------------------------------------------------- */
/* Dark Theme */
/* -------------------------------------------------------------------------- */

:root {
  /* Background Colors */
  --bg-primary: var(--bg-dark-primary);
  --bg-secondary: var(--bg-dark-secondary);
  --bg-tertiary: var(--bg-dark-tertiary);
  --bg-nav: var(--bg-brand);
  --bg-nav-selected: var(--bg-primary);

  --bg-sidebar: var(--bg-secondary);
  --bg-table-even: var(--bg-primary);
  --bg-table-odd: var(--bg-secondary);
  --bg-table-hover: var(--color-violet-900);
  --bg-table-selected: var(--color-violet-700);
  --bg-table-header-active: var(--bg-dark-tertiary);

  /* Text Colors */
  --text-primary: var(--text-light);
  --text-secondary: var(--color-dark-100);
  --text-muted: var(--color-dark-400);
  --text-nav: var(--color-violet-100);
  --text-nav-selected: var(--text-primary);

  /* Border Colors */
  --border-primary: var(--color-dark-400);
  --border-secondary: var(--color-dark-500);
  --border-tertiary: var(--color-dark-600);
  --border-selected: var(--color-violet-700);
  --border-hover: var(--color-dark-050);

  /* Shadow */
  --shadow: rgba(200, 200, 200, 0.1);

  /* Ace Editor Colors (reference base colors) */
  --ace-editor-bg: var(--bg-primary);
  --ace-editor-gutter-bg: var(--bg-primary);
  --ace-editor-gutter-color: var(--color-dark-500);
  --ace-editor-autocomplete-bg: var(--bg-primary);
  --ace-editor-autocomplete-active-line-bg: var(--bg-tertiary);

  /* Scrollbar */
  --scrollbar-thumb-color: var(--color-light-700);
  scrollbar-color: var(--scrollbar-thumb-color) transparent;
}

/* -------------------------------------------------------------------------- */
/* Light Theme (when checkbox is checked) */
/* -------------------------------------------------------------------------- */

body:has(#theme-toggle:checked),
body:has(#theme-toggle:checked) * {
  /* Background Colors */
  --bg-primary: var(--bg-light-primary);
  --bg-secondary: var(--bg-light-secondary);
  --bg-tertiary: var(--bg-light-tertiary);
  --bg-nav-selected: var(--bg-primary);

  --bg-sidebar: var(--bg-secondary);
  --bg-table-even: var(--bg-primary);
  --bg-table-odd: var(--bg-secondary);
  --bg-table-hover: #ffe; /* var(--color-violet-100) */
  --bg-table-selected: var(--color-blue-500); /* var(--color-violet-400) */
  --bg-table-header-active: var(--color-blue-050);

  /* Text Colors */
  --text-primary: var(--text-dark);
  --text-secondary: var(--color-dark-400);
  --text-muted: var(--color-dark-200);
  --text-nav-selected: var(--text-primary);

  /* Border Colors */
  --border-primary: var(--color-light-700);
  --border-secondary: var(--color-light-600);
  --border-tertiary: var(--color-light-500);
  --border-selected: var(--color-violet-400);
  --border-hover: var(--color-dark-500);

  /* Shadow */
  --shadow: rgba(0, 0, 0, 0.175);

  /* Ace Editor Colors (override for light theme) */
  --ace-editor-bg: var(--bg-primary);
  --ace-editor-gutter-bg: var(--bg-primary);
  --ace-editor-gutter-color: var(--color-dark-100);
  --ace-editor-autocomplete-bg: var(--bg-primary);
  --ace-editor-autocomplete-active-line-bg: var(--bg-tertiary);

  /* Scrollbar */
  --scrollbar-thumb-color: var(--color-dark-100);
  scrollbar-color: var(--scrollbar-thumb-color) transparent;
}

/* Scrollbar - webkit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
  border-radius: 5px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

#main {
  display: none;
}

#nav {
  position: fixed;
  top: 0;
  left: 250px;
  right: 0;
  height: 50px;
  background: var(--bg-nav);
}

#nav ul {
  margin: 0px;
  padding: 0px;
  height: 50px;
  display: block;
}

#nav ul li {
  margin: 0px;
  padding: 0px;
  float: left;
  height: 49px;
  line-height: 49px;
  font-size: 13px;
  padding: 0px 14px;
  color: var(--text-nav);
  font-weight: 500;
  margin: 0 1px;
  cursor: pointer;
  display: block;
  list-style: none;
  list-style-type: none;
}

#nav ul li:first-child {
  margin-left: 0px;
}

#nav ul li:hover {
  color: var(--color-light-050);
}

#nav ul li.selected {
  position: relative;
  background: var(--bg-nav-selected);
  color: var(--text-nav-selected);
  margin: 0;
}

#nav ul li.selected:before {
  content: " ";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  widows: 100%;
  background: var(--bg-primary);
}

#nav ul li.selected:first-child {
  border-left: none;
}

#sidebar {
  position: fixed;
  width: 250px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  box-sizing: border-box;
  background: var(--bg-sidebar);
}

#sidebar .current-database {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  font-size: 14px;
  color: var(--text-light);
  background: var(--bg-brand);
  z-index: 900;
}

#sidebar .current-database .wrap {
  position: relative;
  height: 50px;
}

#sidebar .current-database span.current-database-name {
  margin-left: 30px;
  display: inline-block;
  width: 200px;
  height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

#sidebar .current-database i.fa-database {
  position: absolute;
  left: 8px;
  top: 18px;
}

#sidebar .current-database input.typeahead {
  margin-left: 30px;
  display: inline-block;
  width: 200px;
  height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sidebar .current-database input.typeahead {
  display: none;
  background: var(--bg-brand);
  width: 200px;
  height: 22px;
  color: var(--text-light);
  font-weight: normal;
  outline: none;
  border: 0px none;
}

#sidebar .current-database span.refresh {
  position: absolute;
  top: 0px;
  right: 6px;
  cursor: pointer;
  color: var(--text-light);
  display: none;
}

#sidebar .current-database:hover span.refresh {
  display: inline-block;
}

#sidebar .current-database input.typeahead::-webkit-input-placeholder {
  color: var(--text-light);
}

#sidebar ul.typeahead {
  position: absolute;
  margin-left: 30px;
  overflow-y: auto;
  max-height: 300px;
  z-index: 999;
}

#sidebar ul.typeahead a {
  font-size: 13px;
  padding: 3px 10px;
}

#sidebar .objects-search {
  position: fixed;
  top: 50px;
  left: 0px;
  width: 250px;
  height: 30px;
  overflow: hidden;
}

#sidebar .objects-search .wrap {
  position: relative;
  background: transparent;
  height: 30px;
  padding: 4px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-tertiary);
}

#sidebar .objects-search i.fa-search {
  position: absolute;
  left: 8px;
  top: 7px;
  color: var(--text-muted);
}

#sidebar .objects-search i.fa-times-circle {
  position: absolute;
  right: 8px;
  top: 7px;
  color: var(--text-muted);
  display: none;
  cursor: pointer;
}

#sidebar .objects-search i.fa-times-circle:hover {
  color: var(--text-secondary);
}

#sidebar .objects-search input[type="text"] {
  background: transparent;
  border: 0px none;
  font-size: 12px;
  color: var(--text-primary);
  height: 22px;
  line-height: 22px;
  padding: 0px;
  margin-left: 25px;
  width: 200px;
  outline: none;
}

#sidebar div.tables-list {
  position: fixed;
  width: 250px;
  top: 80px;
  left: 0px;
  bottom: 130px;
  overflow: auto;
}

#sidebar div.tables-list .wrap {
  height: 100%;
  overflow: auto;
}

#sidebar div.tables-list #tables,
#sequences,
#objects {
  font-size: 12px;
}

#sidebar div.table-information {
  position: fixed;
  width: 250px;
  left: 0px;
  height: 130px;
  bottom: 0px;
  box-sizing: border-box;
  cursor: default;
}

#sidebar div.table-information .wrap {
  height: 100%;
  overflow-y: auto;
}

#sidebar div.table-information .title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 30px;
  padding: 0px 8px;
  border-top: 1px solid var(--border-tertiary);
}

#sidebar div.table-information .lines {
  display: none;
}

#sidebar div.table-information .lines .line {
  line-height: 24px;
  height: 24px;
  padding: 0 8px 0 8px;
  font-size: 12px;
  color: var(--text-muted) !important;
}

#sidebar div.table-information .lines .line span {
  color: var(--text-secondary);
  min-width: 0;
  padding-left: 0px;
}

#body {
  position: fixed;
  top: 50px;
  left: 250px;
  bottom: 0px;
  right: 0px;
  overflow: auto;
}

#input {
  width: 100%;
  height: 300px;
  position: relative;
}

#input .input-wrapper {
  height: 250px;
  padding-top: 12px;
}

#input_resize_handler {
  width: 100%;
  height: 1px;
  background: var(--border-tertiary);
  cursor: row-resize;
  position: absolute;
  bottom: 0px;
}

#input_resize_handler:hover,
#input_resize_handler.dragging {
  height: 3px;
}

#input .actions {
  background: var(--bg-primary);
  padding: 10px;
  height: 50px;
  bottom: 0px;
}

#input .actions #result-rows-count {
  font-size: 12px;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  float: left;
  margin-right: 10px;
  color: var(--text-muted);
}

#input .actions .btn {
  line-height: 30px;
  height: 30px;
  padding: 0px 13px;
  margin: 0px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: none;
  background: transparent;
  border: 1px solid var(--border-primary);
  float: left;
  margin-right: 10px;
}

#input .actions .btn-primary {
  border-color: var(--border-accent);
  color: var(--text-accent);
}

#input .actions .btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

#input .actions .btn-primary:hover {
  background: var(--bg-accent);
  color: var(--text-light);
  border-color: var(--border-accent);
}

#input .actions #query_progress {
  display: none;
  float: left;
  font-size: 12px;
  line-height: 30px;
  height: 30px;
  color: var(--text-muted);
}

#input .actions .btn:focus {
  outline: 0 none;
  box-shadow: 0;
}

#input .actions .btn:last-child {
  margin-right: 0px;
}

#output {
  position: absolute;
  left: 0px;
  top: 300px;
  bottom: 0px;
  right: 0px;
  margin: 0px;
  padding: 0px;
  overflow: auto;
}

#pagination {
  display: none;
  position: absolute;
  width: 100%;
  height: 50px;
  padding: 10px;
  top: 0px;
  left: 0px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-tertiary);
  box-shadow: 0 1px 3px 0px var(--shadow);
}

#pagination .pager-container {
  float: right;
}

#pagination .filters {
  float: left;
  font-size: 12px;
}

#pagination .filters span {
  display: inline-block;
  float: left;
  font-weight: bold;
  line-height: 32px;
  height: 32px;
  margin: 0px 8px;
  color: var(--text-muted);
}

#pagination .filters .form-control {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-primary);
  box-shadow: none;
}

#pagination .filters .form-control:focus {
  border-color: var(--border-selected);
}

#pagination .filters select {
  font-size: 12px;
  width: 100px;
  float: left;
  line-height: 30px;
  height: 30px;
  margin-right: 8px;
  outline: none;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

#pagination .filters select.column {
  width: 150px;
}

#pagination .filters select.filter {
  width: 120px;
}

#pagination .filters select option {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

#pagination .filters input {
  float: left;
  width: 200px;
  height: 30px;
  line-height: 30px;
  margin-right: 8px;
  font-size: 12px;
}

#pagination .filters .btn-primary {
  border-color: var(--border-accent);
  color: var(--text-accent);
  background: var(--bg-primary);
  outline: none;
  float: left;
  margin-right: 8px;
}

#pagination .filters .btn-primary:hover {
  color: var(--text-light);
  border-color: var(--border-accent);
  background: var(--bg-accent);
}

#pagination .filters .btn-default {
  float: left;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-primary);
}

#pagination .filters .btn-default:hover {
  background: var(--bg-tertiary);
}

#pagination .btn-group {
  float: right;
}

#pagination .btn-group .btn-default {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

#pagination .btn-group .btn-default:hover {
  background-color: var(--bg-tertiary);
}

#pagination .current-page {
  float: right;
  font-size: 12px;
  margin-right: 12px;
  color: var(--text-muted);
  line-height: 32px;
  height: 32px;
}

#results {
  font-size: 12px;
  margin: 0px;
  padding: 0px;
}

#results.empty td {
  border: 0px none;
}

#results tr:nth-child(even) > td {
  border: none;
  background: var(--bg-table-even);
}

#results tr:nth-child(odd) > td {
  border: none;
  background: var(--bg-table-odd);
}

#results th {
  border-top: none;
  border-bottom: 1px solid var(--border-tertiary);
  padding: 3px 9px;
  line-height: 24px;
  color: var(--text-primary);
  font-weight: bold;
  cursor: pointer;

  -webkit-font-smoothing: antialiased;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

#results th:hover {
  background: var(--bg-secondary);
}

#results th.active {
  background: var(--bg-table-header-active);
}

#results[data-mode="browse"] th:hover {
  cursor: pointer;
  background: var(--bg-tertiary);
}

#results tbody tr:hover td {
  background: var(--bg-table-hover);
}

#results tbody tr {
  border-bottom: 1px solid var(--border-tertiary);
}

#results tr.selected td {
  background: var(--bg-table-selected) !important;
  color: var(--text-light);
}

#results td {
  color: var(--text-primary);
  vertical-align: middle;
  border: 0px none;
}

#results td div {
  max-width: 350px;
  max-height: 51px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre;
}

#results td div span.null {
  color: var(--text-muted);
  text-transform: uppercase;
}

#results td textarea {
  color: var(--text-primary) !important;
  font-size: 12px;
}

#results th:first-child,
#results td:first-child {
  padding-left: 15px;
}

#results.no-crop td div {
  max-width: none;
}

#results_view {
  display: none;
  padding: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

#results_view .title {
  margin-bottom: 8px;
}

#results_view pre {
  border: 0px none;
  position: relative;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

#results_view .copy {
  position: absolute;
  display: none;
  text-align: center;
  line-height: 30px;
  right: 4px;
  top: 4px;
  width: 30px;
  height: 30px;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 3px;
  cursor: pointer;
}

#results_view .copy:hover {
  border-color: var(--border-primary);
}

#results_view pre:hover .copy {
  display: block;
}

.full #output {
  top: 0px !important;
}

.with-pagination #output {
  top: 50px !important;
}

.with-pagination #pagination {
  display: block;
}

.left {
  float: left;
}

#content_modal {
  display: none;
  width: 60%;
  height: 400px;
  position: fixed;
  top: 20%;
  left: 20%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  box-shadow: 0 0 20px var(--shadow);
  color: var(--text-primary);
}

#content_modal .content {
  border: 0px none;
  position: relative;
  padding: 8px;
  white-space: break-spaces;
  background: var(--bg-secondary);
  overflow-y: scroll;
  height: 366px;
  box-sizing: border-box;
  color: var(--text-primary);
}

#content_modal .title {
  font-weight: bold;
  line-height: 24px;
  background: var(--bg-tertiary);
  padding: 4px 4px 4px 8px;
  color: var(--text-primary);
}

#content_modal .actions {
  float: right;
}

#content_modal .actions .fa {
  float: right;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 3px;
  cursor: pointer;
  margin-left: 4px;
  color: var(--text-primary);
}

#content_modal .actions .fa:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 5px var(--shadow);
}

#error_banner {
  line-height: 30px;
  text-align: center;
  background-color: var(--color-red-500);
  color: var(--text-light);
  display: none;
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 30px;
}

/* -------------------------------------------------------------------------- */

#custom_query {
  height: 238px;
}

#connection_window {
  z-index: 3;
  position: fixed;
  background: var(--bg-primary);
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  display: none;
  overflow-y: auto;
  color: var(--text-primary);
}

.actions-container {
  position: fixed;
  right: 8px;
  top: 10px;
  display: flex;
  gap: 4px;
}

#edit_connection,
#close_connection {
  background: var(--bg-brand);
  color: var(--text-light);
  border-color: var(--color-light-050);
}

#edit_connection i {
  margin-right: 4px;
}

#close_connection_window {
  display: none;
}

#connection_error {
  display: none;
}

.bookmarks {
  display: none;
}

.connection-settings {
  width: 600px;
  margin: 0px auto;
  margin-top: 50px;
}

.connection-settings .header {
  margin-bottom: 25px;
}

.connection-settings .header h1 {
  text-align: center;
  text-shadow: 0px 1px 0px var(--shadow);
  color: var(--text-muted);
  font-weight: normal;
}

.connection-settings .header .version {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  display: block;
}

.connection-settings .header .update {
  font-size: 12px;
  text-align: center;
  padding: 4px;
  margin: 12px 0px;
  display: none;
}

.connection-settings form {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.connection-settings form p.help-block {
  font-size: 12px;
}

.connection-settings form hr {
  border-color: var(--border-tertiary);
}

.connection-settings form .no-left-padding {
  padding-left: 0;
}

.connection-settings form .form-control {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-secondary);
  box-shadow: none;
}

.connection-settings form .form-control:focus {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-selected);
}

.connection-settings form .btn-group .btn-default {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-tertiary);
}

.connection-settings form .btn-group .btn-default.active {
  background: var(--bg-tertiary);
}

.connection-settings form .btn-group .btn-default:hover {
  background: var(--bg-tertiary);
}

.connection-settings form .actions .btn.btn-primary {
  background: var(--bg-brand);
  color: var(--text-light);
  border-color: var(--border-brand);
  &:hover {
    background: var(--color-violet-700);
  }
}

.connection-settings form .actions .btn.btn-default {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-secondary);
  &:hover {
    background: var(--bg-tertiary);
  }
}

.connection-scheme-group {
  display: none;
}

.connection-ssh-group {
  display: none;
  z-index: 1000;
}

.connection-ssh-group h3 {
  font-size: 18px;
  margin: 0px 0px 20px 0px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* Sidebar Schema Objects */
/* -------------------------------------------------------------------------- */

.schema {
}
.schema i {
  display: inline-block;
  margin-right: 4px;
}
.schema i.fa-folder-o {
  display: inline-block;
}
.schema i.fa-folder-open-o {
  display: none;
}
.schema.expanded i.fa-folder-open-o {
  display: inline-block;
}
.schema.expanded i.fa-folder-o {
  display: none;
}

.schema .schema-name {
  font-weight: bold;
  font-size: 13px;
  display: block;
  line-height: 30px;
  height: 30px;
  padding: 0px 8px;
  cursor: pointer;
  white-space: nowrap;
}

.schema .schema-container {
  display: none;
}

.schema.expanded .schema-container {
  display: block;
}

.schema .schema-container .schema-group .fa-chevron-down {
  display: none;
}

.schema .schema-container .schema-group .schema-group-title {
  display: block;
  cursor: pointer;
  line-height: 30px;
  height: 30px;
  padding: 0px 8px;
  overflow: hidden;
}

.schema .schema-container .schema-group .schema-group-count {
  color: var(--text-muted);
  display: inline-block;
  float: right;
  margin-right: 8px;
}

.schema .schema-container .schema-group ul {
  padding: 0px;
  margin: 0px;
  display: none;
}

.schema .schema-container .schema-group ul li {
  list-style: none;
  list-style-type: none;
  margin: 0px;
  line-height: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0px 8px;
  padding-left: 16px;
  white-space: nowrap;
  overflow: x-scroll;
}

.schema .schema-container .schema-group ul li i {
  color: var(--text-muted);
}

.schema .schema-container .schema-group ul li.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: bold;
}

.schema .schema-container .schema-group ul li:hover {
  background: var(--bg-tertiary);
}

.schema .schema-container .schema-group.expanded .fa-chevron-down {
  display: inline-block;
}

.schema .schema-container .schema-group.expanded .fa-chevron-right {
  display: none;
}

.schema .schema-container .schema-group.expanded ul {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Ace Editor Customizations */
/* -------------------------------------------------------------------------- */

.ace_editor {
  background: var(--ace-editor-bg);
}

.ace_gutter,
.ace_gutter-layer,
.ace_gutter-cell {
  background: var(--ace-editor-gutter-bg);
  color: var(--ace-editor-gutter-color);
  font-size: 12px;
}

.ace_comment {
  font-style: normal !important;
}

.ace_autocomplete {
  background: var(--ace-editor-autocomplete-bg) !important;
}

.ace_autocomplete .ace_active-line {
  background: var(--ace-editor-autocomplete-active-line-bg) !important;
}

/* -------------------------------------------------------------------------- */
/* Theme Toggle */
/* -------------------------------------------------------------------------- */

.theme-toggle-label {
  cursor: pointer;
  background: transparent;
  color: var(--text-light);
  border-color: var(--color-light-050);
}

.theme-toggle-label:hover {
  background: transparent;
  color: var(--text-light);
  border-color: var(--color-light-050);
}

body:has(#theme-toggle:checked) .theme-toggle-label i.fa-moon-o::before,
#main:has(#theme-toggle:checked) .theme-toggle-label i.fa-moon-o::before {
  content: "\f185"; /* fa-sun-o */
}

/* -------------------------------------------------------------------------- */
/* Dropdown Menu */
/* -------------------------------------------------------------------------- */

.dropdown-menu {
  background-color: var(--bg-primary);
  border-color: var(--border-secondary);
  box-shadow: 0 2px 8px var(--shadow);
}

.dropdown-menu > li.divider {
  background-color: var(--bg-tertiary);
}

.dropdown-menu > li > a {
  color: var(--text-secondary);
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}
