/**
 * UTM Link Generator Styles
 * Minimal styling to allow site's fonts and colors to come through.
 */

.utm--generator {
	max-width: 800px;
	margin: 0 auto;
}

.utm--generator--title {
	margin-bottom: 0.5em;
}

.utm--generator--description {
	margin-bottom: 1.5em;
	color: #666;
}

.utm--generator--form {
	margin-bottom: 2em;
}

.utm--generator--field {
	margin-bottom: 1.5em;
}

.utm--generator--label {
	display: block;
	margin-bottom: 0.5em;
	font-weight: 600;
}

.utm--generator--required {
	color: #d63638;
}

.utm--generator--input {
	width: 100%;
	max-width: 100%;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
}

.utm--generator--input:focus {
	outline: 2px solid transparent;
	outline-offset: 2px;
	border-color: #666;
}

.utm--generator--help {
	margin-top: 0.5em;
	font-size: 0.9em;
	color: #666;
	line-height: 1.5;
}

.utm--generator--actions {
	margin-top: 1.5em;
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

.utm--generator--button {
	padding: 0.5em 1em;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #f5f5f5;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.utm--generator--button:hover {
	background: #e5e5e5;
	border-color: #999;
}

.utm--generator--button-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.utm--generator--button-primary:hover {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.utm--generator--result {
	margin-top: 2em;
	padding: 1em;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #f9f9f9;
}

.utm--generator--result-title {
	margin-top: 0;
	margin-bottom: 1em;
}

.utm--generator--result-container {
	background: #f0f0f0;
	padding: 1em;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.utm--generator--result-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.utm--generator--generated-url {
	flex: 1;
	min-width: 200px;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	font-family: monospace;
	font-size: 0.9em;
}

.utm--generator--copy-button {
	white-space: nowrap;
}

.utm--generator--copy-button.utm--generator--copied {
	background: #46b450;
	border-color: #46b450;
	color: #fff;
}

.utm--generator--copy-button.utm--generator--copied:hover {
	background: #3a9e42;
	border-color: #3a9e42;
}
