.awg-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;
}

.awg-header {
	text-align: center;
	margin-bottom: 2rem;
}

.awg-title {
	font-size: 1.85rem;
	font-weight: 700;
	color: #1a202c;
	margin: 0 0 0.5rem 0;
}

.awg-subtitle {
	font-size: 1rem;
	color: #4a5568;
	margin: 0;
}

.awg-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.awg-input-wrapper {
	position: relative;
}

.awg-input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #a0aec0;
}

.awg-input {
	width: 100%;
	padding: 0.875rem 1rem 0.875rem 3rem;
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	font-size: 1rem;
	color: #2d3748;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.awg-input:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.awg-input::placeholder {
	color: #a0aec0;
}

.awg-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
}

.awg-field-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.9rem;
	color: #475569;
}

.awg-select {
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	padding: 0.6rem 0.75rem;
	font-size: 0.95rem;
	color: #1f2937;
	background-color: #fff;
}

.awg-select:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.awg-filters-note {
	font-size: 0.85rem;
	color: #64748b;
	margin: -0.25rem 0 0 0;
}

.awg-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;
}

.awg-button:hover {
	background-color: #059669;
}

.awg-button:disabled {
	background-color: #cbd5e0;
	cursor: not-allowed;
}

.awg-results-wrapper {
	margin-top: 2rem;
}

.awg-loading {
	text-align: center;
	color: #4a5568;
}

.awg-spinner {
	border: 4px solid rgba(0, 0, 0, 0.08);
	border-left-color: #10b981;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	animation: awg-spin 1s linear infinite;
	margin: 0 auto 1rem auto;
}

@keyframes awg-spin {
	from {
		transform: rotate(0);
	}

	to {
		transform: rotate(360deg);
	}
}

.awg-error {
	background-color: #fff5f5;
	color: #c53030;
	border: 1px solid #fed7d7;
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
}

.awg-results-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	animation: awg-fade-in 0.4s ease;
}

@keyframes awg-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.awg-result-item {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awg-result-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.awg-worksheet-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

.awg-worksheet-overview {
	margin: 0 0 0.75rem 0;
	color: #1e293b;
	line-height: 1.6;
}

.awg-worksheet-materials {
	background-color: #fef3c7;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	color: #92400e;
	font-size: 0.95rem;
}

.awg-activities {
	margin-top: 1rem;
}

.awg-activities-list {
	margin: 0.5rem 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.awg-activities-list li {
	color: #1e293b;
	line-height: 1.5;
}

.awg-activity-answer {
	font-size: 0.9rem;
	color: #475569;
	margin-top: 0.3rem;
}

.awg-copy-target {
	margin-top: 1rem;
	padding: 0.6rem 0.85rem;
	border: 1px dashed #10b981;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #065f46;
	cursor: pointer;
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
}

.awg-copy-target:hover {
	background-color: #ecfdf5;
}

.awg-copy-indicator {
	background-color: #10b981;
	color: #ffffff;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	display: inline-block;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.awg-copy-indicator.is-visible {
	opacity: 1;
}

.awg-explanation {
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.55;
}

@media (max-width: 640px) {
	.awg-container {
		padding: 1.5rem;
		margin: 1.5rem;
	}
}
