.tvd-quote-neon {
	font-family: inherit;
	color: var(--tvdqn-text);
	background: var(--tvdqn-bg);
	max-width: 900px;
	margin: 2rem auto;
	padding: 2rem;
	box-sizing: border-box;
	position: relative;
}

.tvd-quote-neon * {
	box-sizing: border-box;
}

.tvdqn-step {
	display: none;
}

.tvdqn-step.is-active {
	display: block;
	animation: tvdqn-fadeIn 0.3s ease;
}

.tvdqn-step h2 {
	font-size: 2rem;
	line-height: 1.2;
	color: var(--tvdqn-heading);
	margin: 0 0 1rem;
}

.tvdqn-step h3 {
	font-size: 1.25rem;
	margin: 1.5rem 0 .75rem;
}

.tvdqn-progress {
	height: var(--tvdqn-progress);
	background: #e0e3ee;
	border-radius: 99px;
	position: relative;
	margin: 0 0 3rem;
}

.tvdqn-progress > span {
	display: block;
	height: 100%;
	width: 25%;
	background: linear-gradient(90deg, var(--tvdqn-accent), var(--tvdqn-primary));
	border-radius: inherit;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tvdqn-progress b {
	position: absolute;
	top: 11px;
	left: 50%;
	transform: translateX(-50%);
	font-size: .85rem;
	font-weight: 500;
	white-space: nowrap;
}

.tvdqn-progress i {
	font-style: normal;
}

.tvdqn-upload {
	display: flex !important;
	min-height: 180px;
	border: 2px dashed var(--tvdqn-accent);
	border-radius: var(--tvdqn-radius);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: .8rem;
	text-align: center;
	cursor: pointer;
	padding: 1.5rem;
	background: #fafbfe;
	transition: background 0.2s, border-color 0.2s;
}

.tvdqn-upload:hover {
	background: #f3f5fc;
}

.tvdqn-upload input {
	display: none !important;
}

.tvdqn-upload .tvdqn-upload-icon {
	display: grid !important;
	place-items: center;
	font-size: 1.8rem !important;
	line-height: 1;
	background: var(--tvdqn-primary, #5b5cff);
	color: #fff;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	box-shadow: 0 4px 10px rgba(91, 92, 255, 0.2);
}

.tvdqn-upload-copy {
	display: flex !important;
	align-items: baseline;
	justify-content: center;
	gap: .45rem;
	flex-wrap: wrap;
	background: transparent !important;
	color: inherit !important;
	width: auto !important;
	height: auto !important;
	font-size: inherit !important;
}

.tvdqn-upload-copy strong {
	color: var(--tvdqn-accent);
	font-size: 1.25rem;
}

.tvdqn-upload-copy em {
	font-style: normal;
	font-size: 1.15rem;
	color: #4b5563;
}

.tvdqn-upload small {
	display: block !important;
	margin-top: .3rem;
	color: #6b7280;
}

.tvdqn-options,
.tvdqn-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.2rem;
}

.tvdqn-options input {
	position: absolute;
	opacity: 0;
}

.tvdqn-options span {
	display: block;
	border: 1px solid #cbd5e1;
	border-radius: var(--tvdqn-radius);
	padding: 1.25rem;
	text-align: center;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #fff;
}

.tvdqn-options input:checked + span {
	border-color: var(--tvdqn-accent);
	box-shadow: 0 0 0 2px var(--tvdqn-accent);
	background: #faf5ff;
}

.tvdqn-form label {
	display: block;
	margin: .8rem 0;
	font-weight: 500;
}

.tvdqn-form input,
.tvdqn-form textarea,
.tvdqn-form select {
	border: 1px solid #cbd5e1;
	border-radius: var(--tvdqn-radius);
	padding: .8rem 1rem;
	width: 100%;
	font: inherit;
	background: #fff;
	color: var(--tvdqn-text);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tvdqn-form input:focus,
.tvdqn-form textarea:focus,
.tvdqn-form select:focus {
	outline: none;
	border-color: var(--tvdqn-primary);
	box-shadow: 0 0 0 3px rgba(91, 92, 255, 0.15);
}

.tvdqn-form textarea {
	min-height: 130px;
	resize: vertical;
}

.tvdqn-size {
	display: flex;
	margin-top: .5rem;
}

.tvdqn-size input {
	border-radius: var(--tvdqn-radius) 0 0 var(--tvdqn-radius);
}

.tvdqn-size select {
	width: 110px;
	border-radius: 0 var(--tvdqn-radius) var(--tvdqn-radius) 0;
}

.tvdqn-actions {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	margin-top: 2.5rem;
}

.tvdqn-btn {
	border: 1px solid var(--tvdqn-primary);
	background: #fff;
	color: var(--tvdqn-primary);
	padding: .75rem 1.8rem;
	border-radius: var(--tvdqn-radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.tvdqn-btn:hover {
	background: #f8fafc;
}

.tvdqn-btn-primary {
	background: var(--tvdqn-primary);
	color: #fff;
	border-color: var(--tvdqn-primary);
	box-shadow: 0 2px 8px rgba(91, 92, 255, 0.25);
}

.tvdqn-btn-primary:hover {
	background: color-mix(in srgb, var(--tvdqn-primary) 88%, #000);
	color: #fff;
	box-shadow: 0 4px 12px rgba(91, 92, 255, 0.35);
}

.tvdqn-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* Uploaded Files */
.tvdqn-files {
	margin-top: 1rem;
}

.tvdqn-file {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .65rem .9rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--tvdqn-radius);
	margin: .5rem 0;
	font-size: .92rem;
	animation: tvdqn-fadeIn 0.25s ease;
}

.tvdqn-file-check {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	background: #10b981;
	color: #fff;
	border-radius: 50%;
	font-size: .75rem;
	font-weight: bold;
	flex-shrink: 0;
}

.tvdqn-file-name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
	color: #334155;
}

.tvdqn-file-badge {
	font-size: .72rem;
	padding: .2rem .55rem;
	border-radius: 99px;
	background: #dcfce7;
	color: #15803d;
	font-weight: 600;
	flex-shrink: 0;
}

.tvdqn-remove {
	border: 0;
	background: transparent;
	font-size: 1.3rem;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 0 .25rem;
	transition: color 0.15s;
}

.tvdqn-remove:hover {
	color: #ef4444;
}

/* Inline Notice */
.tvdqn-notice {
	margin-bottom: 1rem;
	font-size: .92rem;
	font-weight: 500;
	empty-cells: hide;
}

.tvdqn-notice.is-error {
	color: #b42318;
}

.tvdqn-notice.is-success {
	color: #067647;
}

.tvdqn-invalid {
	border-color: #b42318 !important;
	box-shadow: 0 0 0 1px #b42318 !important;
}

/* Spinner */
.tvdqn-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: tvdqn-spin 0.6s linear infinite;
	vertical-align: middle;
	margin-right: 6px;
}

/* Toast Notifications */
.tvdqn-toast-container {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 380px;
	width: calc(100vw - 32px);
	pointer-events: none;
}

.tvdqn-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
	color: #1e293b;
	font-size: 0.92rem;
	font-weight: 500;
	transform: translateX(110%);
	opacity: 0;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tvdqn-toast.is-visible {
	transform: translateX(0);
	opacity: 1;
}

.tvdqn-toast.is-hiding {
	transform: translateX(110%);
	opacity: 0;
}

.tvdqn-toast-success {
	border-left: 4px solid #10b981;
}

.tvdqn-toast-success .tvdqn-toast-icon {
	color: #10b981;
}

.tvdqn-toast-error {
	border-left: 4px solid #ef4444;
}

.tvdqn-toast-error .tvdqn-toast-icon {
	color: #ef4444;
}

.tvdqn-toast-info {
	border-left: 4px solid var(--tvdqn-primary, #5b5cff);
}

.tvdqn-toast-info .tvdqn-toast-icon {
	color: var(--tvdqn-primary, #5b5cff);
}

.tvdqn-toast-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tvdqn-toast-message {
	flex: 1;
	line-height: 1.4;
}

.tvdqn-toast-close {
	border: none;
	background: transparent;
	font-size: 1.25rem;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 0 2px;
	flex-shrink: 0;
	transition: color 0.15s;
}

.tvdqn-toast-close:hover {
	color: #334155;
}

/* Confirmation Modal */
.tvdqn-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tvdqn-modal-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.tvdqn-modal {
	background: #ffffff;
	border-radius: max(16px, var(--tvdqn-radius));
	max-width: 480px;
	width: 100%;
	padding: 32px 28px;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	text-align: center;
	transform: scale(0.92) translateY(12px);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

.tvdqn-modal-backdrop.is-open .tvdqn-modal {
	transform: scale(1) translateY(0);
}

.tvdqn-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: #f1f5f9;
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}

.tvdqn-modal-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.tvdqn-modal-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(91, 92, 255, 0.15));
	color: #10b981;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08);
}

.tvdqn-modal-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--tvdqn-heading, #17243d);
	margin: 0 0 8px;
	line-height: 1.25;
}

.tvdqn-modal-desc {
	font-size: 0.95rem;
	color: #64748b;
	margin: 0 0 20px;
	line-height: 1.5;
}

.tvdqn-modal-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 24px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
}

