/* IMC Tools Core — shared base styling. Tool-specific CSS should layer on top,
   not override these class names, so suggestion cards look consistent across
   every tool. Brand colors come from window.imcCoreConfig.brand; if a tool wants
   to reflect them, set the two CSS custom properties below inline or via a small
   per-page <style> block. */

:root {
	--imc-primary: #1F3864;
	--imc-accent: #2E75B6;
	--imc-radius: 10px;
	--imc-border: #E2E8F0;
}

.imc-tool {
	max-width: 720px;
	margin: 1.5em 0;
	font-family: inherit;
	color: inherit;
	box-sizing: border-box;
}

.imc-tool *,
.imc-tool *::before,
.imc-tool *::after {
	box-sizing: inherit;
}

.imc-tool label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.imc-tool input[type="text"],
.imc-tool input[type="number"],
.imc-tool input[type="email"],
.imc-tool select {
	width: 100%;
	padding: 0.6em 0.75em;
	border: 1px solid var(--imc-border);
	border-radius: var(--imc-radius);
	font-size: 1em;
	margin-bottom: 1em;
}

.imc-tool button {
	background: var(--imc-primary);
	color: #fff;
	border: none;
	border-radius: var(--imc-radius);
	padding: 0.7em 1.4em;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
}

.imc-tool button:hover {
	background: var(--imc-accent);
}

.imc-tool-result {
	margin-top: 1.25em;
	padding: 1em 1.25em;
	background: #F7FAFC;
	border: 1px solid var(--imc-border);
	border-radius: var(--imc-radius);
}

.imc-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-top: 1.25em;
}

.imc-suggestion-card {
	display: flex;
	flex-direction: column;
	width: 160px;
	padding: 0.75em;
	border: 1px solid var(--imc-border);
	border-radius: var(--imc-radius);
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.imc-suggestion-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.imc-suggestion-card img {
	width: 100%;
	height: 100px;
	object-fit: contain;
	margin-bottom: 0.5em;
}

.imc-suggestion-label {
	font-weight: 600;
	font-size: 0.9em;
}

.imc-suggestion-blurb {
	font-size: 0.8em;
	color: #718096;
	margin-top: 0.25em;
}

.imc-lead-capture {
	display: flex;
	gap: 0.5em;
	margin-top: 1em;
}

.imc-lead-capture input[type="email"] {
	margin-bottom: 0;
	flex: 1;
}
