/* CSS COMUNE */

:root {
	--dimesion: 95%;
	--system: rgb(168, 41, 32, 0.9);
	--font-main: Roboto, Geneva, Tahoma, sans-serif;
	--bubble-color: #c04646e8;
	--bubble-color-op: rgb(219 219 219);
	--oraInvio: #a79e9e;
	--testoMessaggio: white;
	--input-height: 2.5rem;
	--input-padding: 0.5rem;
	--btn-bg-color: rgb(73, 184, 0);
	--btn-bg-hover: rgb(60, 150, 0);
	--btn-padding: 0.8rem 1.5rem;
	--container-padding: 2rem;
	--container-bg: #fff;
	--container-radius: 10px;
	--box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none; /* mostra il loader di default */
}

.loader {
  width: 64px;
  height: 64px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}




dialog {
    display: flex;
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    width: inherit;
    min-width: 100%;
    height: inherit;
    min-height: 100%;
    padding: 0;
    border: 0;
    backdrop-filter: blur(0.375rem);
    background-color: rgba(232, 234, 237, 0.75);
    color
    : #373c44;
}
dialog article {
    width: 35%;
    max-height: calc(100vh - 1rem * 2);
    margin: 1rem;
    overflow: auto;
    background: white;
    border-radius: 10px;
}
dialog article>footer {
    text-align: right;
    margin: 1rem;
}
@media ( max-width : 480px) {	
	dialog article{
		width: 80%;
	}
}

/* FINE CSS COMUNE */

