.atcf-form-wrapper {
	max-width: 640px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1f2937;
}

/* ---------- pasul optional: alegere numar de cuvinte ---------- */

.atcf-count-choice {
	text-align: center;
	padding: 36px 24px;
	border: 1px solid #e5e9f0;
	border-radius: 14px;
	background: #fafbfc;
}

.atcf-choice-prompt {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 20px;
	color: #111827;
}

.atcf-choice-options {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.atcf-choice-option {
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 10px;
	border: 1.5px solid #d7dce3;
	background: #fff;
	color: #1f2937;
	cursor: pointer;
	transition: all 0.15s ease;
}

.atcf-choice-option:hover {
	border-color: #2563eb;
	color: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37,99,235,0.12);
}

.atcf-change-count {
	display: inline-block;
	margin-bottom: 14px;
	background: none;
	border: none;
	color: #6b7280;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
}

.atcf-change-count:hover {
	color: #2563eb;
}

/* ---------- campul principal ---------- */

.atcf-field-shell {
	position: relative;
	border: 1.5px solid var(--atcf-border-color, #d7dce3);
	border-radius: 14px;
	padding: 16px 18px;
	min-height: 72px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(17,24,39,0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.atcf-field-shell:focus-within {
	border-color: var(--atcf-border-focus-color, #2563eb);
	box-shadow: 0 0 0 4px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.12);
}

/* efect neon (optional, activat per formular) */
.atcf-neon-enabled .atcf-field-shell {
	border-color: var(--atcf-neon-color, #2563eb);
	box-shadow:
		0 0 0 1px var(--atcf-neon-color, #2563eb),
		0 0 10px 1px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.55),
		0 0 22px 4px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.28);
	transition: box-shadow 0.2s ease;
}

.atcf-neon-enabled .atcf-field-shell:focus-within {
	box-shadow:
		0 0 0 1px var(--atcf-neon-color, #2563eb),
		0 0 16px 3px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.75),
		0 0 34px 8px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.4);
}

/* umbra (optionala, activata per formular) */
.atcf-shadow-enabled .atcf-field-shell {
	box-shadow: 0 12px 28px rgba(17,24,39,0.14);
}

.atcf-shadow-enabled.atcf-neon-enabled .atcf-field-shell {
	box-shadow:
		0 0 0 1px var(--atcf-neon-color, #2563eb),
		0 0 10px 1px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.55),
		0 0 22px 4px rgba(var(--atcf-neon-color-rgb, 37,99,235), 0.28),
		0 12px 28px rgba(17,24,39,0.14);
}

.atcf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.atcf-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--atcf-chip-bg, #eef3fe);
	border: 1px solid var(--atcf-chip-border, #d6e2fb);
	border-radius: 22px;
	padding: 7px 10px 7px 16px;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	animation: atcf-chip-in 0.18s ease;
}

@keyframes atcf-chip-in {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}

.atcf-chip .atcf-chip-num {
	font-weight: 700;
	color: var(--atcf-chip-number-color, #2563eb);
}

.atcf-chip .atcf-chip-remove {
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--atcf-remove-color, #8a93a3);
	font-size: 14px;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 50%;
	transition: background 0.15s ease, color 0.15s ease;
}

.atcf-chip .atcf-chip-remove:hover {
	background: var(--atcf-remove-hover-bg, #e2263f);
	color: #fff;
}

.atcf-input {
	flex: 1 1 160px;
	min-width: 160px;
	border: none;
	outline: none;
	font-size: 15.5px;
	padding: 9px 4px;
	background: transparent;
	color: #1f2937;
}

.atcf-field-shell.atcf-limit-reached .atcf-input {
	display: none;
}

.atcf-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	margin: 8px 0 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e2e6ec;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(17,24,39,0.12);
	max-height: 250px;
	overflow-y: auto;
	display: none;
}

.atcf-suggestions.is-open {
	display: block;
}

.atcf-suggestions li {
	padding: 9px 16px;
	cursor: pointer;
	font-size: 14px;
}

.atcf-suggestions li.is-active,
.atcf-suggestions li:hover {
	background: var(--atcf-suggestion-hover, #2563eb);
	color: #fff;
}

.atcf-suggestions li.atcf-no-match {
	color: #9aa1ac;
	cursor: default;
	font-style: italic;
}

.atcf-suggestions li.atcf-no-match:hover {
	background: transparent;
	color: #9aa1ac;
}

.atcf-counter {
	margin: 10px 0 4px;
	font-size: 13px;
	color: #6b7280;
	font-weight: 500;
}

/* ---------- zonele de continut ---------- */

.atcf-zones {
	display: flex;
	gap: 18px;
	margin: 18px 0;
	flex-wrap: wrap;
}

.atcf-zone {
	flex: 1 1 240px;
	background: #fafbfc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	padding: 16px;
}

.atcf-zone-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin-bottom: 12px;
}

.atcf-zone-text {
	font-size: 13.5px;
	line-height: 1.55;
	color: #4b5563;
}

.atcf-zone-text:last-child {
	margin-bottom: 0;
}

/* ---------- buton ---------- */

.atcf-submit {
	margin-top: 10px;
	padding: 14px 32px;
	background: var(--atcf-button-bg, #2563eb);
	color: var(--atcf-button-text, #fff);
	border: none;
	border-radius: 11px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.2px;
	transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 14px rgba(var(--atcf-button-bg-rgb, 37,99,235), 0.25);
}

.atcf-submit:hover:not(:disabled) {
	background: var(--atcf-button-hover-bg, #1d4ed8);
	transform: translateY(-1px);
}

.atcf-submit:disabled {
	background: #c9ced8;
	cursor: not-allowed;
	box-shadow: none;
}

.atcf-message {
	margin-top: 12px;
	font-size: 13px;
}

.atcf-message.is-error {
	color: #c0392b;
}

/* ---------- ecranul de succes ---------- */

.atcf-success-state {
	text-align: center;
	padding: 48px 28px;
	border: 1px solid #dcecdd;
	border-radius: 16px;
	background: linear-gradient(180deg, #f4fbf5 0%, #ffffff 100%);
}

.atcf-success-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 20px;
}

.atcf-success-icon svg {
	width: 100%;
	height: 100%;
}

.atcf-success-circle {
	stroke: var(--atcf-success-accent, #22c55e);
	stroke-width: 3;
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	animation: atcf-circle-draw 0.5s ease forwards;
}

.atcf-success-check {
	stroke: var(--atcf-success-accent, #22c55e);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: atcf-check-draw 0.35s ease forwards 0.45s;
}

@keyframes atcf-circle-draw {
	to { stroke-dashoffset: 0; }
}

@keyframes atcf-check-draw {
	to { stroke-dashoffset: 0; }
}

.atcf-success-text {
	font-size: 16px;
	line-height: 1.6;
	color: #1f2937;
	font-weight: 500;
	max-width: 420px;
	margin: 0 auto;
}

@media (max-width: 560px) {
	.atcf-zones {
		flex-direction: column;
	}
}
