/* Shared confirm dialog — site-wide */
.app-confirm-overlay {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 10, 10, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.app-confirm-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.app-confirm-box {
	width: 100%;
	max-width: 400px;
	background: #fff;
	color: #0a0a0a;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	transform: translateY(10px) scale(0.98);
	transition: transform .2s ease;
	overflow: hidden;
}

.app-confirm-overlay.is-open .app-confirm-box {
	transform: translateY(0) scale(1);
}

.app-confirm-body {
	padding: 22px 22px 8px;
}

.app-confirm-title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.app-confirm-message {
	margin: 0;
	font-size: .92rem;
	line-height: 1.5;
	color: #444;
	white-space: pre-line;
}

.app-confirm-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 22px 20px;
}

.app-confirm-btn {
	min-width: 88px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: background .15s, border-color .15s, color .15s;
}

.app-confirm-btn--no {
	background: #fff;
	color: #333;
	border-color: #e5e5e5;
}

.app-confirm-btn--no:hover {
	background: #f5f5f5;
	border-color: #ccc;
}

.app-confirm-btn--yes {
	background: #0b3d5c;
	color: #fff;
	border-color: #0b3d5c;
}

.app-confirm-btn--yes:hover {
	background: #0a334d;
	border-color: #0a334d;
}

.app-confirm-btn:focus-visible {
	outline: 2px solid #0b3d5c;
	outline-offset: 2px;
}
