.gift-voucher-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 0;
}

.gift-voucher-modal--open {
	opacity: 1;
	visibility: visible;
}

.gift-voucher-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.gift-voucher-modal__panel {
	position: relative;
	width: 100%;
	max-width: 650px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 0px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	border: none;
	scrollbar-width: none;
	margin: auto;
}

.gift-voucher-modal__stripe {
	height: 4px;
	background: linear-gradient(90deg, #b8d4e0 0%, #a8c8d8 100%);
	border-radius: 12px 12px 0 0;
}

.gift-voucher-modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: none;
	color: #000;
	cursor: pointer;
	transition: opacity 0.2s;
}

.gift-voucher-modal__close:hover {
	opacity: 0.7;
}

.gift-voucher-modal__content {
	padding: 48px 32px 40px;
}

.gift-voucher-modal__title {
	color: #000;
	font-family: Playfair !important;
	font-size: 38px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: capitalize;
}

@media (min-width: 480px) {
	.gift-voucher-modal__title {
		font-size: 32px;
		margin-bottom: 40px;
	}
}

.gift-voucher-modal__message {
	font-family: "Nunito", Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding: 12px 16px;
	border-radius: 8px;
	text-align: center;
	margin: 0 0 20px;
}

.gift-voucher-modal__message--success {
	background: rgba(155, 187, 174, 0.25);
	color: #1a1a1a;
	border: none;
}

.gift-voucher-modal__message--error {
	background: #fef2f2;
	color: #b91c1c;
	border: none;
}

.gift-voucher-modal__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gift-voucher-modal__row {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 480px) {
	.gift-voucher-modal__row--two {
		flex-direction: row;
		gap: 20px;
	}

	.gift-voucher-modal__row--two .gift-voucher-modal__field {
		flex: 1;
	}
}

.gift-voucher-modal__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gift-voucher-modal__field label {
	font-family: "Nunito", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.gift-voucher-modal__required {
	color: #e74c3c;
}

.gift-voucher-modal__field input {
	font-family: "Nunito", Arial, Helvetica, sans-serif;
	font-size: 16px;
	padding: 12px 14px;
	color: #1a1a1a;
	border-radius: 2px;
	border: 1px solid #D8D8D8;
	width: 100%;
	transition: background-color 0.2s;
}

.gift-voucher-modal__field input:focus {
	outline: none;
	background: #f0f0f0;
}

.gift-voucher-modal__input-wrap {
	display: flex;
	align-items: stretch;
	border: 1px solid #D8D8D8;
	border-radius: 4px;
	
}

.gift-voucher-modal__input-wrap:focus-within {
	background: #f0f0f0;
}

.gift-voucher-modal__currency {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	font-family: "Nunito", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #1a1a1a;
	border: none;
	border-right: none;
	border-radius: 4px 0 0 4px;
}

.gift-voucher-modal__field--currency input {
	border: none;
	border-radius: 0 4px 4px 0;
	padding-left: 10px;
}

.gift-voucher-modal__field--currency .gift-voucher-modal__input-wrap:focus-within input {
	background: #f0f0f0;
}

.gift-voucher-modal__submit-wrap {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.gift-voucher-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 14px 32px;
	background: #9BBBAE;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: "Nunito", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.2s, opacity 0.2s;
}

.gift-voucher-modal__submit:hover {
	background: #8aab9e;
}

.gift-voucher-modal__submit:active {
	opacity: 0.95;
}

/* Body scroll lock when modal open */
body.gift-voucher-modal-open {
	overflow: hidden;
}

