:root {
	--pp-fee-editor-width: 300px;
	--pp-fee-editor-row-space-between: 10px;
	--pp-fee-editor-row-height: 40px;
}

.pp-w-full {
	width: 100%;
}

.pp-scrollable {
	overflow-y: auto;
}

.pp-icon-text-font {
	font-size: 1.3rem;
}

#pp-currency-rate-column {
	display: flex;
	position: relative;
}

#pp-currency-rate-column > input {
	flex-grow: 1;
	flex-shrink: 3;
	min-width: 0px;
	border-right: none;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

#pp-currency-rate-column .rate {
	margin: 0px;
}

.pp-darkened-border {
	border-style: solid;
	border-color: rgb(146, 146, 146);
	border-width: 1px;
}

.pp-open-fee-editor-btn {
	box-sizing: border-box;
	color: white;
	border-width: 0px;
	background-color: var(--pp-color);
	border-radius: 0px 4px 4px 0px;
	margin: 0px;
	flex: 0 0 60px;
	width: max-content;
	height: 100%;
}

.pp-fee-editor-btn {
	box-sizing: border-box;
	background-color: var(--pp-color);
	color: white;
	border-width: 0px;
	border-radius: 3px;
	padding: 5px;
	font-size: 1rem;
}

.pp-add-new-fee-btn {
	display: inline;
}

.pp-add-new-fee-btn > .pp-icon-text-font {
	margin-right: 6px;
}

.pp-add-new-fee-btn > span {
	margin: 0px;
	width: fit-content;
	vertical-align: middle;
	line-height: 30px;
}

.pp-fees-editor {
	box-sizing: border-box;
	border-radius: 10px;
	left: 50%;
	right: 50%;
	width: var(--pp-fee-editor-width);
	background-color: whitesmoke;
	transform: translate(-50%, -100%) translate(0, -10px);
	box-shadow: 0px 6px 10px -2px rgba(0,0,0,0.5);
	padding: var(--pp-fee-editor-row-space-between);
}

.pp-currency-fees-col {
	max-height: 400px;
	display: flex;
	flex-direction: column;
	row-gap: var(--pp-fee-editor-row-space-between);
	margin-bottom: var(--pp-fee-editor-row-space-between);
}

#pp-fee-editor-form {
	width: 100%;
	border-radius: 6px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--pp-fee-editor-row-space-between);
	padding: var(--pp-fee-editor-row-space-between);
	background-color: rgb(227, 227, 227);
}

.pp-fee-editor-row {
	width: 100%;
	display: inline-flex;
	height: var(--pp-fee-editor-row-height);
	gap: var(--pp-fee-editor-row-space-between);
}

.pp-fee-editor-row > input, .pp-fee-editor-row > .pp-fee-reason-no-input:focus {
	height: 100%;
	border-radius: 3px;
	border-width: 1px;
	border-color: rgb(124, 124, 124);
	background-color: white;
	width: 0px;
	flex-grow: 2;
	padding: 0px 10px;
}

.pp-fee-editor-info {
	color:rgb(128, 128, 128)
}

.pp-fee-remove-btn {
	background-color: rgb(0,0,0,0);
	flex: 0 0 var(--pp-fee-editor-row-height);
	border-radius: 3px;
	border: none;
}

.pp-fee-type-switch {
	display: flex;
	height: 100%;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px;
	border-color: rgb(124, 124, 124);
	box-sizing: border-box;
	max-width: fit-content;
}

#pp-active-currencies #pp-fee-type-button {
	display: inline-block;
	color: rgb(124, 124, 124);
	margin: 0px;
	border: 0px;
	background-color: rgb(0,0,0,0);
	box-sizing: border-box;
	border-radius: 0px;
	height: 100%;
	width: var(--pp-fee-editor-row-height);
}

#pp-active-currencies #pp-fee-type-button:first-child {
	border-right: 1px;
	border-color: rgb(124, 124, 124);
	border-style: solid;
}

#pp-active-currencies #pp-fee-type-button[active] {
	background-color: var(--pp-color);
	color: white;
}

#pp-active-currencies #pp-fee-type-button:hover:not(#pp-fee-type-button[active]) {
	background-color: rgb(124, 124, 124);
	color:white
}

.pp-fee-editor-row > .pp-fee-reason-no-input {
	background-color: rgb(0,0,0,0);
	border-width: 0px;
	cursor: pointer;
}

.pp-fee-remove-btn:hover {
	background-color: rgb(230, 139, 139);
}

.pp-fee-editor-btn, .pp-open-fee-editor-btn, .pp-fee-remove-btn {
	cursor: pointer;
}

.pp-fee-editor-btn:hover, .pp-open-fee-editor-btn:hover {
	opacity: 0.75;
}

input[type=checkbox].hidden {
	display: none;
}

.search-choice-close {
	transition-duration: 0s;
}