/* ==========================================================
   Vox Step-Up SIP Calculator Stylesheet
   vox-stepup-* prefix - modern, responsive, mobile-first
   ========================================================== */

/* ── MAIN WRAPPER ── */
.vox-tool-stepup-calc {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	margin-bottom: 32px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: #0f172a;
}

/* ── HEADER ── */
.vox-stepup-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 20px;
	margin-bottom: 28px;
}

.vox-stepup-title-box .vox-tool-caption {
	margin: 6px 0 8px 0;
}

.vox-stepup-title-box p {
	margin: 0;
	font-size: 0.95rem;
	color: #64748b;
}

.vox-stepup-badge {
	display: inline-block;
	background: #ecfdf5;
	color: #059669;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ── FORM SECTION ── */
.vox-stepup-form-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.vox-stepup-sec-title {
	margin: 0 0 20px 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1e293b;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 10px;
}

/* ── SLIDERS GRID ── */
.vox-stepup-sliders-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.vox-stepup-slider-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.vox-stepup-slider-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.vox-slider-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.vox-slider-header label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #334155;
	flex: 1;
	margin: 0;
}

.vox-slider-input-wrapper {
	width: 140px;
	flex-shrink: 0;
}

.vox-synced-input {
	font-weight: 700;
	color: #0f172a;
	text-align: right;
	padding: 8px 10px;
	font-size: 0.95rem;
}

/* ── RANGE TRACK & SLIDER ── */
.vox-range-track-wrapper {
	position: relative;
	margin: 10px 0 6px 0;
}

.vox-range-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 6px;
	background: #e2e8f0;
	outline: none;
	margin: 10px 0;
	cursor: pointer;
}

.vox-range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0284c7;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
	cursor: pointer;
	transition: transform 0.15s, background-color 0.15s;
}

.vox-range-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0284c7;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
	cursor: pointer;
}

.vox-range-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
	background: #0369a1;
}

.vox-range-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 0.76rem;
	color: #94a3b8;
	font-weight: 600;
	padding: 0 2px;
}

.vox-stepup-tenure-hint {
	font-size: 0.8rem;
	color: #0284c7;
	font-weight: 600;
	margin-top: 6px;
	text-align: right;
	min-height: 18px;
}