.tvdqn-modal-card-icon {
	color: var(--tvdqn-primary, #5b5cff);
	flex-shrink: 0;
	margin-top: 2px;
}

.tvdqn-modal-card-text {
	flex: 1;
}

.tvdqn-modal-card-title {
	display: block;
	font-size: 0.92rem;
	color: #1e293b;
	margin-bottom: 3px;
	font-weight: 600;
}

.tvdqn-modal-card-text p {
	font-size: 0.86rem;
	color: #475569;
	margin: 0;
	line-height: 1.45;
}

.tvdqn-modal-actions {
	display: flex;
	justify-content: center;
}

.tvdqn-modal-btn {
	width: 100%;
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--tvdqn-radius);
}

/* Budget & Range Slider */
.tvdqn-budget {
	padding: 0 4px;
}

.tvdqn-budget output {
	position: absolute;
	transform: translateX(-50%);
	text-align: center;
	color: #fff;
	background: var(--tvdqn-primary);
	width: max-content;
	border-radius: 4px;
	padding: 2px 6px;
	margin-top: -8px;
	font-size: .78rem;
	z-index: 1;
}

.tvdqn-budget-track {
	position: relative;
	padding-top: 26px;
}

.tvdqn-budget input[type=range] {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	height: 6px;
	border: 0;
	background: linear-gradient(90deg, var(--tvdqn-primary) 0%, var(--tvdqn-primary) 25%, #dce0f0 25%, #dce0f0 100%);
	border-radius: 99px;
	appearance: none;
}

.tvdqn-budget input[type=range]::-webkit-slider-thumb {
	appearance: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--tvdqn-primary);
	cursor: pointer;
}

