.indexedy-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}
.indexedy-card {
	background: #fff;
	padding: 20px;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
	border-radius: 4px;
	transition: box-shadow 0.2s;
}
.indexedy-card:hover {
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.indexedy-card h3 { 
	margin-top: 0; 
	margin-bottom: 10px;
	color: #50575e; 
	font-size: 13px; 
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.indexedy-stat-value { font-size: 32px; font-weight: bold; color: #1d2327; line-height: 1.2; }
.text-success { color: #00a32a; }
.text-danger { color: #d63638; }
.indexedy-main-table {
	background: #fff;
	padding: 20px;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
	border-radius: 4px;
}
.indexedy-main-table h2 {
	margin-top: 0;
	margin-bottom: 15px;
}

.indexedy-badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
}
.indexedy-indexed { background: #edfaef; color: #00a32a; }
.indexedy-not-indexed { background: #fbeaea; color: #d63638; }
.indexedy-unknown { background: #f0f0f1; color: #646970; }
.indexedy-error { background: #fbeaea; color: #d63638; border: 1px solid #d63638; }
.indexedy-reason { font-size: 10px; color: #666; margin-top: 4px; }
.indexedy-spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid #2271b1; border-radius: 50%; border-top-color: transparent; animation: indexedy-spin 1s linear infinite; }
@keyframes indexedy-spin { to { transform: rotate(360deg); } }

.indexedy-small-link { font-size: 11px; color: #646970; }
.indexedy-check-btn { width: 100px; }

/* Filter form styles */
.indexedy-filter-group {
	display: inline-flex;
	align-items: center;
	margin-right: 15px;
	vertical-align: middle;
}

.indexedy-filter-label {
	display: inline-block;
	margin-right: 6px;
	font-weight: 500;
	color: #1d2327;
	white-space: nowrap;
	vertical-align: middle;
}

.indexedy-filter-select {
	display: inline-block;
	vertical-align: middle;
	min-width: 150px;
}

.tablenav .alignleft.actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* Search Input Styles */
.indexedy-search-input {
	width: 200px;
	padding: 4px 8px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.5;
}

.indexedy-search-input:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.indexedy-search-clear {
	cursor: pointer;
	margin-left: 5px;
	font-size: 18px;
	color: #646970;
	font-weight: bold;
	line-height: 1;
	vertical-align: middle;
}

.indexedy-search-clear:hover {
	color: #d63638;
}

/* Pagination Styles (scoped to Indexedy screens only) */
.indexedy-wrap .tablenav-pages {
	display: flex;
	align-items: center;
	gap: 10px;
}

.indexedy-wrap .tablenav-pages .displaying-num {
	margin-right: 10px;
	color: #646970;
	font-size: 13px;
}

.indexedy-wrap .tablenav-pages .pagination-links {
	display: inline-flex;
	gap: 5px;
	align-items: center;
}

.indexedy-wrap .tablenav-pages .pagination-links a,
.indexedy-wrap .tablenav-pages .pagination-links span {
	display: inline-block;
	padding: 4px 8px;
	min-width: 24px;
	text-align: center;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	text-decoration: none;
	color: #2c3338;
	font-size: 13px;
	line-height: 1.5;
}

.indexedy-wrap .tablenav-pages .pagination-links a:hover {
	border-color: #2271b1;
	color: #2271b1;
	background: #f0f6fc;
}

.indexedy-wrap .tablenav-pages .pagination-links .current {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

.indexedy-wrap .tablenav-pages .pagination-links .disabled {
	color: #c3c4c7;
	cursor: default;
	border-color: #dcdcde;
}

.indexedy-wrap .tablenav-pages .pagination-links .disabled:hover {
	border-color: #dcdcde;
	background: transparent;
	color: #c3c4c7;
}

/* Chart Tabs */
.indexedy-chart-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 0;
}

.indexedy-chart-tab {
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #646970;
	transition: all 0.2s;
	margin-bottom: -2px;
}

.indexedy-chart-tab:hover {
	color: #2271b1;
	background: #f0f6fc;
}

.indexedy-chart-tab.active {
	color: #2271b1;
	border-bottom-color: #2271b1;
	font-weight: 600;
	background: transparent;
}

/* Admin Menu Icon */
#toplevel_page_indexedy .wp-menu-image img,
#toplevel_page_indexedy .wp-menu-image svg {
	padding: 5px 0 0 0;
	opacity: 1;
}

/* How To Page Styles */
.indexedy-card code {
	background: #f0f0f1;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
	font-size: 13px;
}

.indexedy-card a {
	color: #2271b1;
	text-decoration: none;
}

.indexedy-card a:hover {
	text-decoration: underline;
}

.nav-tab-wrapper {
	margin-bottom: 0;
}

/* Post Types Selector Styles */
.indexedy-post-types-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px;
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	max-width: 600px;
}

.indexedy-post-type-checkbox {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
}

.indexedy-post-type-checkbox:hover {
	border-color: #2271b1;
	background: #f0f6fc;
}

.indexedy-post-type-checkbox.selected {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
}

.indexedy-post-type-checkbox input[type="checkbox"] {
	margin: 0;
	margin-right: 8px;
	cursor: pointer;
}

.indexedy-post-type-checkbox.selected input[type="checkbox"] {
	accent-color: #fff;
}

.indexedy-post-type-checkbox label {
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	margin: 0;
}

.indexedy-post-type-checkbox.selected label {
	color: #fff;
}

.indexedy-post-types-help {
	margin-top: 8px;
	color: #646970;
	font-size: 12px;
}

.indexedy-select-actions {
	margin-top: 8px;
}

.indexedy-select-actions a {
	margin-right: 10px;
	font-size: 12px;
	cursor: pointer;
	text-decoration: none;
}