.adn-form p { margin-bottom: 12px; }
.adn-form label { display: block; font-weight: bold; margin-bottom: 4px; }
.adn-form input, .adn-form select, .adn-form textarea {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.adn-form button {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
}
.adn-dashboard { max-width: 800px; }
.adn-table th, .adn-table td { text-align: right; }

/* کارت‌های آماری رنگی - تجربه کاربری بهتر */
.adn-stat-cards { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.adn-stat-card { flex: 1; min-width: 140px; border-radius: 10px; padding: 16px; color: #fff; text-align: center; }
.adn-stat-card .adn-stat-num { display: block; font-size: 26px; font-weight: bold; }
.adn-stat-card .adn-stat-label { display: block; font-size: 12px; opacity: .9; margin-top: 4px; }
.adn-stat-blue { background: linear-gradient(135deg,#2271b1,#3b82f6); }
.adn-stat-red { background: linear-gradient(135deg,#d63638,#f87171); }
.adn-stat-green { background: linear-gradient(135deg,#16a34a,#4ade80); }

/* پیش‌نمایش زنده تبلیغ */
.adn-live-preview { margin-bottom: 16px; }
.adn-preview-label { font-size: 12px; color: #888; display:block; margin-bottom:4px; }
.adn-preview-box { border: 2px dashed #ccc; border-radius: 8px; padding: 16px; text-align: center; background: #fafafa; min-height: 60px; }

/* نشان وضعیت رنگی */
.adn-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; }
.adn-badge-approved { background: #dcfce7; color: #15803d; }
.adn-badge-pending  { background: #fef9c3; color: #a16207; }
.adn-badge-rejected { background: #fee2e2; color: #b91c1c; }
.adn-badge-paused   { background: #e5e7eb; color: #4b5563; }

/* دسترس‌پذیری: نمایش واضح فوکوس کیبورد روی لینک‌ها و دکمه‌ها */
.adn-form a:focus-visible, .adn-form button:focus-visible,
.adn-btn:focus-visible, .adn-copy-btn:focus-visible,
.adn-quick-filter:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}
