
.wc-gift-cards-text-input {
	position: relative;
	white-space: nowrap;
	margin-top: .75em;
	line-height: 0;
}

.wc-gift-cards-text-input label {
	color: inherit;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-decoration: inherit;
	text-transform: inherit;
	font-size: 16px;
	line-height: 22px;
	position: absolute;
	transform: translateY(-50%);
	left: 10px;
	top: 25px;
	transform-origin: top left;
	transition: all 200ms ease;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 1.5em);
	cursor: text;
}

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

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

.wc-gift-cards-text-input.is-active label, .wc-gift-cards-text-input input:-webkit-autofill + label {
	transform: scale(.82);
	top: 5px;
}

.wc-gift-cards-text-input.has-error label {
	color: #cc1818;
}

.has-dark-controls .wc-gift-cards-text-input.has-error label {
	color: hsl(0, 78.9473684211%, 74.7058823529%);
}

.wc-gift-cards-text-input input {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-decoration: inherit;
	text-transform: inherit;
	font-size: 16px;
	line-height: 25px;
	padding: 1em .75em;
	width: 100%;
	border-radius: 4px;
	border: 1px solid color-mix(in srgb, currentColor 80%, transparent);
	margin: 0;
	box-sizing: border-box;
	height: 50px;
	min-height: 0;
	background-color: #fff;
	color: #2b2d2f;
}

.wc-gift-cards-text-input input:focus {
	background-color: #fff;
	color: #2b2d2f;
	border: 1.5px solid currentColor;
}

.has-dark-controls .wc-gift-cards-text-input input {
	background-color: rgba(0, 0, 0, .1);
	border-color: rgba(255, 255, 255, .4);
	color: #fff;
}

.has-dark-controls .wc-gift-cards-text-input input:focus {
	background-color: rgba(0, 0, 0, .1);
	color: #fff;
	border: 1.5px solid currentColor;
}

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

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

.wc-gift-cards-text-input input:-webkit-autofill, .wc-gift-cards-text-input.is-active input {
	padding: 1.5em 9px .5em;
}

.wc-gift-cards-text-input input:-webkit-autofill:focus, .wc-gift-cards-text-input.is-active input:focus {
	padding-top: 1.5em;
	padding-left: 8.5px;
}

.wc-gift-cards-text-input.has-error input, .wc-gift-cards-text-input.has-error input:hover, .wc-gift-cards-text-input.has-error input:focus, .wc-gift-cards-text-input.has-error input:active {
	border-color: #cc1818;
}

.wc-gift-cards-text-input.has-error input:focus {
	box-shadow: 0 0 0 .5px #cc1818;
}

.has-dark-controls .wc-gift-cards-text-input.has-error input, .has-dark-controls .wc-gift-cards-text-input.has-error input:hover, .has-dark-controls .wc-gift-cards-text-input.has-error input:focus, .has-dark-controls .wc-gift-cards-text-input.has-error input:active {
	border-color: hsl(0, 78.9473684211%, 74.7058823529%);
}

.has-dark-controls .wc-gift-cards-text-input.has-error input:focus {
	box-shadow: 0 0 0 .5px hsl(0, 78.9473684211%, 74.7058823529%);
}

.wc-gift-cards-form {
	margin-bottom: 0;
}

.wc-gift-cards-form .wc-gift-cards-text-input {
	margin: 0;
}

.wc-gift-cards-form button {
	font-weight: 700;
}

.wc-gift-cards-form button:hover, .wc-gift-cards-form button:focus, .wc-gift-cards-form button:active {
	font-weight: 700;
}

.wc-gift-cards-form__error {
	color: #cc1818;
	font-size: .75em;
	margin-top: 16px;
	line-height: 1;
}

.wc-gift-cards-form__button {
	flex-shrink: 0;
	width: 100%;
	margin-top: 8px;
	padding-left: 24px;
	padding-right: 24px;
	white-space: nowrap;
}

.wc-block-components-checkbox.wc-gc-balance-checkbox {
	margin-top: 0;
}

.wc-block-components-checkbox.wc-gc-balance-checkbox .wc-block-components-checkbox__input:hover {
	cursor: pointer;
}

.is-large .wc-block-components-totals-wrapper .wc-gc-balance-checkbox {
	padding-left: 16px;
	padding-right: 16px;
}

.wc-gc-balance-checkbox-container--disabled {
	opacity: .6;
}

.wc-gift-cards-totals-giftcard__code-list-item.is-removing {
	opacity: .5;
	user-select: none;
}

.wc-gift-cards-apply-panel .wc-block-components-panel__button {
	margin-top: 0;
	padding-top: 0;
}

.wc-gift-cards-apply-panel .wc-block-components-panel__content {
	margin-bottom: 0;
	padding-bottom: 0;
}
