.acd-container {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	background-color: #ffffff;
	border-radius: 16px;
	padding: 2rem 2.5rem;
	max-width: 860px;
	margin: 2rem auto;
	box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.15);
	border: 1px solid #e2e8f0;
}

.acd-header {
	text-align: center;
	margin-bottom: 2rem;
}

.acd-title {
	font-size: 1.85rem;
	font-weight: 700;
	color: #1a202c;
	margin: 0 0 0.5rem 0;
}

.acd-subtitle {
	font-size: 1rem;
	color: #4a5568;
	margin: 0;
}

.acd-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.acd-input-wrapper {
	position: relative;
}

.acd-input-icon {
	position: absolute;
	left: 1rem;
	top: 1rem;
	color: #a0aec0;
}

.acd-input {
	width: 100%;
	padding: 1rem 1rem 1rem 3rem;
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	font-size: 1rem;
	color: #2d3748;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	resize: vertical;
	min-height: 160px;
	font-family: "Menlo", "Monaco", "Ubuntu Mono", Consolas, "Liberation Mono", monospace;
}

.acd-input:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.acd-input::placeholder {
	color: #a0aec0;
}

.acd-button {
	background-color: #10b981;
	color: #ffffff;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.875rem 1.5rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.acd-button:hover {
	background-color: #059669;
}

.acd-button:disabled {
	background-color: #cbd5e0;
	cursor: not-allowed;
}

.acd-results-wrapper {
	margin-top: 2rem;
}

.acd-loading {
	text-align: center;
	color: #4a5568;
}

.acd-spinner {
	border: 4px solid rgba(0, 0, 0, 0.08);
	border-left-color: #10b981;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	animation: acd-spin 1s linear infinite;
	margin: 0 auto 1rem auto;
}

@keyframes acd-spin {
	from {
		transform: rotate(0);
	}

	to {
		transform: rotate(360deg);
	}
}

.acd-error {
	background-color: #fff5f5;
	color: #c53030;
	border: 1px solid #fed7d7;
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
}

.acd-analysis {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.5rem;
	animation: acd-fade-in 0.4s ease;
}

@keyframes acd-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.acd-analysis-heading {
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 1rem 0;
}

.acd-analysis-row {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
	align-items: baseline;
}

.acd-label {
	font-weight: 600;
	color: #475569;
	min-width: 110px;
}

.acd-value {
	font-weight: 600;
	color: #0f172a;
}

.acd-value.is-ai {
	color: #c026d3;
}

.acd-value.is-human {
	color: #047857;
}

.acd-reason {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
	color: #334155;
	line-height: 1.6;
}

.acd-reason p {
	margin: 0.25rem 0 0 0;
}

@media (max-width: 640px) {
	.acd-container {
		padding: 1.5rem;
		margin: 1.5rem;
	}
}
