/* Insight Content Lock — frontend styles */

body.icl-locked {
	overflow: hidden !important;
}

.icl-blurred-content {
	user-select: none;
	pointer-events: none;
	max-height: 480px;
	overflow: hidden;
	position: relative;
}

.icl-blurred-content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.icl-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 30, 0.72);
	z-index: 999999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 120px 20px 20px;
}

.icl-modal {
	background: #fff;
	max-width: 480px;
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-height: 90vh;
	overflow-y: auto;
}

.icl-modal-inner {
	padding: 16px 20px;
}

.icl-modal-inner h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.3;
}

.icl-modal-text {
	margin-bottom: 12px;
	color: #444;
	font-size: 14px;
	line-height: 1.5;
}

.icl-go-back {
	background: none;
	border: none;
	color: #666;
	font-size: 13px;
	cursor: pointer;
	padding: 0 0 14px 0;
	display: inline-block;
}

.icl-go-back:hover {
	color: #2271b1;
	text-decoration: underline;
}

.icl-cf7-wrap input[type="text"],
.icl-cf7-wrap input[type="email"],
.icl-cf7-wrap textarea,
#icl-mini-email {
	width: 100%;
	padding: 10px 12px;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 14px;
}

.icl-cf7-wrap input[type="submit"],
#icl-mini-form button {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
}

.icl-cf7-wrap input[type="submit"]:hover,
#icl-mini-form button:hover {
	background: #135e96;
}

.icl-toggle-link {
	margin-top: 10px;
	font-size: 13px;
	color: #555;
	text-align: center;
}

.icl-toggle-link button {
	background: none;
	border: none;
	color: #2271b1;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
}

#icl-mini-form {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

#icl-mini-form input {
	margin-bottom: 0;
}

.icl-mini-message {
	margin-top: 10px;
	font-size: 13px;
}

.icl-mini-message.icl-error {
	color: #b32d2e;
}

.icl-mini-message.icl-success {
	color: #1a7a3c;
}

.wpcf7-response-output {
	font-size: 13px;
	border-radius: 6px !important;
}
