/* Novo Pop-Up - Frontend Styles - Berkay Yavuz */

.novopopup-overlay, .novopopup-overlay * {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.novopopup-overlay {
	position: fixed;
	inset: 0;
	background: var(--novopopup-overlay, rgba(20,30,25,0.6));
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
	opacity: 0;
	transition: opacity .25s ease;
}

.novopopup-overlay.novopopup-visible {
	display: flex;
	opacity: 1;
}

.novopopup-modal {
	background: var(--novopopup-right-bg, #fff);
	width: 100%;
	max-width: 980px;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 18px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	position: relative;
	box-shadow: 0 30px 70px rgba(0,0,0,.35);
	transform: translateY(20px) scale(.97);
	transition: transform .3s ease;
}

.novopopup-overlay.novopopup-visible .novopopup-modal {
	transform: translateY(0) scale(1);
}

.novopopup-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--novopopup-text-dark, #222);
	z-index: 5;
	width: 36px;
	height: 36px;
}

.novopopup-left {
	background: var(--novopopup-left-bg, #f7f5f0);
	padding: 48px 40px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.novopopup-leaf-deco {
	position: absolute;
	top: -10px;
	left: -10px;
	width: 160px;
	height: 160px;
	background: radial-gradient(circle at 30% 30%, rgba(120,150,110,.25), transparent 70%);
	pointer-events: none;
}

.novopopup-icon-circle {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(47,93,79,.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}

.novopopup-icon-svg {
	width: 40px;
	height: 40px;
	color: var(--novopopup-primary, #2f5d4f);
}

.novopopup-heading {
	font-size: 26px;
	line-height: 1.35;
	color: var(--novopopup-primary, #2f5d4f);
	margin: 0 0 16px;
	font-weight: 700;
}

.novopopup-divider {
	width: 50px;
	height: 2px;
	background: var(--novopopup-primary, #2f5d4f);
	opacity: .4;
	margin: 4px 0 20px;
}

.novopopup-desc {
	color: var(--novopopup-text-light, #6b7770);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 14px;
}

.novopopup-bold-text {
	color: var(--novopopup-text-dark, #1f2d27);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 30px;
}

.novopopup-features {
	display: flex;
	gap: 22px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: auto;
}

.novopopup-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100px;
}

.novopopup-feature .dashicons {
	width: 46px;
	height: 46px;
	font-size: 22px;
	border-radius: 50%;
	background: rgba(47,93,79,.1);
	color: var(--novopopup-primary, #2f5d4f);
	display: flex;
	align-items: center;
	justify-content: center;
}

.novopopup-feature span:last-child {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--novopopup-text-dark, #1f2d27);
	line-height: 1.3;
}

.novopopup-success-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
	padding: 30px 10px;
	animation: novopopup-fade-in .35s ease;
}

@keyframes novopopup-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.novopopup-success-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(47,93,79,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.novopopup-success-icon svg {
	width: 38px;
	height: 38px;
	color: var(--novopopup-primary, #2f5d4f);
}

.novopopup-success-title {
	font-size: 21px;
	font-weight: 700;
	color: var(--novopopup-primary, #2f5d4f);
	margin: 0 0 12px;
}

.novopopup-success-text {
	font-size: 14.5px;
	color: var(--novopopup-text-light, #6b7770);
	line-height: 1.6;
	margin: 0 0 26px;
	max-width: 320px;
}

.novopopup-success-close-btn {
	background: var(--novopopup-primary, #2f5d4f);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 13px 34px;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease;
}

.novopopup-success-close-btn:hover {
	background: var(--novopopup-primary-dark, #234639);
}

.novopopup-right {
	background: var(--novopopup-right-bg, #fff);
	padding: 48px 42px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.novopopup-form-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.novopopup-form-title {
	font-size: 23px;
	font-weight: 700;
	color: var(--novopopup-primary, #2f5d4f);
	margin: 0 0 8px;
}

.novopopup-form-subtitle {
	color: var(--novopopup-text-light, #6b7770);
	font-size: 14.5px;
	margin: 0 0 26px;
	line-height: 1.5;
}

.novopopup-field {
	margin-bottom: 18px;
}

.novopopup-field label {
	display: block;
	font-weight: 600;
	font-size: 13.5px;
	color: var(--novopopup-text-dark, #1f2d27);
	margin-bottom: 7px;
}

.novopopup-field input[type="text"],
.novopopup-field input[type="tel"],
.novopopup-field select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d9ddd9;
	border-radius: 9px;
	font-size: 14.5px;
	background: #fff;
	color: var(--novopopup-text-dark, #1f2d27);
	box-sizing: border-box;
}

.novopopup-field input:focus,
.novopopup-field select:focus {
	outline: none;
	border-color: var(--novopopup-primary, #2f5d4f);
}

.novopopup-meeting-options {
	display: flex;
	gap: 12px;
}

.novopopup-radio-card {
	flex: 1;
	border: 1px solid #d9ddd9;
	border-radius: 9px;
	padding: 12px 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--novopopup-text-dark, #1f2d27);
	transition: border-color .15s ease, background .15s ease;
}

.novopopup-radio-card .dashicons {
	color: var(--novopopup-primary, #2f5d4f);
}

.novopopup-radio-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.novopopup-radio-card:has(input:checked) {
	border-color: var(--novopopup-primary, #2f5d4f);
	background: rgba(47,93,79,.06);
}

.novopopup-submit-btn {
	width: 100%;
	background: var(--novopopup-primary, #2f5d4f);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 15px 18px;
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background .2s ease;
	margin-top: 6px;
}

.novopopup-submit-btn:hover {
	background: var(--novopopup-primary-dark, #234639);
}

.novopopup-submit-btn:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.novopopup-privacy-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: rgba(47,93,79,.07);
	border-radius: 10px;
	padding: 13px 14px;
	margin-top: 16px;
	font-size: 12.5px;
	color: var(--novopopup-text-light, #6b7770);
	line-height: 1.5;
}

.novopopup-privacy-note .dashicons {
	color: var(--novopopup-primary, #2f5d4f);
	flex-shrink: 0;
}

.novopopup-form-message {
	margin-top: 14px;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
	display: none;
}

.novopopup-form-message.novopopup-success {
	display: block;
	color: var(--novopopup-primary, #2f5d4f);
}

.novopopup-form-message.novopopup-error {
	display: block;
	color: #c0392b;
}

.novopopup-open-btn {
	background: var(--novopopup-accent, #fd6f03);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 22px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

/* Tablet */
@media (max-width: 880px) {
	.novopopup-modal {
		grid-template-columns: 1fr;
		max-height: 94vh;
	}
	.novopopup-left {
		padding: 36px 28px 28px;
	}
	.novopopup-right {
		padding: 32px 28px 36px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.novopopup-overlay {
		padding: 0;
	}
	.novopopup-modal {
		border-radius: 0;
		max-height: 100vh;
		height: 100%;
	}
	.novopopup-heading {
		font-size: 21px;
	}
	.novopopup-icon-circle {
		width: 64px;
		height: 64px;
	}
	.novopopup-features {
		gap: 14px;
	}
	.novopopup-feature {
		width: 80px;
	}
	.novopopup-meeting-options {
		flex-direction: column;
	}
	.novopopup-left, .novopopup-right {
		padding: 28px 20px;
	}
}
