.ui-select-wrapper
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ui-select-label
{
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.ui-select-container
{
    position: relative;
    color: var(--select-foreground);
}

.ui-select
{
    width: 100%;
    min-height: 42px;
    padding: 10px 36px 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--select-border);
    background: var(--select-background);
    color: var(--select-foreground);
    font-family: inherit;
    font-size: var(--text-md);
    font-weight: var(--weight-regular);
    line-height: var(--font-lineheight-body);
    box-shadow: var(--select-shadow);
    appearance: none;
}

.ui-select-wrapper.variant-default .ui-select
{
    background: var(--select-background);
    border: 1px solid var(--select-border);
}

.ui-select-wrapper.variant-outlined .ui-select
{
    background: transparent;
    border: 1px solid var(--select-border);
}

.ui-select-wrapper.variant-filled .ui-select
{
    background: var(--select-background);
    border: 1px solid transparent;
}

.ui-select:focus
{
    outline: none;
    border-color: var(--select-border-focus);
    box-shadow: var(--focus-ring-shadow);
}

.ui-select:disabled
{
    background: var(--select-surface-disabled);
    color: var(--select-text-disabled);
}

.ui-select-wrapper.error .ui-select
{
    border-color: var(--select-border-error);
}

.ui-select-arrow
{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid currentColor;
}

.ui-select-error
{
    color: var(--select-border-error);
    font-size: var(--text-xs);
}
