
.wc-gift-cards-text-input {
	position: relative;
	white-space: nowrap;
	flex-grow: 1;
	margin-top: 0;
	margin-bottom: .5em;
}

.wc-gift-cards-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-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 {
	transform: translateY(4px) scale(.75);
}

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

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

.wc-gift-cards-text-input input {
	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;
	-moz-appearance: textfield;
}

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

.wc-gift-cards-text-input input:focus {
	background-color: #fff;
	color: #2b2d2f;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
	outline: 0;
}

.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;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
}

.wc-gift-cards-text-input.is-active input {
	padding: 1.5em 0 .25em 16px;
}

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

.wc-gift-cards-form {
	margin-bottom: 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: .825em;
	flex-basis: 100%;
	margin-top: 16px;
}

.wc-gift-cards-form__button {
	height: em(48px);
	flex-shrink: 0;
	width: 100%;
	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;
}
