/**
 * Shopinext Admin — Shared Design System
 *
 * Common styles shared across Logs, Status and Stats admin pages.
 * Enqueued via admin_enqueue_scripts on relevant pages only.
 *
 * @package Shopinext_Gateway_V3
 * @since   3.2.0
 */

/* ── Reset ────────────────────────────────────────────────── */
.snx-admin-wrap {
	max-width: 1200px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Shared Header ────────────────────────────────────────── */
.snx-admin-header {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	padding: 22px 28px;
	border-radius: 10px;
	margin-bottom: 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.snx-admin-header img {
	height: 36px;
	filter: brightness(0) invert(1);
}
.snx-admin-header-info {
	flex: 1;
}
.snx-admin-header-title {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}
.snx-admin-header-sub {
	color: rgba(255,255,255,.6);
	font-size: 12px;
	margin-top: 3px;
}

/* ── Shared Card ──────────────────────────────────────────── */
.snx-admin-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 18px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.snx-admin-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f0;
	font-weight: 600;
	font-size: 14px;
	color: #1d2327;
}
.snx-admin-card-header .dashicons {
	margin-right: 8px;
	color: #2271b1;
}
.snx-admin-card-body {
	padding: 20px;
}

/* ── Shared Badge ─────────────────────────────────────────── */
.snx-admin-badge {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
}

/* ── Shared Footer ────────────────────────────────────────── */
.snx-admin-footer {
	text-align: center;
	padding: 20px;
	margin-top: 10px;
	color: #999;
	font-size: 12px;
}
.snx-admin-footer a {
	color: #2271b1;
	text-decoration: none;
}
.snx-admin-footer a:hover {
	text-decoration: underline;
}
