/* Trusten Quote Calculator */
.trusten-calc {
	--tc-primary: #2c5f2d;
	--tc-accent: #c8a951;
	--tc-silver: #8a8d8f;
	--tc-highlight: #f0f7f0;
	--tc-bg: #ffffff;
	--tc-border: #e0e0e0;
	--tc-text: #333333;
	--tc-light: #f7f7f7;
	--tc-radius: 8px;
	max-width: 800px;
	margin: 0 auto;
	font-family: inherit;
	color: var(--tc-text);
}

/* Progress Bar */
.tc-progress {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	position: relative;
	gap: 4px;
}

.tc-progress-step {
	flex: 1;
	text-align: center;
	padding: 12px 8px;
	font-size: 13px;
	font-weight: 600;
	color: #aaa;
	background: var(--tc-light);
	border-radius: var(--tc-radius);
	transition: all 0.3s ease;
}

.tc-progress-step span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ddd;
	color: #fff;
	font-size: 12px;
	margin-right: 6px;
	transition: background 0.3s;
}

.tc-progress-step.tc-active {
	color: #fff;
	background: var(--tc-primary);
}

.tc-progress-step.tc-active span {
	background: rgba(255, 255, 255, 0.3);
}

.tc-progress-step.tc-done {
	color: var(--tc-primary);
	background: var(--tc-highlight);
}

.tc-progress-step.tc-done span {
	background: var(--tc-primary);
}

/* Steps */
.tc-step {
	display: none;
	animation: tcFadeIn 0.3s ease;
}

.tc-step.tc-active {
	display: block;
}

@keyframes tcFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.tc-step h3 {
	font-size: 22px;
	margin: 0 0 5px;
	color: var(--tc-primary);
}

.tc-subtitle {
	color: #777;
	margin: 0 0 25px;
	font-size: 14px;
}

/* Room Grid */
.tc-rooms-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.tc-room-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--tc-light);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	padding: 14px 18px;
	transition: border-color 0.2s;
}

.tc-room-card:has(.tc-qty-input:not([value="0"])) {
	border-color: var(--tc-primary);
	background: var(--tc-highlight);
}

.tc-room-card label {
	font-weight: 600;
	font-size: 14px;
	cursor: default;
}

.tc-qty-control {
	display: flex;
	align-items: center;
	gap: 0;
}

.tc-qty-btn {
	width: 32px;
	height: 32px;
	border: 1px solid var(--tc-border);
	background: #fff;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tc-text);
	transition: all 0.15s;
	line-height: 1;
}

.tc-qty-minus {
	border-radius: var(--tc-radius) 0 0 var(--tc-radius);
}

.tc-qty-plus {
	border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
}

.tc-qty-btn:hover {
	background: var(--tc-primary);
	color: #fff;
	border-color: var(--tc-primary);
}

.tc-qty-input {
	width: 44px;
	height: 32px;
	text-align: center;
	border: 1px solid var(--tc-border);
	border-left: none;
	border-right: none;
	font-size: 14px;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}

.tc-qty-input::-webkit-inner-spin-button,
.tc-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Furnished and Installed Pricing Banner */
.tc-turnkey {
	background: var(--tc-highlight);
	border-left: 4px solid var(--tc-primary);
	padding: 16px 20px;
	margin: 15px 0 24px;
	border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
}

.tc-turnkey h4 {
	margin: 0 0 4px;
	color: var(--tc-primary);
	font-size: 15px;
}

.tc-turnkey p {
	margin: 0;
	font-size: 13px;
	color: #555;
}

/* Package Comparison */
.tc-comparison {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 28px;
}

.tc-comparison-col {
	border: 2px solid var(--tc-border);
	border-radius: var(--tc-radius);
	padding: 24px;
}

.tc-comparison-col.tc-col-gold {
	border-color: var(--tc-accent);
}

.tc-comparison-col.tc-col-silver {
	border-color: var(--tc-silver);
}

.tc-comparison-col .tc-package-badge {
	display: inline-block;
	padding: 4px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.tc-comparison-col .tc-gold-badge {
	background: var(--tc-accent);
	color: #fff;
}

.tc-comparison-col .tc-silver-badge {
	background: var(--tc-silver);
	color: #fff;
}

.tc-comparison-col h4 {
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--tc-text);
}

.tc-comparison-col ul {
	margin: 0;
	padding: 0 0 0 18px;
	font-size: 13px;
	line-height: 1.9;
	color: #555;
}