.tvdqn-budget input[type=range]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 0;
	border-radius: 50%;
	background: var(--tvdqn-primary);
	cursor: pointer;
}

.tvdqn-budget-ticks {
	position: absolute;
	inset: 29px 0 auto;
	height: 8px;
}

.tvdqn-budget-ticks i {
	position: absolute;
	width: 1px;
	height: 6px;
	background: #a9afc0;
}

.tvdqn-budget-labels {
	display: flex !important;
	justify-content: space-between !important;
	margin-top: 10px;
	color: #566174;
	font-size: .76rem;
}

.tvdqn-budget-labels span {
	background: #e5e5e5;
	border-radius: 4px;
	padding: 1px 4px;
}

/* Currency */
.tvdqn-currency {
	display: flex;
	align-items: center;
	gap: 2rem;
	border: 0;
	padding: 0;
	margin: 2rem 0 2.5rem;
}

.tvdqn-currency label {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0 !important;
	cursor: pointer;
}

.tvdqn-currency input {
	appearance: none !important;
	width: 22px !important;
	height: 22px !important;
	padding: 0 !important;
	border: 1px solid #657085 !important;
	border-radius: 50% !important;
	position: relative;
	cursor: pointer;
}

.tvdqn-currency input:checked {
	border-color: var(--tvdqn-accent) !important;
	background: var(--tvdqn-accent) !important;
}

.tvdqn-currency input:checked:after {
	content: '✓';
	position: absolute;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	left: 3px;
	top: 0;
}

.tvdqn-currency span {
	font-size: 1.05rem;
}

/* Gallery */
.tvdqn-gallery {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	overflow: visible;
}

.tvdqn-gallery-item {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	width: 20%;
	height: 156px;
	cursor: pointer;
	transition: transform .22s ease, box-shadow .22s ease;
	overflow: hidden;
}

.tvdqn-gallery-item img {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	object-fit: cover;
	display: block;
}

.tvdqn-gallery-item.is-active {
	transform: scale(1.12);
	z-index: 2;
	box-shadow: 0 5px 12px rgba(20, 30, 55, .38);
}

/* Animations */
@keyframes tvdqn-fadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes tvdqn-spin {
	to { transform: rotate(360deg); }
}

/* Responsive Media Queries */
@media (max-width: 600px) {
	.tvd-quote-neon {
		padding: 1.25rem;
		margin: 1rem auto;
	}

	.tvdqn-step h2 {
		font-size: 1.5rem;
	}

	.tvdqn-options,
	.tvdqn-grid {
		grid-template-columns: 1fr;
	}

	.tvdqn-actions {
		justify-content: space-between;
	}

	.tvdqn-btn {
		padding: .65rem 1.1rem;
	}

	.tvdqn-upload-copy {
		flex-direction: column;
		align-items: center;
	}

	.tvdqn-upload-copy em {
		font-size: 1.05rem;
	}

	.tvdqn-toast-container {
		top: 12px;
		left: 12px;
		right: 12px;
		width: calc(100vw - 24px);
		max-width: none;
	}

	.tvdqn-modal {
		padding: 24px 18px;
	}

	.tvdqn-modal-title {
		font-size: 1.35rem;
	}

	.tvdqn-modal-icon {
		width: 60px;
		height: 60px;
	}
}
