.Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    border: none;
    border-radius: var(--theme-radius-sm);
    min-height: 36px;
    height: auto;
    padding: 8px 12px;
    transition:
        background-color var(--theme-animation-quick),
        color var(--theme-animation-quick),
        border-color var(--theme-animation-quick);
    color: var(--theme-on-accent);
    background-color: var(--theme-primary);
}

.Button:focus-visible {
    outline: 2px solid var(--theme-primary);
    outline-offset: 2px;
}

.Button:hover {
    background-color: var(--theme-primary-hover);
}

.Button:active {
    background-color: var(--theme-primary-active);
}

.Button:disabled {
    background-color: var(--theme-primary-disabled);
    cursor: not-allowed;
}

.Button_primary {
    color: var(--theme-on-accent);
    background-color: var(--theme-primary);
    border: none;
}

.Button_primary:hover {
    background-color: var(--theme-primary-hover);
}

.Button_primary:active {
    background-color: var(--theme-primary-active);
}

.Button_primary:disabled {
    background-color: var(--theme-primary-disabled);
}

.Button_secondary {
    color: var(--theme-text-primary);
    background-color: var(--theme-surface-primary);
    border: 1px solid var(--theme-border);
}

.Button_secondary:hover {
    background-color: var(--theme-surface-primary-hover);
    border-color: var(--theme-border-hover);
}

.Button_secondary:active {
    background-color: var(--theme-surface-primary-pressed);
}

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

.Button_lg {
    min-height: 56px;
    padding: 18px 38px;
}