/* Estimate Disclaimer */
.tc-disclaimer {
	font-size: 12px;
	color: #888;
	font-style: italic;
	margin: 16px 0 28px;
	padding: 12px 16px;
	background: #fffbe6;
	border: 1px solid #f0e6b8;
	border-radius: var(--tc-radius);
}

/* Summary Table */
.tc-summary {
	margin-bottom: 20px;
	overflow-x: auto;
}

.tc-summary-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.tc-summary-table th {
	background: var(--tc-primary);
	color: #fff;
	padding: 10px 14px;
	text-align: center;
	font-weight: 600;
}

/* Dual-table column headers */
.tc-dual-table .tc-col-header-gold {
	background: var(--tc-accent);
	color: #fff;
	text-align: center;
}

.tc-dual-table .tc-col-header-silver {
	background: var(--tc-silver);
	color: #fff;
	text-align: center;
}

/* Dual-table column alignment */
.tc-dual-table td {
	text-align: center;
}

.tc-summary-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--tc-border);
}

.tc-summary-table tbody tr:nth-child(even) {
	background: var(--tc-light);
}

.tc-summary-table tfoot td {
	background: var(--tc-light);
	font-size: 14px;
	padding: 12px 14px;
}

.tc-total-row-gold td:first-child {
	color: var(--tc-accent);
	text-align: left;
}

.tc-total-row-gold td:nth-child(2) {
	text-align: center;
}

.tc-total-row-gold #tc-total-gold {
	color: var(--tc-accent);
	font-size: 18px;
}

.tc-total-row-silver td:first-child {
	color: var(--tc-silver);
	text-align: left;
}

.tc-total-row-silver td:nth-child(3) {
	text-align: center;
}

.tc-total-row-silver #tc-total-silver {
	color: var(--tc-silver);
	font-size: 18px;
	text-align: center;
}

/* Contact Form */
.tc-contact-form {
	margin-bottom: 20px;
}

.tc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.tc-form-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #555;
}

.tc-form-field input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	font-size: 14px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.tc-form-field input:focus {
	outline: none;
	border-color: var(--tc-primary);
	box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.tc-form-field input.tc-input-error {
	border-color: #e74c3c;
}

/* Navigation */
.tc-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--tc-border);
}

/* Buttons */
.tc-btn {
	padding: 12px 28px;
	border: none;
	border-radius: var(--tc-radius);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tc-btn-next,
.tc-btn-submit {
	background: var(--tc-primary);
	color: #fff;
}

.tc-btn-next:hover,
.tc-btn-submit:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.tc-btn-back {
	background: transparent;
	color: var(--tc-text);
	border: 1px solid var(--tc-border);
}

.tc-btn-back:hover {
	background: var(--tc-light);
}

.tc-btn-cta {
	background: var(--tc-accent);
	color: #fff;
	font-size: 16px;
	padding: 16px 36px;
}

.tc-btn-cta:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #fff;
}

.tc-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Spinner */
.tc-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tcSpin 0.6s linear infinite;
}

@keyframes tcSpin {
	to { transform: rotate(360deg); }
}

/* Error */
.tc-error {
	color: #e74c3c;
	font-size: 13px;
	font-weight: 600;
	min-height: 20px;
	margin-top: 8px;
}

/* Confirmation */
.tc-confirmation {
	text-align: center;
	padding: 20px 0;
}

.tc-check-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--tc-primary);
	color: #fff;
	font-size: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.tc-confirmation h3 {
	text-align: center;
}

.tc-confirmation hr {
	border: none;
	border-top: 1px solid var(--tc-border);
	margin: 30px 0;
}

.tc-quote-id {
	font-size: 13px;
	color: #999;
}

/* Mobile */
@media (max-width: 640px) {
	.tc-progress {
		flex-direction: column;
		gap: 4px;
	}

	.tc-progress-step {
		padding: 8px 12px;
		font-size: 12px;
		text-align: left;
	}

	.tc-rooms-grid,
	.tc-form-row,
	.tc-comparison {
		grid-template-columns: 1fr;
	}

	.tc-step h3 {
		font-size: 18px;
	}

	.tc-btn-cta {
		font-size: 14px;
		padding: 14px 24px;
	}

	.tc-summary-table {
		font-size: 12px;
	}

	.tc-summary-table th,
	.tc-summary-table td {
		padding: 8px 6px;
	}
}
