/*
 * RoofCostChecker.com - Estimator module styles
 * File: estimator/assets/rcc-est.css
 *
 * v0.4.x+: the premium design system in core/assets/rcc-core.css owns the
 * estimator's presentation. This sheet keeps ONLY the controller-injected
 * local-conditions rows, styled as proper custom checkboxes (the injected
 * inputs carry .rcc-input, whose 46px field sizing must be overridden here;
 * this sheet loads after rcc-core.css, so these rules win the tie).
 * Matte: no glows, no shadows, no gradients.
 */

.rcc-est__cond {
	display: flex;
	flex-direction: row; /* .rcc-field sets column; center then means horizontal and mis-centers the toggle */
	justify-content: flex-start;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: var(--rcc-ink-2);
	cursor: pointer;
}
.rcc-est .rcc-est__cond-box,
.rcc-calc .rcc-est__cond-box {
	width: 19px;
	height: 19px;
	padding: 0;
	margin: 0;
	flex: 0 0 auto;
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid var(--rcc-line-2);
	border-radius: 6px;
	background: var(--rcc-field);
	line-height: normal;
	cursor: pointer;
	transition: border-color .12s, background-color .12s;
}
.rcc-est .rcc-est__cond-box:hover,
.rcc-calc .rcc-est__cond-box:hover {
	border-color: #b8afa2;
}
.rcc-est .rcc-est__cond-box:checked,
.rcc-calc .rcc-est__cond-box:checked {
	background-color: var(--rcc-amber-deep);
	border-color: var(--rcc-amber-deep);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'><path d='M1 4.5 4 7.5 10 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
}
.rcc-est .rcc-est__cond-box:focus-visible,
.rcc-calc .rcc-est__cond-box:focus-visible {
	outline: 2px solid var(--rcc-hero);
	outline-offset: 2px;
}
