﻿/*-------------------------------------------------------------------------------*/
/* elementi di stile generali per la finestra dell'applicativo */
/*-------------------------------------------------------------------------------*/

html, body {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}

input[type="checkbox"] {
    accent-color: var(--navBarA); /* Cambia il colore del segno di spunta */
}

input[type="radio"] {
    accent-color: var(--navBarA); /* Cambia il colore del pallino selezionato */
}

/*errore mobile*/
.mobileErrContainer {
    background-color: red;
    justify-content: center;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: auto;
    z-index: 9;
}


/* sfondo dell'app e colore standard del testo */
body {
    background-color: var(--baseBg) !important;
    color: var(--baseColor);
}

/* tasto download */
.downloadButton {
    background-color: var(--navBarA);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: fixed;
    top: 100px;
    right: 100px;
    z-index: 999;
    width: auto;
    height: auto;
}
    .downloadButton:hover {
        background-color: white;
        color: var(--navBarA);
    }


/* finestra dati progetto */
.projectDataWin {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 700px;
    height: auto;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* stile maschera di caricamento */
.loading-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    height: 150px;
    width: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* impostazioni per elementi relativi al messaggio sulle dimensioni del display */
.toSmallMsg {
    justify-content: center;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--navBarC);
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    z-index: 9;
}
.close{
    position:absolute;
    top:10px;
    right:20px;
    color:white;
    height:25px;
    width:25px;
    border-radius:5px;
}
    .close:hover {
        background-color: white;
        color: var(--navBarC);
    }

/*input da tenere nascosto pe raprire un progetto*/
#docToOpen {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

