/* sk-dialogs.css — estilos de los diálogos propios (ver js/sk-dialogs.js) */

.sk-dialog-fondo {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	padding: 1rem;
}

.sk-dialog {
	background: #fff;
	border-radius: .5rem;
	box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .3);
	width: 100%;
	max-width: 26rem;
	overflow: hidden;
}

.sk-dialog-titulo {
	font-weight: 600;
	padding: .9rem 1.1rem;
	border-bottom: 1px solid #dee2e6;
}

.sk-dialog-mensaje {
	padding: 1.1rem;
	line-height: 1.5;
	max-height: 60vh;
	overflow-y: auto;
}

.sk-dialog-input {
	margin-top: .75rem;
}

.sk-dialog-botones {
	padding: .75rem 1.1rem;
	border-top: 1px solid #dee2e6;
	display: flex;
	justify-content: flex-end;
	gap: .5rem;
	background: #f8f9fa;
}

@media (prefers-color-scheme: dark) {
	.sk-dialog { background: #212529; color: #f8f9fa; }
	.sk-dialog-titulo, .sk-dialog-botones { border-color: #495057; }
	.sk-dialog-botones { background: #2b3035; }
}
