/* AIToolStreet — public free tool widget styles (frontend, no wp-admin) */

.ats-public-tool {
	max-width: 640px;
	margin: 24px 0;
	padding: 24px;
	background: #fff;
	border: 1px solid #e2e2e6;
	border-radius: 12px;
	font-family: inherit;
}

.ats-public-tool-title {
	margin: 0 0 14px;
	font-size: 18px;
}

.ats-public-tool-usage {
	font-size: 13px;
	color: #555;
	background: #f6f5fb;
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 14px;
	display: inline-block;
}

.ats-public-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.ats-public-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid #d3d3d8;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	resize: vertical;
}

.ats-public-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.ats-public-generate-btn {
	background: #3d2c8d;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.ats-public-generate-btn:hover {
	background: #2f2170;
}

.ats-public-generate-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ats-public-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid #ddd;
	border-top-color: #3d2c8d;
	border-radius: 50%;
	animation: ats-public-spin 0.7s linear infinite;
}

.ats-public-spinner.is-active {
	display: inline-block;
}

@keyframes ats-public-spin {
	to { transform: rotate( 360deg ); }
}

.ats-public-error {
	color: #b32d2e;
	margin-top: 12px;
	font-size: 14px;
}

.ats-public-output-wrap {
	margin-top: 18px;
	background: #f6f5fb;
	border-radius: 8px;
	padding: 16px;
}

.ats-public-output {
	white-space: pre-wrap;
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 12px;
}

.ats-public-copy-btn {
	background: #fff;
	border: 1px solid #3d2c8d;
	color: #3d2c8d;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
}

.ats-public-copy-btn:hover {
	background: #3d2c8d;
	color: #fff;
}

.ats-public-upsell {
	margin-top: 18px;
	font-size: 13px;
	color: #666;
}

.ats-public-upsell a {
	color: #3d2c8d;
	font-weight: 600;
	text-decoration: none;
}
