body {
    padding-top: 90px;
    /*padding-bottom: 20px;*/
}

/* Gestione responsive del titolo */
@media (max-width: 992px) {
    .navbar-text h2 {
        font-size: 1.5rem; /* Titolo più piccolo su mobile */
    }
}

#spinner-front:not(.show), #spinner-back:not(.show) {
    display: none;
}


#spinner-front, #spinner-back {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    transition: all 200ms;
}

#spinner-front {
    z-index: 999;
    margin-top: 45vh;
    color: #fff;
    text-align: center;
}

#spinner-back {
    z-index: 998;
    height: 100vh;
    background: #000;
}

#spinner-front.show {
    visibility: visible !important;
    opacity: 1 !important;
}

#spinner-back.show {
    visibility: visible !important;
    opacity: 0.7 !important;
}
.dx-tooltip-content {
    white-space: normal; /* testo a capo */
    font-size: large;
}

.btn.btn-primary.devextreme-mode{
    background-color: #337ab7;
    border-color: transparent;
    color: #fff;
}



.btn.btn-danger.devextreme-mode{
    background-color: #a52834;
    border-color: transparent;
    color: #fff;
}

.btn.btn-success.devextreme-mode{
    background-color: #13653f;
    border-color: transparent;
    color: #fff;
}

div#import-progress {
    position: absolute;
    top: 50%;
    width: 80%;
    left: 10%;
    z-index: 999;
}

.progress-container {
    margin-top: 1rem;
    width: 100%;
   /* max-width: 600px;*/
}

.progress {
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    height: 24px;
}

.progress-bar, #progress-bar {
    background-color: #045288; /* colore base */
    height: 100%;
    width: 0%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    transition: width 0.4s ease;
}

.progress-bar.error {
    background-color: #b73333; /* variante rossa in caso di errore */
}

.progress-bar.complete {
    background-color: #33b77a; /* variante verde al termine */
}

#progress-label{
    color:white;
    /*font-weight: bold;*/
}

a.dx-button.dx-button-mode-contained.dx-button-normal{
    text-decoration: none;
}


/*.form-select{
     background-image: url("icons/down-arrow.svg") !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3e%3cpath fill='%23343a40' d='M0 0h10L5 6z'/%3e%3c/svg%3e") !important;
    background-size: 13px !important;
}

.dx-dropdowneditor-icon::before {
    content: url("icons/down-arrow.svg") !important;
    width: 13px !important;
}*/

ul.validation-error {
    color: #b73333;
    font-weight: 600;
}

#dxCardFunzione {

    padding-top: 20px;
}

td.dx-editor-cell.dx-validator.dx-datagrid-validator.dx-datagrid-invalid {
    border: 2px solid red;
}