.hok-form-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	font-family: inherit;
}

.hok-form-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
}

.hok-form-desc {
	margin: 0 0 20px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

.hok-field {
	margin-bottom: 16px;
}

.hok-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.hok-field input[type="text"],
.hok-field input[type="tel"],
.hok-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.hok-field input:focus,
.hok-field select:focus {
	outline: none;
	border-color: #25d366;
	box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.hok-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.hok-submit-btn {
	width: 100%;
	padding: 12px 16px;
	background: #25d366;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.hok-submit-btn:hover {
	background: #1fb955;
}

.hok-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.hok-form-message {
	margin: 12px 0 0;
	font-size: 14px;
	min-height: 18px;
}

.hok-form-message.hok-success {
	color: #1a7f37;
}

.hok-form-message.hok-error {
	color: #c62828;
}

/* Popup trigger button (inline shortcode style="popup") */
.hok-popup-trigger {
	display: inline-block;
	width: auto;
}

/* Modal overlay */
.hok-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 99999;
}

.hok-modal-overlay[hidden] {
	display: none;
}

.hok-modal {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	background: transparent;
	animation: hok-modal-in 0.2s ease-out;
}

@keyframes hok-modal-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.hok-form-wrap--modal {
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.hok-modal-close {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #333;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

.hok-modal-close:hover {
	background: #f2f2f2;
}

/* Global floating action button */
.hok-floater-btn {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99998;
	width: auto;
	padding: 14px 20px;
	background: #25d366;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hok-floater-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

@media (max-width: 480px) {
	.hok-floater-btn {
		right: 12px;
		bottom: 12px;
		padding: 12px 16px;
		font-size: 14px;
	}
}
