.pla-insightly-modal {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s ease, opacity 0.2s ease;
}

.pla-insightly-modal--open {
	visibility: visible;
	opacity: 1;
}

.pla-insightly-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.pla-insightly-modal__box {
	position: relative;
	width: 100%;
	max-width: 38rem;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.pla-insightly-modal__title {
	margin: 0 0 1rem;
	padding-right: 2rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--black, #1d1d1d);
}

.pla-insightly-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.2rem;
	height: 2.2rem;
	border: 0;
	border-radius: 6px;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--black, #1d1d1d);
}

.pla-insightly-modal__close:hover {
	background: var(--global-color-10, #f0f0f0);
}

.pla-insightly-form__row {
	margin-bottom: 0.95rem;
}

.pla-insightly-form__row label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 600;
	color: var(--black, #1d1d1d);
	font-size: 0.9375rem;
}

.pla-insightly-form__row input[type="text"],
.pla-insightly-form__row select {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1.4;
	box-sizing: border-box;
	color: var(--black, #1d1d1d);
	background: #fff;
}

.pla-insightly-form__row input[type="text"]:focus,
.pla-insightly-form__row select:focus {
	border-color: var(--pla-cta-blue, #2271b1);
	outline: 0;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.pla-insightly-form .error-message-field {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
	color: #b32d2e;
}

.pla-insightly-form .error-header-main {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	background: rgba(179, 45, 46, 0.08);
	border-left: 4px solid #b32d2e;
	border-radius: 0 8px 8px 0;
}

.pla-insightly-form__submit {
	margin-top: 1.2rem;
}

.pla-insightly-form__submit input[type="submit"] {
	width: 100%;
	padding: 0.75rem 1.25rem;
	background: var(--pla-cta-blue, #2271b1);
	color: #fff;
	border: 0;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.pla-insightly-form__submit input[type="submit"]:hover {
	background: var(--pla-accent, #135e96);
}

.pla-insightly-form__honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
