/* Soro cikkgenerátor — ugyanahhoz az oldalhoz, mint a template-generator.php */
.soro-tpl-gen {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
}
.soro-tpl-gen__title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}
.soro-tpl-gen__notice {
	padding: 0.75rem 1rem;
	background: #f0f6fc;
	border-radius: 6px;
	margin-bottom: 1rem;
}
.soro-tpl-gen__notice--warn {
	background: #fff8e5;
	border: 1px solid #f0c36d;
}
.soro-tpl-gen__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 900px) {
	.soro-tpl-gen__grid {
		grid-template-columns: 340px 1fr;
	}
}
.soro-tpl-gen__h2 {
	font-size: 1.1rem;
	margin: 0 0 1rem;
}
.soro-tpl-gen__label {
	display: block;
	font-weight: 600;
	margin: 0.75rem 0 0.35rem;
}
.soro-tpl-gen__input,
.soro-tpl-gen__select {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.soro-tpl-gen__tones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.5rem 0 0.75rem;
}
.soro-tpl-gen__tone {
	padding: 0.4rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 0.9rem;
}
.soro-tpl-gen__tone.is-active {
	border-color: #2271b1;
	background: #f0f6fc;
	font-weight: 600;
}
.soro-tpl-gen__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
	cursor: pointer;
}
.soro-tpl-gen__btn {
	padding: 0.55rem 1rem;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
	font-size: 0.95rem;
}
.soro-tpl-gen__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.soro-tpl-gen__btn--primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}
.soro-tpl-gen__btn--primary:hover:not(:disabled) {
	background: #135e96;
}
#generateBtn {
	margin-top: 1rem;
	width: 100%;
}
.soro-tpl-gen__scores {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
.soro-tpl-gen__seo-bar-wrap {
	flex: 1;
	min-width: 200px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.soro-tpl-gen__seo-bar {
	flex: 1;
	height: 10px;
	background: #e0e0e0;
	border-radius: 5px;
	overflow: hidden;
}
.soro-tpl-gen__seo-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #d63638, #dba617, #00a32a);
	transition: width 0.4s ease;
}
.soro-tpl-gen__seo-num {
	font-weight: 700;
	min-width: 2.5rem;
}
.soro-tpl-gen__wc {
	font-size: 0.9rem;
	color: #555;
}
.soro-tpl-gen__tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1rem;
}
.soro-tpl-gen__tab {
	padding: 0.5rem 1rem;
	border: none;
	background: transparent;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.soro-tpl-gen__tab.is-active {
	border-bottom-color: #2271b1;
	font-weight: 600;
}
.soro-tpl-gen__panel[hidden] {
	display: none !important;
}
.soro-tpl-gen__article-preview {
	min-height: 200px;
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
}
.soro-tpl-gen__article-preview h1 {
	margin-top: 0;
	font-size: 1.75rem;
}
.soro-tpl-gen__meta-list dt {
	font-weight: 600;
	margin-top: 0.75rem;
}
.soro-tpl-gen__meta-list dd {
	margin: 0.25rem 0 0;
}
.soro-tpl-gen__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}
.soro-tpl-gen__status {
	font-size: 0.9rem;
	color: #1d2327;
	margin-top: 0.75rem;
}
.soro-tpl-gen__overlay {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.85);
	z-index: 100000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
.soro-tpl-gen__spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #c3c4c7;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: soro-spin 0.9s linear infinite;
}
@keyframes soro-spin {
	to {
		transform: rotate(360deg);
	}
}
.soro-tpl-gen__loading-text {
	font-size: 1.05rem;
	font-weight: 600;
	color: #1d2327;
}
