.common-select-field {
    display: grid;
    gap: 2.5px;
    min-width: 0;
}

.common-select-field__label {
    margin: 0;
    color: var(--theme-color-text-secondary);
    font-weight: 600;
    line-height: 1.5;
}

.common-select-field__control {
    width: 100%;
    min-width: 0;
}

.common-select {
    display: block;
    appearance: auto;
    -webkit-appearance: auto;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 3.75px 20px 3.75px 7.5px;
    color: var(--theme-color-text-control);
    line-height: 1.5;
    background: var(--theme-color-surface);
    border: 1px solid var(--theme-color-border-strong);
    border-radius: 2.5px;
}

.common-select:focus-visible {
    border-color: var(--theme-color-focus-border);
    outline: 2px solid var(--theme-color-focus);
    outline-offset: 1px;
    box-shadow: var(--theme-shadow-focus-sm);
}

.common-select:disabled {
    color: var(--theme-color-status-secondary);
    cursor: not-allowed;
    background: var(--theme-color-surface-disabled);
}


.common-select[multiple],
.common-select[size]:not([size="1"]) {
    height: auto;
    min-height: 40px;
}

.common-select[aria-invalid="true"] { border-color: var(--theme-color-status-danger); }
.common-select[aria-invalid="true"]:focus-visible { outline-color: var(--theme-color-status-danger); }
