.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 1rem;
}

.modal-overlay.is-active {
	display: flex;
}

.modal {
	background: white;
	border-radius: 16px;
	width: 100%;
	max-width: 600px;
	max-height: 80vh;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	transform: scale(0.95);
	transition: transform 0.2s ease;
}

.modal-overlay.is-active .modal {
	transform: scale(1);
}

.modal-header {
	padding: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.close-button {
	background: none;
	border: none;
	padding: 0.5rem;
	border-radius: 6px;
	cursor: pointer;
	color: #64748b;
	transition: all 0.2s ease;
}

.close-button:hover {
	background-color: #f1f5f9;
	color: #334155;
}

.close-button:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.modal-body {
	padding: 1.5rem;
	max-height: 60vh;
	overflow-y: auto;
}

.pdf-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pdf-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
	color: inherit;
}

.pdf-item:hover {
	border-color: #3b82f6;
	background-color: #f8fafc;
}

.pdf-item:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.pdf-icon {
	width: 24px;
	height: 24px;
	background-color: #dc2626;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 0.6rem;
}

.pdf-info {
	flex: 1;
}

.pdf-name {
	font-size: 15px;
	color: #1e293b;
	margin-bottom: 0.25rem;
}

.pdf-meta {
	font-size: 0.875rem;
	color: #64748b;
}

.download-icon {
	color: #64748b;
	transition: color 0.2s ease;
}

.pdf-item:hover .download-icon {
	color: #3b82f6;
}

.empty-state {
	text-align: center;
	padding: 2rem;
	color: #64748b;
}

.empty-state-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	opacity: 0.5;
}

@media (max-width: 640px) {
	.modal {
		margin: 1rem;
		max-height: 90vh;
	}

	.modal-header {
		padding: 1rem;
	}

	.modal-body {
		padding: 1rem;
	}
}
