:root {
    --primary: #000;
    --secondary: #ff6f00;
    --tertiary: rgb(30, 30, 30);
    --quaternary: white;
}

body {
    background-color: var(--primary) !important;
}

label{
    color: var(--quaternary) !important;
}

.btn.button-custom.bottone-carrello.mt-3 {
    width: 3rem;
    background-color: var(--secondary) !important;
}

.colore-testo{
    color: var(--primary);
}

#footer {
    margin-top: 5rem;
    cursor: pointer;
}

#footerImg {
    height: 4rem;
    width: auto;
}

.color-nav {
    background-color: var(--primary) !important;
}

.img-fluid {
    width: 15rem;
}

.font-form {
    font-weight: 600;
}

.button-custom {
    width: 9rem;
    background-color: var(--quaternary) !important;
    color: var(--secondary) !important;
}
#svuotaFiltri {
    width: 9rem;
    background-color: indianred !important;
    color: white !important
}

.seconda-nav {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--secondary) !important
}

.swal-button--confirm {
    background-color: var(--primary) !important
}

/* Stile personalizzato per il contenitore del modale */
.swal2-popup {
    width: auto !important;
    max-width: 90% !important;
}

/* Stile personalizzato per il form */
.custom-form {
    background-color: var(--primary);
    padding: 1.25rem;
    border-radius: 0.3125rem;
}

/* Stile personalizzato per la griglia dei campi */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

/* Stile personalizzato per le colonne del form */
.form-column {
    margin-bottom: 0.625rem;
}

/* Stile personalizzato per le etichette del form */
.custom-form label {
    display: block;
    margin-bottom: 0.3125rem;
    font-weight: bold;
}

.custom-input:read-only {
    text-align: center;
    text-transform: uppercase;
    border-bottom: 7px solid var(--secondary) !important;
    background-color: #1f459e1f !important;
}

.custom-input::placeholder {
    color: var(--quaternary) !important; /* Colore del placeholder */
    font-style: italic; /* Opzionale: stile del testo */
  }

.custom-input {
    text-align: center;
    text-transform: uppercase;
    border-bottom: 7px solid var(--secondary) !important;
    background-color: #1f459e1f !important;
}

.titoliSwall {
    color: var(--quaternary);
}

.filtro-comparti {
    background-color: var(--quaternary) !important;
    color: var(--primary) !important;
    text-transform: uppercase !important;
    margin-top: 1rem !important;
}

select[disabled] option {
    display: none;
}

.forma-toggle {
    width: 3rem;
    height: 1.5rem;
}

.distanza-testo-toggle {
    font-size: 1.1rem;
}

.swal-error {
    border: 0.4rem solid red;
    border-radius: 1rem;
}

.swal-button--confirm[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.seleziona {
    min-width: 20rem;
    max-width: 50rem;
}

#destinazCli {
    text-align: center;
    text-align-last: center;
}

.icona-pag-prodotti {
    width: 3.5rem;
    padding: 1rem 0.4rem 1rem 0.4rem;
    margin-top: -1rem;
    margin-bottom: -1rem;
}

.visualizzazioneP {
    padding-right: 0 !important;
    padding-left: 0 !important;
    border: none !important;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 10rem;
    height: 10rem;
    z-index: 999999999;
    position: sticky;
    color: var(--primary);
}

.posiz-bott-sconto2 {
    margin-left: 1rem;
}

.sconti-tabella {
    display: flex;
    background: linear-gradient(to bottom, #d3362d 0%, #e57368 100%);
    border: none;
    border-radius: 2rem;
    color: #fff;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: space-around;
    font-weight: 600;
}

.sconti2-tabella {
    display: flex;
    background: linear-gradient(to bottom, #05c205 0%, #04d204 100%);
    border: none;
    border-radius: 2rem;
    color: #fff;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: space-around;
    font-weight: 600;
}

#cardBtn {
    background: var(--quaternary);
    width: 3rem;
}

#tabBtn {
    background: var(--quaternary);
    width: 3rem;
}

#bottoniVisual {
    background: var(--quaternary);
    border-radius: 0;
}

.bottone-carrello {
    background-color: var(--secondary) !important;
}

.icona-carrello {
    width: 1.4rem;
}

.cerchio-carrello {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 1rem;
    background-color: var(--secondary);
    margin-right: 2rem;
    font-size: 0.8rem;
}

[class^="stile-bottone-"] {
    background-image: ghostwhite;
    border: 2px solid #000;
    color: #000;
    transition: all 0.4s ease;
    border-radius: 1rem;
}

.carrello {
    background: #0A3599 !important;
}

.cestino {
    background: rgb(198, 0, 0);
}

h6 {
    font-weight: 200 !important;
}

#nomeAgente, #nomeCliente{
    font-weight: 800;
}

.profilo-utente{
    width: 1.3rem;
}

.blocco-sede-legale{
    border: 2px solid black;
}

.disabilita{
    pointer-events: none; /* Impedisce interazioni utente */
    opacity: 0.5; /* Opacità ridotta */
}

.stato-ord{
    cursor: pointer;
}

.icona-back{
    width: 2rem;
    cursor: pointer;
}

.posizione-icona-back{
    width: 13rem !important;
}

.dropdown-menu.show {
    z-index: 9999 !important;
}

.estratto-conto, .downDoc{
    cursor: pointer;
}

.btnInsideProdCard, .btnOpenDoc{
    background-color: var(--secondary) !important;
    color: var(--quaternary) !important;
}

#procedi{
    background-color: var(--secondary) !important;
    color: var(--quaternary) !important;
    border: none
}