/* SLAB Certificate Manager Base Styles */

.slab-cert-container {
	max-width: 1200px;
	margin: 20px auto;
}

.slab-cert-filters {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.slab-cert-filter-row {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.slab-cert-filter-row input,
.slab-cert-filter-row select {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	flex: 1;
	min-width: 200px;
}

.slab-cert-filter-row button {
	padding: 10px 25px;
	background: #007cba;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.slab-cert-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.slab-cert-item {
	background: #fff;
	border: 1px solid #eee;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	transition: transform 0.2s;
}

.slab-cert-item:hover {
	transform: translateY(-5px);
}

.slab-cert-item h3 {
	margin-top: 0;
}

.slab-badge {
	display: inline-block;
	background: #e1f0ff;
	color: #007cba;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 12px;
	margin-right: 5px;
}

.slab-view-btn {
	display: inline-block;
	margin-top: 15px;
	background: #333;
	color: #fff;
	padding: 8px 15px;
	text-decoration: none;
	border-radius: 4px;
}

/* Single View Styles */

.slab-cert-single-wrap {
	padding: 50px 0;
}

.slab-cert-header {
	margin-bottom: 40px;
	text-align: center;
}

.slab-cert-logo img {
	max-height: 100px;
	margin-bottom: 20px;
}

.status-badge, .cat-badge {
	background: #eee;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: bold;
	margin: 0 5px;
}

.status-badge { background: #d4edda; color: #155724; }

.slab-cert-content-grid {
	display: flex;
	gap: 40px;
}

.slab-cert-sidebar {
	flex: 1;
	max-width: 350px;
}

.slab-cert-main {
	flex: 2;
}

.slab-info-card {
	background: #fdfdfd;
	border: 1px solid #eee;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
}

.slab-info-card h3 { margin-top: 0; }

.slab-scopes-table {
	width: 100%;
	border-collapse: collapse;
}

.slab-scopes-table th,
.slab-scopes-table td {
	padding: 12px;
	border: 1px solid #eee;
	text-align: left;
}

.slab-scopes-table th { background: #f9f9f9; }

.slab-download-link {
	color: #d32f2f;
	font-weight: bold;
}
