.pdf-search-grid-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	padding: 20px;
	background-color: #fcfdfe;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block !important;
}

.pdf-filters-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
	width: 100%;
}

.pdf-search-box {
	width: 100%;
}

.pdf-search-input {
	width: 100%;
	max-width: 100%;
	padding: 14px 20px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 16px;
	outline: none;
	transition: all 0.2s ease;
	background-color: #ffffff;
	box-sizing: border-box;
}

.pdf-search-input:focus {
	border-color: #cbd5e1;
	box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.5);
}

.pdf-categories-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

.pdf-filter-tab {
	background: #ffffff;
	border: 1.5px solid #2d3748;
	border-radius: 6px;
	color: #2d3748;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.pdf-filter-tab.is-active,
.pdf-filter-tab:hover {
	background-color: #1a202c;
	color: #ffffff;
	border-color: #1a202c;
}

.pdf-grid-active-category-title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #1a202c;
	margin-bottom: 20px;
	text-transform: uppercase;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 10px;
}

.pdf-cards-grid {
	display: grid;
	gap: 20px;
	width: 100% !important;
	box-sizing: border-box;
}

.pdf-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	min-width: 0; /* Prevents overflow inside grid */
}

.pdf-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
	border-color: #cbd5e1;
}

.pdf-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.pdf-card-date {
	font-size: 12px;
	color: #718096;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	font-weight: 500;
}

.pdf-date-icon svg {
	display: block;
	fill: #718096;
}

.pdf-view-btn {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	background-color: #1a202c;
	color: #ffffff;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	gap: 6px;
	margin-bottom: 12px;
	transition: background-color 0.2s ease;
	flex-shrink: 0;
}

.pdf-view-btn:hover {
	background-color: #2d3748;
	color: #ffffff;
}

.pdf-btn-icon svg {
	display: block;
}

.pdf-card-detail {
	font-size: 12px;
	color: #718096;
	display: flex;
	align-items: center;
	gap: 5px;
}

.pdf-detail-arrow {
	font-weight: bold;
}
