/* Smart PDF Viewer Premium Styles */
.spdf-container {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin: 16px 0;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
	overflow: hidden;
	transition: all 0.3s ease;
}

.spdf-container:hover {
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.07);
	border-color: #cbd5e1;
}

.spdf-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	gap: 16px;
	flex-wrap: wrap;
	background: #f8fafc;
}

.spdf-file-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-grow: 1;
	min-width: 200px;
}

.spdf-icon {
	color: #ef4444; /* PDF Red */
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.spdf-title {
	font-weight: 600;
	color: #0f172a;
	font-size: 14.5px;
	line-height: 1.4;
	word-break: break-all;
}

.spdf-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.spdf-btn {
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 5px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.spdf-btn-view {
	background: #0E1F5E; /* Theme Navy Blue */
	color: #ffffff !important;
}

.spdf-btn-view:hover {
	background: #09143D;
	transform: translateY(-1px);
}

.spdf-btn-download {
	background: #f1f5f9;
	color: #334155 !important;
	border-color: #cbd5e1;
}

.spdf-btn-download:hover {
	background: #e2e8f0;
	color: #0f172a !important;
	transform: translateY(-1px);
}

.spdf-preview {
	display: none;
	border-top: 1px solid #e2e8f0;
	background: #f1f5f9;
	padding: 12px;
}

.spdf-preview-frame {
	width: 100%;
	height: 600px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
}

@media (max-width: 600px) {
	.spdf-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.spdf-actions {
		width: 100%;
		justify-content: flex-start;
	}
	.spdf-btn {
		flex-grow: 1;
		justify-content: center;
	}
}
