/* 806 Pricing Calculator - public styles */

.eight06-pc-widget {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1f2937;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	max-width: 640px;
	margin: 24px auto;
	overflow: hidden;
}

.eight06-pc-error {
	padding: 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 6px;
	color: #991b1b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
}

.eight06-pc-widget-header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 24px;
	background: var(--eight06-pc-accent, #E2231A);
	color: #fff;
}
.eight06-pc-widget-logo-mark {
	width: 56px;
	height: 56px;
	background: #fff;
	color: var(--eight06-pc-accent, #E2231A);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 6px;
	box-sizing: border-box;
	flex-shrink: 0;
}
.eight06-pc-widget-logo-mark span {
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
}
.eight06-pc-widget-logo-mark img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}
.eight06-pc-widget-title h3 { margin: 0; font-size: 20px; font-weight: 600; color: #fff; }
.eight06-pc-widget-title p { margin: 2px 0 0 0; font-size: 13px; opacity: 0.9; color: #fff; }

.eight06-pc-widget-body { padding: 16px 24px; }

.eight06-pc-line {
	display: flex; flex-direction: column; gap: 6px;
	padding: 14px 0;
	border-bottom: 1px solid #f3f4f6;
}
.eight06-pc-line:last-child { border-bottom: 0; }

.eight06-pc-line-label {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 12px;
}
.eight06-pc-line-label label {
	font-size: 14px; font-weight: 500; color: #1f2937; cursor: pointer;
}
.eight06-pc-required { color: var(--eight06-pc-accent, #E2231A); margin-left: 2px; }
.eight06-pc-line-unit { font-size: 12px; color: #6b7280; }

.eight06-pc-line-control { display: flex; align-items: center; gap: 12px; }
.eight06-pc-line-control .eight06-pc-qty-input { flex: 1 1 auto; min-width: 0; }

.eight06-pc-line-total {
	flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #1f2937;
	min-width: 70px; text-align: right;
}

.eight06-pc-fixed-qty {
	flex: 1; padding: 6px 10px;
	background: #f9fafb; border-radius: 4px;
	color: #6b7280; font-size: 14px;
}

.eight06-pc-checkbox {
	display: flex; align-items: center; gap: 8px;
	font-size: 14px; cursor: pointer;
}

input.eight06-pc-qty-input[type="number"] {
	padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 4px;
	font-size: 14px; max-width: 120px;
}
input.eight06-pc-qty-input[type="number"]:focus {
	outline: 2px solid var(--eight06-pc-accent, #E2231A);
	outline-offset: -1px;
}

input.eight06-pc-slider[type="range"] {
	-webkit-appearance: none; appearance: none;
	height: 6px; background: #e5e7eb; border-radius: 3px;
	flex: 1;
}
input.eight06-pc-slider[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--eight06-pc-accent, #E2231A);
	cursor: pointer; border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input.eight06-pc-slider[type="range"]::-moz-range-thumb {
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--eight06-pc-accent, #E2231A);
	cursor: pointer; border: 2px solid #fff;
}
.eight06-pc-slider-out {
	min-width: 40px; text-align: center;
	font-size: 14px; font-weight: 600; color: #1f2937;
	padding: 4px 10px; background: #f3f4f6; border-radius: 4px;
}

.eight06-pc-widget-total {
	display: flex; justify-content: space-between; align-items: baseline;
	padding: 16px 24px;
	background: #f9fafb; border-top: 1px solid #e5e7eb;
}
.eight06-pc-total-label { font-size: 14px; color: #6b7280; }
.eight06-pc-total-value {
	font-size: 28px; font-weight: 700; color: var(--eight06-pc-accent, #E2231A);
}

.eight06-pc-widget-cta {
	padding: 16px 24px 24px 24px;
	border-top: 1px solid #f3f4f6;
}
.eight06-pc-cta-btn {
	display: block; width: 100%;
	padding: 12px 18px;
	background: var(--eight06-pc-accent, #E2231A); color: #fff;
	font-size: 15px; font-weight: 600;
	border: 0; border-radius: 6px; cursor: pointer;
	transition: opacity 0.15s ease;
}
.eight06-pc-cta-btn:hover { opacity: 0.9; }
.eight06-pc-cta-btn:focus { outline: 2px solid #1f2937; outline-offset: 2px; }

.eight06-pc-modal {
	position: fixed; inset: 0;
	z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
}
.eight06-pc-modal[hidden] { display: none; }
.eight06-pc-modal-backdrop {
	position: absolute; inset: 0;
	background: rgba(17, 24, 39, 0.5);
}
.eight06-pc-modal-panel {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 460px; width: 100%;
	max-height: 90vh; overflow-y: auto;
	padding: 28px 28px 24px 28px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.eight06-pc-modal-close {
	position: absolute; top: 12px; right: 14px;
	background: none; border: 0; cursor: pointer;
	font-size: 24px; line-height: 1; color: #6b7280;
	width: 32px; height: 32px; border-radius: 4px;
}
.eight06-pc-modal-close:hover { background: #f3f4f6; color: #1f2937; }
.eight06-pc-modal-panel h3 {
	margin: 0 0 18px 0;
	color: var(--eight06-pc-accent, #E2231A);
	font-size: 22px; font-weight: 700;
}

.eight06-pc-form .eight06-pc-field { margin-bottom: 14px; }
.eight06-pc-form label {
	display: block; font-size: 13px; font-weight: 600; color: #374151;
	margin-bottom: 6px;
}
.eight06-pc-form input[type="text"],
.eight06-pc-form input[type="email"],
.eight06-pc-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db; border-radius: 6px;
	font-size: 14px; font-family: inherit;
	background: #f9fafb;
	box-sizing: border-box;
}
.eight06-pc-form input:focus,
.eight06-pc-form textarea:focus {
	outline: 2px solid var(--eight06-pc-accent, #E2231A);
	outline-offset: -1px; background: #fff;
}
.eight06-pc-form .eight06-pc-consent { background: #f9fafb; padding: 12px; border-radius: 6px; }
.eight06-pc-form .eight06-pc-consent label {
	display: flex; align-items: flex-start; gap: 8px; font-weight: 400;
	margin: 0; font-size: 13px;
}
.eight06-pc-form .eight06-pc-consent input { margin-top: 2px; flex: 0 0 auto; }
.eight06-pc-form .eight06-pc-consent span { flex: 1; }

.eight06-pc-form-error {
	background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
	padding: 10px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 14px;
}

.eight06-pc-form-actions {
	display: flex; justify-content: flex-end; align-items: center;
	gap: 12px; margin-top: 20px;
}
.eight06-pc-form-cancel {
	background: none; border: 0; cursor: pointer;
	color: var(--eight06-pc-accent, #E2231A);
	font-size: 14px; font-weight: 600;
	padding: 10px 12px;
}
.eight06-pc-form-cancel:hover { text-decoration: underline; }
.eight06-pc-form-submit {
	background: var(--eight06-pc-accent, #E2231A); color: #fff;
	border: 0; border-radius: 6px; cursor: pointer;
	padding: 10px 22px; font-size: 14px; font-weight: 600;
}
.eight06-pc-form-submit:hover { opacity: 0.9; }
.eight06-pc-form-submit:disabled { opacity: 0.6; cursor: wait; }

/* Honeypot - invisible to users, visible to dumb bots */
.eight06-pc-hp {
	position: absolute !important;
	left: -10000px !important;
	top: -10000px !important;
	width: 1px !important; height: 1px !important;
	overflow: hidden !important;
}

.eight06-pc-form-success { text-align: center; padding: 12px 0; }
.eight06-pc-success-icon {
	width: 56px; height: 56px; margin: 0 auto 16px auto;
	background: #d1fae5; color: #047857;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 32px; font-weight: 700;
}
.eight06-pc-form-success h4 { margin: 0 0 8px 0; font-size: 18px; color: #1f2937; }
.eight06-pc-form-success p { margin: 0 0 20px 0; color: #6b7280; font-size: 14px; line-height: 1.5; }
.eight06-pc-form-close-btn {
	background: var(--eight06-pc-accent, #E2231A); color: #fff;
	border: 0; border-radius: 6px; cursor: pointer;
	padding: 10px 24px; font-size: 14px; font-weight: 600;
}

@media (max-width: 480px) {
	.eight06-pc-widget { margin: 12px; border-radius: 8px; }
	.eight06-pc-widget-header { padding: 16px; }
	.eight06-pc-widget-body { padding: 12px 16px; }
	.eight06-pc-widget-total { padding: 14px 16px; }
	.eight06-pc-widget-cta { padding: 12px 16px 18px 16px; }
	.eight06-pc-modal-panel { padding: 22px 18px 18px 18px; }
}
