
.wc-points-rewards-text-input {
	position: relative;
	white-space: nowrap;
	flex-grow: 1;
	margin-top: 0;
}

.wc-points-rewards-text-input label {
	color: inherit;
	color: #757575;
	font-family: inherit;
	font-size: inherit;
	font-size: 1em;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	line-height: 1.375;
	text-decoration: inherit;
	text-transform: inherit;
	position: absolute;
	transform: translateY(.75em);
	left: 0;
	top: 0;
	transform-origin: top left;
	transition: transform 200ms ease;
	margin: 0 0 0 17px;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 32px);
	cursor: text;
}

.has-dark-controls .wc-points-rewards-text-input label {
	color: rgba(255, 255, 255, .6);
}

@media screen and (prefers-reduced-motion: reduce) {
	.wc-points-rewards-text-input label {
		transition: none;
	}
}

.wc-points-rewards-text-input input:-webkit-autofill+label {
	transform: translateY(4px) scale(.75);
}

.wc-points-rewards-text-input.is-active label {
	transform: translateY(4px) scale(.75);
}

.wc-points-rewards-text-input input[type=number] {
	font-size: 1em;
	background-color: #fff;
	padding: .75em 16px;
	border-radius: 4px;
	border: 1px solid #50575e;
	width: 100%;
	line-height: 1.375;
	font-family: inherit;
	margin: 0;
	box-sizing: border-box;
	height: 3em;
	min-height: 0;
	color: #2b2d2f;
}

.wc-points-rewards-text-input input[type=number]:focus {
	background-color: #fff;
	color: #2b2d2f;
}

.has-dark-controls .wc-points-rewards-text-input input[type=number] {
	background-color: rgba(0, 0, 0, .1);
	border-color: rgba(255, 255, 255, .4);
	color: #fff;
}

.has-dark-controls .wc-points-rewards-text-input input[type=number]:focus {
	background-color: rgba(0, 0, 0, .1);
	color: #fff;
}

.wc-points-rewards-text-input input[type=number] {
	-moz-appearance: textfield;
}

.wc-points-rewards-text-input input[type=number]::-webkit-outer-spin-button, .wc-points-rewards-text-input input[type=number]::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.wc-points-rewards-text-input.is-active input[type=number] {
	padding: 1.5em 16px .25em 16px;
}

.wc-points-rewards-text-input:only-child {
	margin-top: 0;
}

.wc-points-rewards-totals-redemption button {
	font-weight: 700;
}

.wc-points-rewards-totals-redemption button:hover, .wc-points-rewards-totals-redemption button:focus, .wc-points-rewards-totals-redemption button:active {
	font-weight: 700;
}

.woocommerce-points-rewards-validation-error {
	color: #cc1818;
	font-size: .825em;
	flex-basis: 100%;
}

button.wc-points-rewards-redeem-button {
	height: 3em;
	flex-shrink: 0;
	margin-left: 8px;
	padding-left: 24px;
	padding-right: 24px;
	white-space: nowrap;
	max-width: 130px;
	font-size: .825em;
}

button.wc-points-rewards-redeem-button.no-margin {
	margin: 0;
}

.wc-points-rewards-redeem-form {
	display: flex;
	margin-bottom: .5em;
}

.wc-points-rewards-totals-redemption .wc-block-components-panel__button {
	margin-top: 0;
	padding-top: 0;
}

.wc-points-rewards-totals-redemption .wc-block-components-panel__content {
	margin-bottom: 0;
	padding-bottom: 0;
}

.wc-points-rewards-earn-points-message {
	text-align: center;
	padding: 16px;
	background: #fbfbfb;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled>p.points.hide-on-price-available {
	display: none;
}
