/* Finance Page Styles */
.finance-page {
	padding: calc(var(--nav-offset) + 3rem) 0 4rem;
	background: 
		radial-gradient(ellipse 1200px 800px at 20% 0%, rgba(11, 45, 91, 0.06), transparent 50%),
		radial-gradient(ellipse 1000px 700px at 80% 100%, rgba(200, 29, 37, 0.04), transparent 50%),
		linear-gradient(180deg, #f8f9fb 0%, #fff 50%, #fafbfc 100%);
	min-height: 100vh;
	position: relative;
}

.finance-page::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 400px;
	background: linear-gradient(135deg, rgba(11, 45, 91, 0.03) 0%, transparent 60%);
	pointer-events: none;
}

.page-header {
	text-align: center;
	margin-bottom: 3.5rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.page-header h1 {
	font-size: 3rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fa3 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

.page-subtitle {
	font-size: 1.25rem;
	color: var(--gray-600);
	line-height: 1.6;
	font-weight: 400;
}

.finance-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2.5rem;
	align-items: start;
	position: relative;
}

/* Form Container */
.finance-form-container {
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(197, 207, 221, 0.4);
	box-shadow: 
		0 20px 60px rgba(11, 18, 32, 0.12),
		0 2px 8px rgba(11, 45, 91, 0.04);
	padding: 3rem;
	position: relative;
	animation: fadeInUp 0.7s ease 0.2s backwards;
}

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

.finance-form-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 16px 16px 0 0;
}

.finance-form {
	width: 100%;
}

/* Form Sections */
.form-section {
	margin-bottom: 3rem;
	padding-bottom: 3rem;
	border-bottom: 2px solid #f3f4f6;
	position: relative;
}

.form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 1.75rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.section-title::before {
	content: "";
	width: 4px;
	height: 28px;
	background: linear-gradient(180deg, var(--primary), var(--accent));
	border-radius: 2px;
}

/* Form Rows and Groups */
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.form-row.three-col {
	grid-template-columns: 2fr 1fr 2fr;
}

.form-row:last-child {
	margin-bottom: 0;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group.full-width {
	grid-column: 1 / -1;
}

/* Labels */
.form-label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gray-800);
	margin-bottom: 0.625rem;
	display: block;
	letter-spacing: 0.01em;
}

.required {
	color: var(--accent);
	margin-left: 0.25rem;
	font-weight: 700;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 0.875rem 1.125rem;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1rem;
	color: var(--gray-900);
	background: #fff;
	transition: all 0.3s ease;
	font-family: inherit;
}

.form-input:hover,
.form-textarea:hover {
	border-color: #cbd5e1;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(11, 45, 91, 0.08);
	background: #fafbfc;
}

.form-input::placeholder {
	color: #9ca3af;
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

/* Enhanced Select Dropdown */
.form-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 3rem;
	cursor: pointer;
	font-weight: 500;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230B2D5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
	background-size: 20px;
}

.form-select:hover {
	border-color: #cbd5e1;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a5fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
	background-size: 20px;
}

.form-select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(11, 45, 91, 0.08);
	background: #fafbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230B2D5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
	background-size: 20px;
}

.form-select option {
	padding: 0.5rem;
	font-size: 1rem;
	background: #fff;
	color: var(--gray-900);
}

/* Radio Groups */
.radio-group {
	display: flex;
	gap: 2rem;
	margin-top: 0.625rem;
}

.radio-label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	cursor: pointer;
	font-size: 1rem;
	color: var(--gray-700);
	padding: 0.5rem;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.radio-label:hover {
	background: rgba(11, 45, 91, 0.04);
}

.radio-label input[type="radio"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--primary);
}

/* Checkbox Groups */
.checkbox-group {
	margin-top: 1rem;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	cursor: pointer;
	font-size: 1rem;
	color: var(--gray-700);
	margin-bottom: 1.125rem;
	line-height: 1.5;
	padding: 0.75rem;
	border-radius: 8px;
	transition: all 0.2s ease;
	background: #fff;
}

.checkbox-label:hover {
	background: rgba(11, 45, 91, 0.03);
}

.checkbox-label:last-child {
	margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	cursor: pointer;
	flex-shrink: 0;
	accent-color: var(--primary);
}

/* Disclaimer */
.disclaimer-intro {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 1.5rem;
}

.disclaimer-items {
	margin-bottom: 1.75rem;
	background: #f9fafb;
	padding: 1.5rem;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}

