body.bk-coupon-modal-open {
	overflow: hidden;
}

.bk-coupon-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.bk-coupon-modal[hidden] {
	display: none;
}

.bk-coupon-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.bk-coupon-modal__content {
	position: relative;
	z-index: 1;
	width: min(100%, 640px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 30px;
	border-radius: 8px;
	background: #ffffff;
	color: #1e1e1e;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bk-coupon-modal__content h2 {
	margin: 0;
	padding-right: 40px;
	font-size: 26px;
	line-height: 1.25;
}

.bk-coupon-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1e1e1e;
	font-size: 32px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
}

.bk-coupon-modal__close:hover,
.bk-coupon-modal__close:focus {
	color: #000000;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bk-coupon-modal__clause {
	max-height: 260px;
	overflow-y: auto;
	margin: 22px 0;
	padding: 18px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
	font-size: 15px;
	line-height: 1.55;
}

.bk-coupon-modal__clause p:first-child {
	margin-top: 0;
}

.bk-coupon-modal__clause p:last-child {
	margin-bottom: 0;
}

.bk-coupon-modal__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
}

.bk-coupon-modal__checkbox input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
}

.bk-coupon-modal__error {
	margin: 16px 0 0;
	padding: 10px 12px;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #8a2424;
	font-weight: 600;
}

.bk-coupon-modal__error[hidden] {
	display: none;
}

.bk-coupon-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

.bk-coupon-modal__actions .button {
	min-height: 42px;
	padding: 8px 18px;
	cursor: pointer;
}

.bk-coupon-modal__actions .button:disabled {
	opacity: 0.65;
	cursor: wait;
}

@media (max-width: 600px) {
	.bk-coupon-modal {
		align-items: flex-end;
		padding: 0;
	}

	.bk-coupon-modal__content {
		width: 100%;
		max-height: 92vh;
		padding: 24px 18px;
		border-radius: 12px 12px 0 0;
	}

	.bk-coupon-modal__content h2 {
		font-size: 22px;
	}

	.bk-coupon-modal__clause {
		max-height: 32vh;
	}

	.bk-coupon-modal__actions {
		flex-direction: column-reverse;
	}

	.bk-coupon-modal__actions .button {
		width: 100%;
	}
}