.lsc-calculator {
	--lsc-accent: #05549d;
	--lsc-accent-dark: #043f75;
	--lsc-gold: #eda01d;
	--lsc-border: #e6e8ec;
	--lsc-text: #1c1f26;
	--lsc-muted: #8a8f98;
	--lsc-track: #e9ebef;
	color-scheme: light;
	position: relative;
	box-sizing: border-box;
	max-width: 1140px;
	width: 100%;
	padding: 24px 28px 22px;
	background: #fff;
	border: 1px solid var(--lsc-border);
	border-radius: 14px;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--lsc-text);
}

.lsc-calculator::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lsc-accent) 0%, var(--lsc-accent) 60%, var(--lsc-gold) 100%);
}

.lsc-calculator * {
	box-sizing: border-box;
}

.lsc-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	align-items: start;
}

.lsc-left {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lsc-card-title {
	margin: 0 0 14px;
	padding-left: 12px;
	border-left: 3px solid var(--lsc-gold);
	font-size: 15px;
	font-weight: 700;
	color: var(--lsc-accent);
	line-height: 1.3;
}

.lsc-field {
	margin-bottom: 14px;
}

.lsc-field:last-child {
	margin-bottom: 0;
}

.lsc-field-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	gap: 12px;
}

.lsc-field-header label {
	font-size: 13px;
	color: var(--lsc-muted);
	white-space: nowrap;
}

.lsc-label-accent {
	color: var(--lsc-accent) !important;
	font-weight: 600;
}

.lsc-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid var(--lsc-border) !important;
	border-radius: 6px;
	padding: 3px 8px;
	min-width: 78px;
	background: #fff !important;
	color-scheme: light;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lsc-input-wrap:focus-within {
	border-color: var(--lsc-accent) !important;
	box-shadow: 0 0 0 3px rgba(5, 84, 157, 0.12);
}

.lsc-affix {
	font-size: 13px;
	color: var(--lsc-muted);
	margin-right: 4px;
}

.lsc-affix-right {
	margin-left: 4px;
	margin-right: 0;
}

.lsc-number-input {
	-webkit-appearance: none !important;
	appearance: none !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	width: 100%;
	text-align: right;
	font-size: 12.5px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--lsc-text) !important;
	background: transparent !important;
	background-color: transparent !important;
	-moz-appearance: textfield;
	color-scheme: light;
}

.lsc-number-input:-webkit-autofill,
.lsc-number-input:-webkit-autofill:hover,
.lsc-number-input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--lsc-text) !important;
	-webkit-box-shadow: 0 0 0 1000px #fff inset !important;
	box-shadow: 0 0 0 1000px #fff inset !important;
	transition: background-color 5000s ease-in-out 0s;
}

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

/* Slider base */
.lsc-slider {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	display: block;
	width: 100% !important;
	height: 4px !important;
	border-radius: 4px;
	background: var(--lsc-track) !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	outline: none;
	cursor: pointer;
	color-scheme: light;
	vertical-align: middle;
}

.lsc-slider::-webkit-slider-runnable-track {
	-webkit-appearance: none;
	width: 100%;
	height: 4px;
	background: var(--lsc-track);
	border: none;
	border-radius: 4px;
}

.lsc-slider::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 18px !important;
	height: 18px !important;
	border-radius: 50% !important;
	background: #fff !important;
	border: 4px solid var(--lsc-accent) !important;
	box-shadow: none !important;
	cursor: pointer;
	margin-top: -7px !important;
}

.lsc-slider::-moz-range-thumb {
	width: 18px !important;
	height: 18px !important;
	border-radius: 50% !important;
	background: #fff !important;
	border: 4px solid var(--lsc-accent) !important;
	box-shadow: none !important;
	cursor: pointer;
}

.lsc-slider::-moz-range-track {
	height: 4px !important;
	border-radius: 4px;
	background: var(--lsc-track) !important;
	border: none !important;
}

.lsc-slider::-moz-focus-outer {
	border: 0;
}

.lsc-slider-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 11px;
	color: var(--lsc-muted);
}

/* Right column */
.lsc-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: 2px;
}

.lsc-summary-card {
	width: 100%;
	text-align: center;
	background: #fbfbfc;
	border: 1px solid var(--lsc-border);
	border-top: 3px solid var(--lsc-gold);
	border-radius: 10px;
	padding: 14px 16px;
}

.lsc-summary-label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lsc-accent);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.lsc-summary-value {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a9c5b;
	letter-spacing: 0.2px;
}

.lsc-summary-value.lsc-negative {
	color: #d33b3b;
}

.lsc-emi-row {
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 16px;
}

.lsc-emi-col {
	flex: 1;
	text-align: center;
}

.lsc-emi-label {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--lsc-gold);
	text-transform: none;
}

.lsc-emi-value {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--lsc-accent);
}

.lsc-contact-btn {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: var(--lsc-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 24px;
	text-decoration: none !important;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 2px 6px rgba(5, 84, 157, 0.25);
}

.lsc-contact-btn:hover {
	background: var(--lsc-accent-dark);
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(5, 84, 157, 0.3);
}

.lsc-disclaimer {
	margin: 14px 0 0;
	text-align: center;
	font-size: 11px;
	line-height: 1.5;
	color: var(--lsc-muted);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Responsive */
@media (max-width: 720px) {
	.lsc-calculator {
		padding: 20px 20px 18px;
	}

	.lsc-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.lsc-right {
		order: -1;
	}
}