/* ── ACTION BUTTONS ROW ── */
.vox-stepup-action-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* ── 5 SECONDS COUNTDOWN LOADER ── */
.vox-stepup-loader-box {
	background: #ecfdf5;
	border: 2px solid #6ee7b7;
	border-radius: 14px;
	padding: 28px 24px;
	margin-top: 28px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.vox-stepup-spinner {
	display: inline-block;
	width: 42px;
	height: 42px;
	border: 4px solid #a7f3d0;
	border-top-color: #059669;
	border-radius: 50%;
	animation: voxStepupSpin 1s infinite linear;
	margin-bottom: 14px;
}

@keyframes voxStepupSpin {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.vox-stepup-loader-text h3 {
	margin: 0 0 4px 0;
	font-size: 1.15rem;
	color: #047857;
}

.vox-stepup-loader-text p {
	margin: 0 0 16px 0;
	color: #059669;
	font-size: 0.92rem;
}

.vox-stepup-progress-bar {
	width: 100%;
	max-width: 450px;
	height: 10px;
	background: #d1fae5;
	border-radius: 10px;
	margin: 0 auto;
	overflow: hidden;
}

.vox-stepup-progress-fill {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #059669, #34d399);
	border-radius: 10px;
	transition: width 0.1s linear;
}

/* ── RESULTS SECTION ── */
.vox-stepup-results-wrapper {
	outline: none;
}

.vox-stepup-results-divider {
	height: 3px;
	background: linear-gradient(90deg, #059669, #34d399, #d1fae5);
	margin: 36px 0 28px 0;
	border-radius: 3px;
}

.vox-stepup-results-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 24px;
}

/* ── COMPARISON PANELS ── */
.vox-stepup-compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.vox-stepup-compare-grid {
		grid-template-columns: 1fr;
	}
}

.vox-stepup-panel {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.panel-normal {
	border-color: #cbd5e1;
}

.panel-stepup {
	border: 2px solid #10b981;
	background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.vox-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.vox-panel-header h4 {
	margin: 0;
	font-size: 1.15rem;
	color: #0f172a;
	font-weight: 700;
}

.vox-panel-tag {
	font-size: 0.76rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 12px;
	background: #f1f5f9;
	color: #475569;
	text-transform: uppercase;
}

.vox-tag-green {
	background: #dcfce7;
	color: #15803d;
}

.vox-panel-metrics {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.vox-metric-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vox-metric-label {
	font-size: 0.88rem;
	color: #64748b;
	font-weight: 500;
}

.vox-metric-val {
	font-size: 1.5rem;
	font-weight: 800;
	color: #0f172a;
}

.vox-metric-highlight-normal {
	background: #f8fafc;
	padding: 14px;
	border-radius: 10px;
	border: 1px dashed #cbd5e1;
}

.vox-metric-highlight-normal .vox-metric-val {
	color: #0284c7;
	font-size: 1.7rem;
}

.vox-metric-highlight-stepup {
	background: #dcfce7;
	padding: 14px;
	border-radius: 10px;
	border: 1.5px solid #86efac;
}

.vox-metric-highlight-stepup .vox-metric-val {
	color: #15803d;
	font-size: 1.85rem;
}

/* ── EXTRA WEALTH CALLOUT BANNER ── */
.vox-stepup-extra-wealth-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1.5px solid #86efac;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 28px;
}

.vox-extra-wealth-icon {
	font-size: 2rem;
	flex-shrink: 0;
}

.vox-extra-wealth-text {
	font-size: 1rem;
	color: #166534;
}

.vox-extra-wealth-text strong {
	color: #14532d;
}

.vox-extra-wealth-text span {
	font-weight: 800;
	font-size: 1.15rem;
	color: #15803d;
}

/* ── CHART BOX ── */
.vox-stepup-chart-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 28px;
}

.vox-stepup-chart-container {
	position: relative;
	width: 100%;
	min-height: 280px;
}

/* ── YEARLY SCHEDULE TABLE ── */
.vox-stepup-table-box {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 28px;
}

.vox-stepup-table-sub {
	font-size: 0.88rem;
	color: #64748b;
	margin: -10px 0 18px 0;
}

.vox-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.vox-stepup-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.92rem;
}

.vox-stepup-table th {
	background: #f1f5f9;
	color: #334155;
	font-weight: 700;
	padding: 12px 16px;
	border-bottom: 2px solid #cbd5e1;
	white-space: nowrap;
}

.vox-stepup-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	color: #1e293b;
	white-space: nowrap;
}

.vox-stepup-table tr:nth-child(even) td {
	background: #f8fafc;
}

.vox-stepup-table tr:hover td {
	background: #f0fdf4;
}

/* ── DOWNLOAD PDF CARD ── */
.vox-stepup-download-card {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	color: #ffffff;
	border-radius: 16px;
	padding: 28px;
}

.vox-stepup-download-card .vox-download-header h3 {
	margin: 0 0 6px 0;
	font-size: 1.25rem;
	color: #ffffff;
}

.vox-stepup-download-card .vox-download-header p {
	margin: 0 0 20px 0;
	color: #94a3b8;
	font-size: 0.92rem;
}

.vox-stepup-download-card label {
	color: #cbd5e1;
}

/* ── RESPONSIVE MOBILE FIRST ── */
@media (max-width: 600px) {
	.vox-tool-stepup-calc {
		padding: 20px 14px;
	}

	.vox-stepup-header {
		flex-direction: column;
	}

	.vox-stepup-sliders-grid {
		grid-template-columns: 1fr;
	}

	.vox-slider-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.vox-slider-input-wrapper {
		width: 100%;
	}

	.vox-synced-input {
		text-align: left;
	}

	.vox-stepup-action-row {
		flex-direction: column;
	}

	.vox-stepup-action-row .vox-btn {
		width: 100%;
		justify-content: center;
	}

	.vox-metric-val {
		font-size: 1.3rem;
	}
}
