/* Shared styles for individual tool pages (schema generator, calculators, AI tools, etc.) */
.gyla-tool {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
}

.gyla-tool__head { text-align: center; margin-bottom: 28px; }
.gyla-tool__head h1 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.gyla-tool__head p  { font-size: 16px; color: #6b7280; margin: 0; }

.gyla-tool__tabs {
	display: flex;
	gap: 6px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.gyla-tool__tab {
	background: none;
	border: none;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.gyla-tool__tab.is-active {
	color: #111;
	border-bottom-color: #f59e0b;
}

.gyla-tool__form {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
}

.gyla-tool__panel { margin-bottom: 12px; }
.gyla-tool__panel--hidden { display: none; }

.gyla-tool h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	margin: 22px 0 10px;
}

.gyla-tool__row { margin-bottom: 12px; }
.gyla-tool__row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gyla-tool__row--3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

@media (max-width: 600px) {
	.gyla-tool__row--2col,
	.gyla-tool__row--3col { grid-template-columns: 1fr; }
}

.gyla-tool label { display: block; }
.gyla-tool label span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 4px;
}

.gyla-tool input[type=text],
.gyla-tool input[type=url],
.gyla-tool input[type=email],
.gyla-tool input[type=tel],
.gyla-tool input[type=number],
.gyla-tool select,
.gyla-tool textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	color: #111;
	background: #fff;
}

.gyla-tool input:focus,
.gyla-tool select:focus,
.gyla-tool textarea:focus {
	outline: none;
	border-color: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.gyla-tool__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #374151;
}

.gyla-tool__check input { width: auto !important; margin: 0; }

.gyla-tool__faq {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 14px;
	margin-bottom: 10px;
}

.gyla-tool__submit {
	display: block;
	width: 100%;
	background: #f59e0b;
	color: #111827;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 18px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 16px;
}

.gyla-tool__submit:hover { background: #d97706; }
.gyla-tool__submit[disabled] { background: #d1d5db; color: #6b7280; cursor: not-allowed; }

.gyla-tool__output {
	margin-top: 28px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
}

.gyla-tool__output pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 18px;
	border-radius: 8px;
	overflow-x: auto;
	font-size: 12.5px;
	line-height: 1.5;
	margin: 12px 0 0;
}

.gyla-tool__copy {
	background: #111827;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	padding: 8px 14px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	float: right;
	margin-top: -36px;
}

.gyla-tool__copy:hover { background: #f59e0b; color: #111; }
.gyla-tool__hint { color: #6b7280; font-size: 13px; margin: 0 0 8px; }

.gyla-tool__status { margin-top: 12px; }

.gyla-loss-output { text-align: center; }

.gyla-loss-headline {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 18px;
}

.gyla-loss-label {
	display: block;
	font-size: 13px;
	color: #991b1b;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
}

.gyla-loss-amount {
	display: block;
	font-size: 48px;
	color: #7f1d1d;
	font-weight: 800;
}

.gyla-loss-sub {
	display: block;
	font-size: 14px;
	color: #991b1b;
	margin-top: 4px;
}

.gyla-tool__output table { text-align: left; }

.gyla-tool__result-card {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 10px;
}
