/**
 * Connect Wizard styles.
 */

.datastream-wizard {
	max-width: 720px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	padding: 24px 28px 28px;
}

.ds-wizard-steps {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	counter-reset: ds-step;
}

.ds-wizard-steps li {
	flex: 1;
	text-align: center;
	padding: 8px 4px;
	border-bottom: 3px solid #dcdcde;
	color: #646970;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
}

.ds-wizard-steps li.is-current {
	border-bottom-color: #2271b1;
	color: #1d2327;
	font-weight: 600;
}

.ds-wizard-steps li.is-done {
	border-bottom-color: #00a32a;
}

.datastream-wizard-step h2 {
	font-size: 1.6em;
	margin: 0 0 12px;
	outline: none;
}

.datastream-wizard-step input[type="url"] {
	font-size: 1.15em;
	padding: 10px 12px;
	width: 100%;
	box-sizing: border-box;
}

.ds-wizard-evidence {
	margin: 4px 0;
	color: #1d2327;
	animation: ds-fade-in 0.3s ease both;
}

.ds-wizard-evidence::before {
	content: "✓ ";
	color: #00a32a;
	font-weight: 700;
}

.ds-wizard-count {
	animation: ds-pop-in 0.35s ease both;
	display: inline-block;
}

.ds-wizard-preview {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 14px;
	background: #f6f7f7;
	max-height: 320px;
	overflow: auto;
}

.ds-wizard-chip.button.button-primary {
	box-shadow: none;
}

.ds-wizard-success {
	text-align: center;
	padding: 12px 0;
}

.ds-wizard-success .ds-wizard-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #00a32a;
	color: #fff;
	font-size: 30px;
	margin-bottom: 10px;
	animation: ds-pop-in 0.4s ease both;
}

.ds-wizard-error {
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	padding: 10px 14px;
	margin: 12px 0;
	border-radius: 0 4px 4px 0;
}

.ds-wizard-keypanel {
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
	padding: 10px 14px;
	margin: 12px 0;
	border-radius: 0 4px 4px 0;
}

@keyframes ds-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: none; }
}

@keyframes ds-pop-in {
	from { opacity: 0; transform: scale(0.85); }
	to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.ds-wizard-evidence,
	.ds-wizard-count,
	.ds-wizard-success .ds-wizard-check {
		animation: none;
	}
}
