/* EaseSeat Savings Calculator - Frontend Styles */

.esc-outer {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.esc-wrap {
	width: 100%;
	max-width: 900px;
	box-sizing: border-box;
}

.esc-wrap * {
	box-sizing: border-box;
}

/* ---------- Header ---------- */
.esc-header {
	text-align: center;
	margin-bottom: 32px;
}

.esc-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.esc-badge svg {
	flex: none;
}

.esc-eyebrow {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 18px;
}

.esc-heading {
	margin: 0 0 12px;
	font-size: 40px;
	line-height: 1.2;
	font-weight: 700;
}

.esc-heading-highlight {
	display: inline;
}

.esc-description {
	max-width: 520px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Card ---------- */
.esc-card {
	width: 100%;
	background: #ffffff;
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 20px 60px -20px rgba(70, 20, 130, 0.25);
}

.esc-card-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 32px;
}

/* ---------- Fields ---------- */
.esc-fields {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	justify-content: center;
}

.esc-field-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 12px;
}

.esc-field-label {
	font-size: 14px;
	font-weight: 600;
	color: #3d3d4e;
}

.esc-value-box {
	min-width: 64px;
	text-align: center;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f5f4fa;
	color: #1a1a2e;
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Range slider ---------- */
.esc-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: #e5e1ef;
	outline: none;
	cursor: pointer;
}

.esc-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #9b2fe0;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 8px rgba(120, 30, 200, 0.45);
	cursor: pointer;
	margin-top: 0;
}

.esc-range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #9b2fe0;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 8px rgba(120, 30, 200, 0.45);
	cursor: pointer;
}

.esc-range::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: transparent;
}

.esc-range:focus-visible {
	outline: 2px solid #9b2fe0;
	outline-offset: 3px;
}

/* ---------- Result panel ---------- */
.esc-result {
	flex: 0 0 260px;
	width: 260px;
	max-width: 100%;
	background: linear-gradient(135deg, #9b2fe0 0%, #6a1fb0 100%);
	border-radius: 18px;
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: center;
	gap: 8px;
}

.esc-result-label {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

.esc-result-value {
	font-size: 32px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.1;
	margin: 2px 0 4px;
}

.esc-result-desc {
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 12px;
}

.esc-btn {
	display: inline-block;
	width: 100%;
	padding: 10px 18px;
	border-radius: 10px;
	background: #ffffff;
	color: #7a2fce;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.esc-btn:hover {
	background: #f3e8fe;
	color: #7a2fce;
	transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.esc-heading {
		font-size: 28px;
	}

	.esc-card-inner {
		flex-direction: column;
	}

	.esc-result {
		width: 100%;
		flex: 1 1 auto;
	}
}
