#nlp-root {
	--nlp-bg: #fbe9d0;
	--nlp-border: #e8d4b8;
	--nlp-text: #3a3a3a;
	--nlp-btn-bg: #c9a27e;
	--nlp-btn-text: #ffffff;
	--nlp-btn-hover: #1a1a1a;
	--nlp-close-color: #55524d;
	--nlp-accent: #3a3a3a;
	--nlp-radius: 18px;
	--nlp-width: 480px;
	font-family: inherit;
}

/* Reset - sprečava da tema "procuri" svoje boje/border na dugmad unutar popup-a */
#nlp-root button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
}

/* ---------- MALI POPUP ---------- */
.nlp-small {
	position: fixed;
	bottom: 24px;
	z-index: 99998;
	max-width: 340px;
	background: var(--nlp-bg);
	border: 1px solid var(--nlp-border);
	border-radius: var(--nlp-radius);
	box-shadow: 0 12px 32px rgba(30, 20, 10, 0.14);
	padding: 16px 42px 16px 16px;
	display: flex;
	align-items: center;
	cursor: pointer;
	opacity: 0;
	transform: translateY(24px) scale(0.98);
	transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
	pointer-events: none;
}

.nlp-small:hover {
	box-shadow: 0 16px 40px rgba(30, 20, 10, 0.2);
}

.nlp-small.nlp-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

#nlp-root.nlp-pos-left .nlp-small {
	left: 24px;
}

#nlp-root.nlp-pos-right .nlp-small {
	right: 24px;
}

.nlp-small-body {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nlp-small .nlp-icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.nlp-small-text {
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.01em;
	line-height: 1.45;
	color: var(--nlp-text);
}

#nlp-root .nlp-small-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 50%;
	font-size: 17px;
	line-height: 1;
	color: var(--nlp-close-color);
	opacity: 0.7;
	transition: background 0.15s ease, opacity 0.15s ease;
}

#nlp-root .nlp-small-close:hover {
	background: rgba(0, 0, 0, 0.06);
	opacity: 1;
}

/* ---------- VELIKI POPUP ---------- */
.nlp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 14, 8, 0.5);
	backdrop-filter: blur(2px);
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.25s ease;
}

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

.nlp-large {
	position: relative;
	width: 100%;
	max-width: var(--nlp-width);
	max-height: 90vh;
	overflow-y: auto;
	background: var(--nlp-bg);
	border: 1px solid var(--nlp-border);
	border-radius: var(--nlp-radius);
	padding: 36px 38px 30px;
	box-sizing: border-box;
	text-align: center;
	color: var(--nlp-text);
	box-shadow: 0 24px 64px rgba(20, 14, 8, 0.25);
	transform: translateY(12px) scale(0.97);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nlp-overlay.nlp-visible .nlp-large {
	transform: translateY(0) scale(1);
	opacity: 1;
}

#nlp-root .nlp-large-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.05);
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 50%;
	font-size: 19px;
	line-height: 1;
	color: var(--nlp-close-color);
	transition: background 0.15s ease, transform 0.15s ease;
}

#nlp-root .nlp-large-close:hover {
	background: rgba(0, 0, 0, 0.1);
	transform: rotate(90deg);
}

.nlp-large-title {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 4px 0 22px;
	line-height: 1.6;
}

.nlp-large-title .nlp-icon {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin: 0 auto 10px;
	font-size: 18px;
	background: rgba(255, 255, 255, 0.55);
	border-radius: 50%;
}

.nlp-large-image {
	margin-bottom: 22px;
}

.nlp-large-image img {
	max-width: 100%;
	height: auto;
	border-radius: calc(var(--nlp-radius) - 4px);
	display: block;
	margin: 0 auto;
	box-shadow: 0 8px 24px rgba(20, 14, 8, 0.12);
}

.nlp-large-body {
	text-align: left;
}

.nlp-large-intro {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 14px;
	opacity: 0.9;
}

.nlp-benefits {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	font-size: 13.5px;
	line-height: 1.5;
}

.nlp-benefits li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 9px;
}

.nlp-benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--nlp-btn-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

.nlp-form {
	margin-bottom: 10px;
}

.nlp-field-label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
	opacity: 0.85;
}

.nlp-required {
	color: #c0685f;
}

.nlp-email-input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 16px;
	border: 1px solid var(--nlp-border);
	border-radius: 10px;
	font-size: 14px;
	margin-bottom: 14px;
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nlp-email-input::placeholder {
	color: #b8ada2;
}

.nlp-email-input:focus {
	outline: none;
	border-color: var(--nlp-btn-bg);
	box-shadow: 0 0 0 3px rgba(201, 162, 126, 0.2);
}

.nlp-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 12px;
	line-height: 1.55;
	margin-bottom: 20px;
	cursor: pointer;
	opacity: 0.85;
}

.nlp-consent input {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
	border: 1px solid var(--nlp-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	position: relative;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.nlp-consent input:checked {
	background: var(--nlp-btn-bg);
	border-color: var(--nlp-btn-bg);
}

.nlp-consent input:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.nlp-consent a {
	color: var(--nlp-text);
	text-decoration: underline;
	font-weight: 600;
}

.nlp-form-message {
	font-size: 12.5px;
	margin: -6px 0 10px;
	min-height: 0;
	font-weight: 600;
}

.nlp-form-message.nlp-error {
	color: #c0685f;
}

.nlp-form-message.nlp-success {
	color: #4c8c5a;
}

#nlp-root .nlp-submit-btn {
	display: block;
	width: 100%;
	background: var(--nlp-btn-bg);
	color: var(--nlp-btn-text);
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 10px;
	padding: 14px 26px;
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background 0.15s ease, transform 0.1s ease;
}

#nlp-root .nlp-submit-btn:hover {
	background: var(--nlp-btn-hover);
	color: #ffffff;
}

#nlp-root .nlp-submit-btn:active {
	transform: translateY(1px);
}

#nlp-root .nlp-submit-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

#nlp-root .nlp-dont-show {
	display: block;
	width: 100%;
	margin: 16px 0 0;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	padding: 4px 0 0;
	font-size: 11.5px;
	letter-spacing: 0.02em;
	color: var(--nlp-text);
	opacity: 0.6;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.15s ease;
}

#nlp-root .nlp-dont-show:hover {
	opacity: 1;
}

@media (max-width: 480px) {
	.nlp-large {
		padding: 30px 22px 24px;
	}
	.nlp-small {
		max-width: calc(100% - 48px);
	}
}
