.InputLabel {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--theme-text-primary);
}

.Input {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--theme-text-primary);
    padding: 0 12px;
    margin: 0;
    outline: none;
    background-color: var(--theme-surface-primary);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius-sm);
    width: 100%;
    display: flex;
    align-items: center;
    height: 40px;
    transition:
        border-color var(--theme-animation-quick),
        background-color var(--theme-animation-quick);
}

.Input::placeholder {
    color: var(--theme-on-surface-secondary);
}

.Input:hover:not(:disabled):not([aria-invalid="true"]) {
    border-color: var(--theme-border-hover);
}

.Input:focus[data-focus-method="keyboard"] {
    outline: 2px solid var(--theme-primary);
    outline-offset: 2px;
}

.Input:focus[data-focus-method="mouse"] {
    outline: none;
}

.Input:disabled {
    background-color: var(--theme-surface-primary-disabled);
    cursor: not-allowed;
    color: var(--theme-on-surface-secondary);
}

.Input[aria-invalid="true"] {
    border-color: var(--theme-text-error);
}

.InputErrorMessage {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 14px;
    color: var(--theme-text-error);
}
