.hk-req-btn {
	direction: rtl;
	width: 100%;
}

.hk-req-btn--align-right {
	text-align: right;
}

.hk-req-btn--align-center {
	text-align: center;
}

.hk-req-btn--align-left {
	text-align: left;
}

.hk-req-btn .hk-req-btn__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	box-shadow: none !important;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hk-req-btn .hk-req-btn__trigger:focus {
	outline: 2px solid rgba(26, 158, 143, 0.4);
	outline-offset: 2px;
}

.hk-req-btn__overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(12, 18, 36, 0.55);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hk-req-btn__overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hk-req-btn__overlay[hidden] {
	display: none !important;
}

.hk-req-btn__overlay.is-open[hidden] {
	display: flex !important;
}

.hk-req-btn__dialog {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: min(90vh, 900px);
	overflow-y: auto;
	padding: 28px 28px 24px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
	transform: translateY(16px) scale(0.98);
	transition: transform 0.25s ease;
}

.hk-req-btn__overlay.is-open .hk-req-btn__dialog {
	transform: translateY(0) scale(1);
}

.hk-req-btn .hk-req-btn__close {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #f3f3f3 !important;
	color: #444 !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hk-req-btn .hk-req-btn__close:hover {
	background: #e8e8e8 !important;
	color: #111 !important;
}

.hk-req-btn__close svg {
	width: 18px;
	height: 18px;
}

.hk-req-btn__form {
	padding-top: 8px;
}

.hk-req-btn__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 36px 16px 24px;
	min-height: 260px;
}

.hk-req-btn__success[hidden] {
	display: none !important;
}

.hk-req-btn__success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #e8f8f5;
	color: #1a9e8f;
}

.hk-req-btn__success-icon svg {
	width: 32px;
	height: 32px;
}

.hk-req-btn__success-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
}

.hk-req-btn__success-text {
	margin: 0 0 28px;
	max-width: 420px;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #555;
}

.hk-req-btn .hk-req-btn__success-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 48px;
	padding: 0 28px !important;
	border: none !important;
	border-radius: 14px !important;
	background: #1c2340 !important;
	color: #fff !important;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none !important;
	transition: opacity 0.2s ease;
}

.hk-req-btn .hk-req-btn__success-close:hover {
	opacity: 0.9;
}

body.hk-req-btn-lock {
	overflow: hidden;
}

@media (max-width: 767px) {
	.hk-req-btn__overlay {
		padding: 12px;
		align-items: flex-end;
	}

	.hk-req-btn__dialog {
		max-width: 100%;
		max-height: 92vh;
		padding: 24px 16px 20px;
		border-radius: 20px 20px 0 0;
	}

	.hk-req-btn .hk-req-btn__close {
		top: 12px;
		left: 12px;
	}
}
