/*
 # ########*###########################
 Autor: José Luis Rodriguez
 Mail: jrodriguez@bincodex.com
 Web: https://bincodex.com
 Fecha: 2026-07-18 06:42:37
 Archivo: 01-dialog.css
 Codificación: UTF-8
 Editado en: Kate 25.04.3
 ####################################
 */



/*Dialog*/
dialog {
  border: none;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 320px;
}

dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0; /* Elimina el margen por defecto */
}

.checkmark-green {
	font-size: 3em;
	color: #005500;
	justify-content: center;
	align-items: center;
	border: 1px solid #005500;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	margin: 0 auto;
	display: none;
}

.alert-red {
	font-size: 3em;
	color: #aa0000;
	display: none;
	justify-content: center;
	align-items: center;
	border: 1px solid #aa0000;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	margin: 0 auto;
}

.process-loading {
	font-size: 3em;
	color: #0055ff;
	display: none;
	justify-content: center;
	align-items: center;
	border: 1px solid #0055ff;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	margin: 0 auto;
	animation: spin 1s linear infinite;
}

#dlg-tit, #dlg-sti, .actions {
	text-align: center;
	font-size: 1.2em;
}

#dlg-tit {
	font-size: 1.5em;
}

#dlg-sti {
	font-size: 1em;
	margin-bottom: 30px;
}

#dlg-btn {
	font-size: 1.1em;
	color: #fff;
	font-weight: bold;
	background: linear-gradient(to bottom, rgba(37,249,79,1) 0%,rgba(0,110,46,1) 97%,rgba(0,110,46,1) 97%);
	border: 0px;
	padding: 10px;
	min-width: 200px;
	border-radius: 8px;
}

#dlg-btn:focus-visible {
	outline: 0px;
}

.actions {
	padding: 5px;
}

/* El fondo detrás del modal */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px); /* Efecto de desenfoque */
}
