.modal-overlay {
	align-items: center;
	background: rgba(0,0,0,.5);
	display: none;
	inset: 0;
	justify-content: center;
	opacity: 0;
	overflow: hidden;
	position: fixed;
	transition: opacity .3s ease;
	z-index: 100;
}

.modal-overlay.show {
	opacity: 1;
}

.modal {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,.2);
	max-height: 94vh;
	overflow-y: auto;
	padding: 22px 20px;
	transform: scale(.95);
	transition: transform .3s ease;
	z-index: 101;
}

.modal-overlay.show .modal {
	transform: scale(.98);
}

.modal h2 {
	font-size: 20px;
	margin: 0 0 8px;
}

.modal p {
	line-height: 1.5;
	margin: 0 0 12px;
}

.modal .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.modal-overlay .btn {
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	padding: 8px 14px;
}

.modal-overlay .btn-close {
	background: #e0e0e0;
	border: none;
	box-shadow: none;
	outline: none;
}

.modal .small {
	align-items: center;
	color: #555555;
	display: flex;
	font-size: 13px;
	gap: 8px;
	margin-right: auto;
}