/* This file has been created (totally or partially) with the assistance of artificial intelligence tools.
 * All content has been generated under the direct supervision of a named individual,
 * and under the AI.Backbone Orchestrator Compliance framework
 */

html select.select.v-select {
  --select-border: #e4e2ef;
  --select-focus: var(--color-blue, #0064ff);
  --select-error: #cc0000;

  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  padding: 1rem 4.8rem 1rem 1.6rem;
  border: 1px solid var(--select-border);
  background-color: var(--color-white, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='%2309091b' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 2rem 2rem;
  color: #09091b;
  font-family: flanders-sans, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  appearance: none;
}

html select.select.v-select:hover:not(:disabled) {
  border-color: #333;
}

html select.select.v-select:focus-visible {
  outline: 3px solid var(--select-focus);
  outline-offset: 3px;
}

html select.select.v-select.error,
html select.select.v-select[aria-invalid="true"] {
  border-color: var(--select-error);
}

html select.select.v-select:disabled {
  border-color: #a0a0a0;
  background-color: var(--color-grey, #f5f6f8);
  color: #666;
  cursor: not-allowed;
  opacity: 1;
}

html select.select.v-select[multiple],
html select.select.v-select[size]:not([size="1"]) {
  height: auto;
  padding: .8rem 1.2rem;
  background-image: none;
  appearance: auto;
}

/* Override older permit-compass styles until its LESS bundle is rebuilt. */
html .activity-overview .activity-sort label {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  transform: none;
}

html .activity-overview .activity-sort select.v-select {
  color: #09091b;
}

@media (forced-colors: active) {
  html select.select.v-select {
    border-color: ButtonText;
    background-image: none;
    appearance: auto;
  }

  html .activity-overview .activity-sort select.v-select {
    color: CanvasText;
  }

  html select.select.v-select:focus-visible {
    outline-color: Highlight;
  }

  html select.select.v-select:disabled {
    border-color: GrayText;
    color: GrayText;
  }
}
