.scani-ar-wizard {
	max-width: 560px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.scani-ar-steps {
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.scani-ar-steps .step {
	flex: 1;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	color: #aaa;
	border-bottom: 3px solid #eee;
	padding-bottom: 8px;
	position: relative;
}

.scani-ar-steps .step small {
	display: block;
	font-weight: normal;
	font-size: 11px;
	margin-top: 2px;
}

.scani-ar-steps .step.active {
	color: #1a73e8;
	border-bottom-color: #1a73e8;
}

.scani-ar-steps .step.done {
	color: #2e7d32;
	border-bottom-color: #2e7d32;
}

.scani-ar-panel h3,
.scani-ar-panel h4 {
	margin-top: 0;
}

.scani-ar-panel label {
	display: block;
	font-weight: 600;
	margin: 16px 0 4px;
}

.scani-ar-panel .hint {
	font-size: 13px;
	color: #666;
	margin: 0 0 8px;
}

.scani-ar-panel input[type="text"],
.scani-ar-panel input[type="url"],
.scani-ar-panel input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
}

.scani-ar-actions {
	margin-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}

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

.btn-prev {
	background: #999;
}

.btn-next,
.btn-submit {
	margin-left: auto;
}

.scani-ar-alert {
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}

.alert-error {
	background: #fdecea;
	color: #b3261e;
	border: 1px solid #f5c2c0;
}

.alert-success {
	background: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7e1c1;
}

.compile-status {
	margin-top: 8px;
	font-size: 13px;
	color: #1a73e8;
}

.scani-ar-buttons {
	display: flex;
	gap: 16px;
	margin: 12px 0;
}

.scani-info-btn {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border: 2px solid #eee;
	border-radius: 8px;
	padding: 12px;
	cursor: pointer;
	font-weight: normal !important;
	margin: 0 !important;
	text-align: center;
}

.scani-info-btn img {
	width: 40px;
	height: 40px;
}

.scani-info-btn input {
	margin-bottom: 4px;
}

.scani-info-btn:has(input:checked) {
	border-color: #1a73e8;
	background: #eef4fd;
}

.scani-ar-result {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-bottom: 16px;
}

.scani-ar-result-image img {
	max-width: 200px;
	border-radius: 8px;
	border: 1px solid #eee;
}

.scani-ar-result-info {
	flex: 1;
	min-width: 200px;
}

#scani_result_link {
	color: #1a73e8;
	text-decoration: underline;
	cursor: pointer;
	word-break: break-all;
}

#scani_result_qr {
	margin: 12px 0;
}

.scani-ar-final-text {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	color: #1a73e8;
	margin-top: 16px;
}
