/* Webified Prompt Generator — public-facing two-panel AI prompt tool. */

.wpg-tool {
	margin: 40px 0;
}

.wpg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

@media (max-width: 900px) {
	.wpg-grid {
		grid-template-columns: 1fr;
	}
}

.wpg-panel {
	background: #ffffff;
	border: 1px solid #EDE6D6;
	border-radius: var(--gw-radius, 20px);
	padding: 32px;
}

.wpg-step-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1D9E75;
	margin-bottom: 16px;
}

.wpg-step-badge__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #E1F5EE;
	color: #1D9E75;
	font-size: 12px;
}

.wpg-panel h3 {
	font-size: 21px;
	margin: 0 0 6px;
}

.wpg-panel-sub {
	color: #5F6E69;
	font-size: 15px;
	margin: 0 0 24px;
}

.wpg-form .form-group {
	margin-bottom: 18px;
}

.wpg-form label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: #163832;
}

.wpg-form .optional {
	font-weight: 400;
	color: #5F6E69;
}

.wpg-form input,
.wpg-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #E3E9E6;
	border-radius: 10px;
	font: inherit;
	font-size: 15px;
	color: #163832;
	background: #FBF7EF;
}

.wpg-form input:focus,
.wpg-form textarea:focus {
	outline: none;
	border-color: #5DCAA5;
	background: #ffffff;
}

.wpg-form textarea {
	min-height: 90px;
	resize: vertical;
}

.wpg-generate-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	justify-content: center;
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: #D85A30;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

.wpg-generate-btn:hover {
	background: #B3441F;
	transform: translateY(-1px);
}

.wpg-output-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.wpg-output-header h3,
.wpg-output-header h4 {
	margin: 0;
}

.wpg-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #E3E9E6;
	border-radius: 999px;
	background: #ffffff;
	color: #163832;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wpg-copy-btn:hover {
	border-color: #5DCAA5;
}

.wpg-copy-btn.copied {
	background: #E1F5EE;
	border-color: #1D9E75;
	color: #1D9E75;
}

.wpg-hint {
	color: #5F6E69;
	font-size: 14.5px;
	margin: 16px 0;
}

.wpg-prompt-output {
	white-space: pre-wrap;
	word-break: break-word;
	background: #FBF7EF;
	border: 1px solid #EDE6D6;
	border-radius: 12px;
	padding: 18px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #163832;
	min-height: 120px;
	max-height: 420px;
	overflow-y: auto;
	margin: 16px 0;
}

.wpg-htaccess-output {
	font-family: Consolas, Monaco, monospace;
	font-size: 12.5px;
	max-height: none;
}

.wpg-step-final {
	background: #E1F5EE;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 8px 0 24px;
}

.wpg-step-final .wpg-step-badge {
	margin-bottom: 8px;
}

.wpg-step-final p {
	margin: 0;
	font-size: 14.5px;
	color: #163832;
}

.wpg-step-final a {
	color: #1D9E75;
	font-weight: 600;
}

.wpg-divider {
	border: none;
	border-top: 1px solid #EDE6D6;
	margin: 28px 0;
}

.wpg-htaccess-note {
	font-size: 13px;
	color: #5F6E69;
	margin: 8px 0 12px;
}

.wpg-htaccess-upsell {
	font-size: 13px;
	color: #5F6E69;
	background: #FBF7EF;
	border-left: 3px solid #D85A30;
	padding: 10px 14px;
	border-radius: 6px;
	margin: 0 0 16px;
}

.wpg-htaccess-upsell a {
	font-weight: 700;
	color: #D85A30;
	text-decoration: none;
}

.wpg-htaccess-upsell a:hover {
	text-decoration: underline;
}

.wpg-upsell {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px dashed #EDE6D6;
	text-align: center;
}

.wpg-upsell p {
	font-size: 14px;
	color: #5F6E69;
	margin: 0 0 8px;
}

.wpg-upsell a {
	font-weight: 700;
	color: #D85A30;
	text-decoration: none;
}

.wpg-upsell a:hover {
	text-decoration: underline;
}

/* Honeypot: visually hidden, but present for bots to fill in. */
.wpg-hp-wrap {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
