.q-select {
  --q-select-bg: var(--ss-surface-light);
  --q-select-ink: #171717;
  --q-select-border: rgba(0, 0, 0, 0.08);
  --q-select-hover-border: rgba(0, 0, 0, 0.12);
  --q-select-muted: #f2f2f2;
  --q-select-decoration: #8f8f8f;
  font-family: inherit;
  min-width: 0;
}
.q-select__frame {
  position: relative;
  display: flex;
  align-items: center;
}
.q-select__input {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 0 36px 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--q-select-bg);
  color: var(--q-select-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--q-select-border);
  transition:
    box-shadow 200ms,
    color 200ms;
}
.q-select[data-size='small'] .q-select__input {
  height: 32px;
}
.q-select[data-size='large'] .q-select__input {
  height: 40px;
  font-size: 16px;
  line-height: 24px;
  border-radius: 8px;
}
.q-select[data-prefix='true'] .q-select__input {
  padding-left: 40px;
}
.q-select__input:hover {
  box-shadow: 0 0 0 1px var(--q-select-hover-border);
}
.q-select__input:focus {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(0, 0, 0, 0.16);
}
[data-theme='dark'] .q-select__input:focus {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.51),
    0 0 0 4px rgba(255, 255, 255, 0.24);
}
.q-select__input[aria-invalid='true'] {
  outline: none;
  box-shadow:
    0 0 0 1px #e00,
    0 0 0 4px rgba(203, 42, 47, 0.16);
}
.q-select__input:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: var(--q-select-muted);
  color: var(--q-select-decoration);
  -webkit-text-fill-color: var(--q-select-disabled-ink, #999);
  box-shadow: 0 0 0 1px var(--q-select-border);
}
.q-select__prefix,
.q-select__suffix {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--q-select-decoration);
  transition: color 150ms ease-in;
  width: 16px;
  height: 16px;
}
.q-select__prefix {
  left: 12px;
}
.q-select__suffix {
  right: 12px;
}
.q-select__suffix[data-default='true'] {
  width: 14px;
  height: 14px;
}
.q-select__frame:hover .q-select__suffix {
  color: var(--q-select-ink);
}

.q-select__message {
  font-size: 13px;
  color: #cb2a2f;
  margin: 8px 0 0;
}
.q-select__message[hidden] {
  display: none;
}
.q-select__input option {
  color: var(--q-select-ink);
}
[data-theme='dark'] .q-select {
  --q-select-disabled-ink: #444;
  --q-select-bg: #0a0a0a;
  --q-select-ink: #ededed;
  --q-select-border: rgba(255, 255, 255, 0.14);
  --q-select-hover-border: rgba(255, 255, 255, 0.24);
  --q-select-muted: #1a1a1a;
  --q-select-decoration: #8f8f8f;
  color-scheme: dark;
}
[data-theme='dark'] .q-select__input[aria-invalid='true'] {
  box-shadow:
    0 0 0 1px #f00,
    0 0 0 4px rgba(255, 97, 102, 0.16);
}
@media (width < 401px) {
  .q-select .q-select__input {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-select__input,
  .q-select__prefix,
  .q-select__suffix {
    transition: none;
  }
}
.q-select__message {
  font-size: 13px;
  line-height: 20px;
}
.q-select[data-size='large'] .q-select__message {
  font-size: 16px;
  line-height: 24px;
}
.q-select[data-size='large'] .q-error__icon {
  margin-top: 4px;
}
