/* AI Consultation wizard — neutral, RTL-aware styling. */

.aicons-wizard {
	max-width: 640px;
	margin-inline: auto;
}

.aicons-progress {
	height: 6px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 9999px;
	overflow: hidden;
}

.aicons-progress-bar {
	height: 100%;
	background: #171717;
	border-radius: 9999px;
	transition: width 0.3s ease;
}

.aicons-progress-label {
	font-size: 0.8rem;
	opacity: 0.6;
	margin-top: 0.4rem;
}

.aicons-card {
	margin-top: 1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	padding: 1.75rem;
}

.aicons-question {
	margin: 0 0 1.25rem;
	font-size: 1.25rem;
	line-height: 1.5;
}

.aicons-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 8px;
	font: inherit;
	background: transparent;
	box-sizing: border-box;
}

.aicons-input:focus {
	outline: none;
	border-color: #171717;
	box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.12);
}

.aicons-textarea {
	resize: vertical;
	min-height: 140px;
}

.aicons-radio-group {
	display: grid;
	gap: 0.5rem;
}

.aicons-radio {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.aicons-radio:hover {
	background: rgba(0, 0, 0, 0.03);
}

.aicons-radio:has(input:checked) {
	border-color: #171717;
	background: rgba(23, 23, 23, 0.05);
}

.aicons-error {
	color: #b91c1c;
	font-size: 0.85rem;
	min-height: 1.2em;
	margin-top: 0.5rem;
}

.aicons-error-big {
	font-size: 1rem;
	margin-bottom: 1rem;
}

.aicons-nav {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.aicons-nav > :only-child {
	margin-inline-start: auto;
}

.aicons-btn {
	font: inherit;
	font-weight: 600;
	border-radius: 8px;
	padding: 0.6rem 1.6rem;
	cursor: pointer;
	border: 1px solid transparent;
	transition: opacity 0.15s;
}

.aicons-btn:hover {
	opacity: 0.85;
}

.aicons-btn-primary {
	background: #171717;
	color: #fff;
}

.aicons-btn-ghost {
	background: transparent;
	border-color: rgba(0, 0, 0, 0.18);
	color: inherit;
}

.aicons-loading-card {
	text-align: center;
	padding-block: 3rem;
}

.aicons-spinner {
	width: 40px;
	height: 40px;
	margin: 0 auto 1rem;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: #171717;
	border-radius: 50%;
	animation: aicons-spin 0.9s linear infinite;
}

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

.aicons-reply {
	white-space: pre-line;
	line-height: 1.9;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 10px;
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.aicons-disclaimer {
	font-size: 0.8rem;
	opacity: 0.65;
	margin-bottom: 1rem;
}

.aicons-notice {
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 10px;
	padding: 1rem 1.25rem;
	background: rgba(0, 0, 0, 0.03);
}
