/**
 * Elbritch colors - https://github.com/eldritch-theme/eldritch
 * #212337
 * #323449
 * #ebfafa
 * #7081d0
 * #04d1f9
 * #37f499
 * #f7c67f
 * #f265b5
 * #a48cf2
 * #f16c75
 * #f1fc79
*/
/* Font - for UI elements only */
.mac {
  font-family: Lilex, monospace;
}

/* Exclude editor from font override */
.monaco-editor {
  font-family: inherit;
}

/* Explore */
[aria-label="Timeline"] + h3 {
  color: coral !important;
}

[aria-label="Open Editors"] + h3,
[aria-label="Source Control"] + h3.title {
  color: #f265b5 !important;
}

[aria-label="Favorites Section"] > h3.title {
  color: #f265b5 !important;
}

/* Project Title */
.titlebar-left {
  justify-content: flex-start !important;
  flex-grow: 0 !important;
  width: 4rem !important;
}

/* Editor Actions - in titlebar */
.titlebar-right > * {
  display: none !important;
}

/* action panel - when on bottom */
.monaco-workbench .pane-composite-part > .header-or-footer .composite-bar-container {
  justify-content: flex-end !important;
}

.action-item.icon:not(.checked) > a {
  color: rgba(112, 129, 208, 0.29) !important;
}

.action-item.icon:not(.checked) > a[class*='activity-workbench-view-extension-project-manager-'] {
  background-color: rgba(112, 129, 208, 0.29) !important;
}

/* Command prompt blur */
#command-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .15);
  top: 0;
  left: 0;
  backdrop-filter: blur(8px);
}

.quick-input-widget {
  transform: translateY(-50%) !important;
  top: 50% !important;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.45) !important;
  padding: 10px 10px 18px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(65, 72, 104, 0.333) !important;
  z-index: 1000000 !important;
}

.monaco-workbench::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  visibility: hidden;
}

.quick-input-widget:not(:empty) ~ .monaco-workbench::after {
  opacity: 1;
  visibility: visible;
}

.quick-input-list {
  max-height: calc(50vh - 60px) !important;
  overflow-y: auto !important;
}

.quick-input-titlebar {
  display: none !important;
}

.quick-input-header {
  padding: 8px 6px 8px !important;
}

.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  white-space: inherit !important;
}

.monaco-scrollable-element .shadow.top {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, .75) !important;
  top: -3px !important;
}

/* Scroll bar */
.scrollbar.vertical .slider {
  width: 2px !important;
  border-radius: 5px !important;
  margin-left: 10px !important;
}

.scrollbar.horizontal .slider {
  border-radius: 5px !important;
  height: 2px !important;
}

.scrollbar.horizontal {
  position: absolute !important;
  height: 2px !important;
  bottom: 3px !important;
  left: 0px !important;
}

/* Search icon */
.search-icon {
  display: none !important;
}

.codicon-search::before {
  display: none !important;
}
