.afb-turnstile-admin-page {
	margin: 20px 0;
}

.afb-turnstile-admin-container {
	display: flex;
	gap: 30px;
	margin-top: 20px;
}

.afb-turnstile-main-content {
	flex: 1;
	max-width: 800px;
}

.afb-turnstile-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.afb-turnstile-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	margin-bottom: 20px;
	padding: 20px;
}

.afb-turnstile-section h2,
.afb-turnstile-section h3 {
	margin-top: 0;
	color: #23282d;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.afb-turnstile-test-widget {
	margin-top: 20px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #f9f9f9;
}

.afb-test-result {
	margin-left: 10px;
	font-weight: 500;
}

.afb-test-result.success {
	color: #46b450;
}

.afb-test-result.error {
	color: #d63638;
}

.afb-test-result.warning {
	color: #ffb900;
}

.afb-turnstile-sidebar-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	margin-bottom: 20px;
	padding: 15px;
}

.afb-turnstile-sidebar-section h3 {
	margin-top: 0;
	color: #23282d;
	border-bottom: 1px solid #eee;
	padding-bottom: 8px;
}

.afb-turnstile-setup-steps {
	padding-left: 0;
	list-style: none;
	counter-reset: step-counter;
}

.afb-turnstile-setup-steps li {
	counter-increment: step-counter;
	margin-bottom: 20px;
	position: relative;
	padding-left: 40px;
}

.afb-turnstile-setup-steps li::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 0;
	background: #FF6600;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
}

.afb-turnstile-setup-steps li p {
	margin: 5px 0 10px 0;
	color: #666;
	font-size: 13px;
}

.afb-turnstile-features {
	list-style: none;
	padding: 0;
}

.afb-turnstile-features li {
	margin-bottom: 15px;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 4px;
	border-left: 3px solid #FF6600;
}

.afb-turnstile-status {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.status-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-radius: 4px;
}

.status-configured {
	background: #d4edda;
	color: #155724;
}

.status-not-configured {
	background: #fff3cd;
	color: #856404;
}

.status-active {
	background: #ffebe6;
	color: #cc4400;
}

.afb-turnstile-error {
	color: #d63638;
	background: #ffebee;
	border: 1px solid #d63638;
	padding: 10px;
	margin-top: 10px;
	border-radius: 4px;
	font-size: 14px;
}

.afb-form-error {
	display: block;
	margin-top: 10px;
}

@media (max-width: 782px) {
	.afb-turnstile-admin-container {
		flex-direction: column;
	}
	
	.afb-turnstile-sidebar {
		width: 100%;
	}
}