.disclaimer-note {
	font-size: 0.9375rem;
	color: var(--gray-600);
	line-height: 1.6;
	padding: 1rem;
	background: #fffbeb;
	border-left: 4px solid #fbbf24;
	border-radius: 6px;
}

.disclaimer-note a {
	color: var(--primary);
	text-decoration: underline;
	font-weight: 600;
}

.disclaimer-note a:hover {
	color: var(--accent);
}

/* Co-applicant Toggle Container */
.co-applicant-toggle-container {
	background: linear-gradient(135deg, rgba(11, 45, 91, 0.03) 0%, rgba(200, 29, 37, 0.02) 100%);
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.co-applicant-toggle-container:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 16px rgba(11, 45, 91, 0.08);
}

.toggle-header {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.75rem 2rem;
	cursor: pointer;
}

.toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fa3 100%);
	color: #fff;
	border-radius: 12px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(11, 45, 91, 0.2);
}

.toggle-content {
	flex: 1;
}

.toggle-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0 0 0.25rem 0;
}

.toggle-description {
	font-size: 0.9375rem;
	color: var(--gray-600);
	margin: 0;
	line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 68px;
	height: 36px;
	flex-shrink: 0;
}

.toggle-switch input[type="checkbox"] {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #cbd5e1;
	border-radius: 34px;
	transition: all 0.4s ease;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider::before {
	position: absolute;
	content: "";
	height: 28px;
	width: 28px;
	left: 4px;
	bottom: 4px;
	background: #fff;
	border-radius: 50%;
	transition: all 0.4s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fa3 100%);
	box-shadow: 0 0 0 2px rgba(11, 45, 91, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider::before {
	transform: translateX(32px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:focus + .toggle-slider {
	box-shadow: 0 0 0 3px rgba(11, 45, 91, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Co-applicant Section */
.co-applicant-section {
	background: linear-gradient(135deg, #f0f9ff 0%, #f9fafb 100%);
	padding: 2.5rem;
	border-radius: 12px;
	margin-top: 1.5rem;
	border: 2px solid #dbeafe;
	animation: slideDown 0.4s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		max-height: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		max-height: 3000px;
		transform: translateY(0);
	}
}

/* Form Actions */
.form-actions {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	padding-top: 2rem;
}

.btn-submit {
	padding: 1.125rem 4rem;
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fa3 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1.125rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 
		0 8px 24px rgba(11, 45, 91, 0.25),
		0 2px 6px rgba(11, 45, 91, 0.15);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
}

.btn-submit::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.btn-submit:hover::before {
	left: 100%;
}

.btn-submit:hover {
	background: linear-gradient(135deg, #1a5fa3 0%, var(--primary) 100%);
	transform: translateY(-3px);
	box-shadow: 
		0 12px 32px rgba(11, 45, 91, 0.35),
		0 4px 10px rgba(11, 45, 91, 0.2);
}

.btn-submit:active {
	transform: translateY(-1px);
	box-shadow: 
		0 6px 20px rgba(11, 45, 91, 0.3),
		0 2px 6px rgba(11, 45, 91, 0.15);
}

/* Sidebar */
.finance-sidebar {
	position: sticky;
	top: calc(var(--nav-offset) + 2rem);
	animation: fadeInRight 0.8s ease 0.3s backwards;
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.info-card {
	background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
	border-radius: 16px;
	border: 1px solid rgba(197, 207, 221, 0.4);
	box-shadow: 
		0 12px 40px rgba(11, 18, 32, 0.1),
		0 2px 6px rgba(11, 45, 91, 0.04);
	padding: 2.25rem;
	margin-bottom: 1.5rem;
	position: relative;
	overflow: hidden;
.form-status {
	margin-top: 1rem;
	padding: 0.875rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid transparent;
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a;
}

.form-status.is-success {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.35);
	color: #065f46;
}

.form-status.is-error {
	background: rgba(239, 68, 68, 0.10);
	border-color: rgba(239, 68, 68, 0.35);
	color: #7f1d1d;
}

.form-status.is-info {
	background: rgba(59, 130, 246, 0.10);
	border-color: rgba(59, 130, 246, 0.35);
	color: #1e3a8a;
}

/* Toast notifications */
.toast-container {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: min(92vw, 420px);
	pointer-events: none;
}

.toast {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.15);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
	color: #0f172a;
	animation: toastIn 180ms ease-out;
}

.toast.is-success {
	border-color: rgba(16, 185, 129, 0.35);
}

.toast.is-error {
	border-color: rgba(239, 68, 68, 0.35);
}

.toast-title {
	font-weight: 800;
	margin-bottom: 0.15rem;
}

.toast-message {
	font-weight: 600;
	line-height: 1.35;
}

.toast-close {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem 0.25rem;
	opacity: 0.75;
}

.toast-close:hover {
	opacity: 1;
}

@keyframes toastIn {
	from { transform: translateY(10px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
	transition: all 0.3s ease;
}

.info-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary), var(--accent));
}

.info-card:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 16px 48px rgba(11, 18, 32, 0.14),
		0 4px 10px rgba(11, 45, 91, 0.06);
}

.info-card:last-child {
	margin-bottom: 0;
}

.info-card h3 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 1.125rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.info-card h3::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, var(--primary), #1a5fa3);
	color: #fff;
	border-radius: 50%;
	font-size: 0.875rem;
	font-weight: 700;
	flex-shrink: 0;
}

.info-card p {
	font-size: 1rem;
	color: var(--gray-600);
	line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.finance-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.finance-sidebar {
		position: static;
	}

	.info-card {
		display: inline-block;
		margin-right: 1.5rem;
		width: calc(50% - 0.75rem);
		vertical-align: top;
	}

	.info-card:last-child {
		margin-right: 0;
	}
}

@media (max-width: 768px) {
	.finance-page {
		padding: calc(var(--nav-offset) + 2rem) 0 3rem;
	}

	.page-header h1 {
		font-size: 2rem;
	}

	.page-subtitle {
		font-size: 1rem;
	}

	.finance-form-container {
		padding: 1.5rem;
	}

	.form-row,
	.form-row.three-col {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.section-title {
		font-size: 1.25rem;
	}

	.info-card {
		width: 100%;
		margin-right: 0;
		margin-bottom: 1.5rem;
	}

	.btn-submit {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.page-header h1 {
		font-size: 1.75rem;
	}

	.finance-form-container {
		padding: 1.25rem;
	}

	.co-applicant-section {
		padding: 1.5rem;
	}

	.radio-group {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.page-header {
		padding-bottom: 1.5rem;
		margin-bottom: 1.5rem;
	}
	
	.page-subtitle {
		font-size: 0.9375rem;
	}
	
	.section-title {
		font-size: 1.125rem;
	}
	
	.form-label {
		font-size: 0.875rem;
	}
	
	.form-input,
	.form-select,
	.form-textarea {
		padding: 0.75rem;
		font-size: 0.9375rem;
	}
	
	.sidebar-card {
		padding: 1.25rem;
	}
	
	.info-card {
		padding: 1.25rem;
	}
}
/* ==========================================
   TRADE-IN PAGE SPECIFIC STYLES
   ========================================== */

/* Benefits List */
.benefits-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.benefits-list li {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	align-items: flex-start;
}

.benefits-list li:last-child {
	margin-bottom: 0;
}

.benefits-list svg {
	flex-shrink: 0;
	color: var(--primary);
	margin-top: 0.125rem;
}

.benefits-list strong {
	display: block;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 0.375rem;
	font-size: 1.0625rem;
}

.benefits-list p {
	font-size: 0.9375rem;
	color: var(--gray-600);
	line-height: 1.6;
	margin: 0;
}

/* Process Steps */
.process-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: step;
}

.process-steps li {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e7eb;
	align-items: flex-start;
}

.process-steps li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fa3 100%);
	color: white;
	border-radius: 50%;
	font-weight: 700;
	font-size: 1.125rem;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(11, 45, 91, 0.2);
}

.process-steps strong {
	display: block;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 0.375rem;
	font-size: 1.0625rem;
}

.process-steps p {
	font-size: 0.9375rem;
	color: var(--gray-600);
	line-height: 1.6;
	margin: 0;
}

/* Contact Button */
.contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	background: var(--primary);
	color: white;
	padding: 0.875rem 1.5rem;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	margin-top: 1.25rem;
	box-shadow: 0 4px 12px rgba(11, 45, 91, 0.2);
}

.contact-btn:hover {
	background: #1a5fa3;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(11, 45, 91, 0.3);
}

.contact-btn svg {
	flex-shrink: 0;
}

/* Field Note */
.field-note {
	font-size: 0.875rem;
	color: var(--gray-500);
	margin-top: 0.5rem;
	line-height: 1.5;
	font-style: italic;
}