
body {
    color: var(--company-color-accent);
    font-weight: bold;
}

li {
    color: var(--company-color-external-action);  
    font-weight: normal;
    text-decoration: none;
}

span {
    color: var(--company-color-external-action);
    font-weight: normal;
    text-decoration: none;
}

input {
    color: var(--company-color-external-action);
    font-weight: normal;
    text-decoration: none;
}

a[href="#TOP"] {
  color: var(--company-color-accent);
  font-weight: bold;
}


/* OLD
img.companyLogo {
content: url($"../imgs/logoAzienda.png");
}
*/

/* tasti */
input[type="button"],
input[type="submit"] {
  display: inline-block;
  padding: 10px 18px;
  font-weight: bold;
  color: var(--company-color-primary-action);
  border: none;
  border-radius: 8px;               /* angoli arrotondati */
  cursor: pointer;
  transition: all 0.2s ease-in-out; /* animazioni fluide */
  box-shadow: 0 2px 5px var(--company-color-external-action);
}
/* effetto hover (passaggio del mouse) */
    input[type="button"]:hover,
    input[type="submit"]:hover {
        box-shadow: 0 3px 8px var(--company-color-external-action);
    }
/* effetto click (pressione) */
    input[type="button"]:active,
    input[type="submit"]:active {
        transform: scale(0.98); /* leggera compressione */
        box-shadow: 0 1px 4px var(--company-color-external-action);
    }
#copyTextButton, #selectAllTextButton {
    border-radius: 10%;
}
#copyTextButton::before {
    content: "";
    display: inline-block;
    width: 27px;
    height: 27px;
    background-image: url('/_SharedCompany/imgs/copyText.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
    #selectAllTextButton::before {
        content: "";
        display: inline-block;
        width: 27px;
        height: 27px;
        background-image: url('/_SharedCompany/imgs/selectAllText.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

.buttonCopy {
    /* piccolo offset dentro il bordo */
    width: 40px;
    height: 40px;
    border: 0px solid var(--company-neutral-muted);
    background-size: contain;
}

.fup-move-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

.fup-move-controls select {
    min-width: 220px;
    margin-left: 6px;
    padding: 8px;
}

.fup-move-status.success {
    color: var(--company-color-external-action);
    font-weight: 700;
}

.fup-move-status.error {
    color: var(--company-color-primary-action-dark);
    font-weight: 700;
}

/* checkbox */
input[type="checkbox"] {
  appearance: none;            /* rimuove lo stile di default */
  -webkit-appearance: none;    /* compatibilità Safari */
  width: 18px;
  height: 18px;
  border: 2px solid var(--company-neutral-disabled);
  border-radius: 6px;          /* 🔹 più alto = più arrotondato */
  background-color: var(--company-color-surface);
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.2s ease;
}
/*se checkbox selezionata */
input[type="checkbox"]:checked {
  background-color: var(--company-color-accent);
}
input[type="checkbox"]:disabled {
  background-color: var(--company-neutral-disabled);
  border-color: var(--company-neutral-disabled);
  cursor: not-allowed;
  opacity: 0.7;
}
    input[type="checkbox"]:disabled:checked {
        background-color: var(--company-color-navigation-soft); /* chiara canc versione più chiara di var(--company-color-accent) */
        border-color: var(--company-color-accent-dark); /* chiara canc versione più scura per il bordo */
    }
input[type="checkbox"]:hover:not(:disabled) {
  border-color: var(--company-color-focus); /*chiara canc*/
}


/* caselle di testo, aree di testo e menu a tendina */
input[type="text"],
input[type="file"],
textarea,
select {
  padding: 8px 12px;
  border: 1px solid var(--company-neutral-border);
  border-radius: 8px;              /* angoli arrotondati */
  background-color: var(--company-surface-soft);
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}
/* effetto al passaggio del mouse */
    input[type="text"]:hover,
    textarea:hover,
    select:hover {
        border-color: var(--company-neutral-muted);
        background-color: var(--company-color-surface); /*chiara canc*/
    }
/* effetto focus (quando il campo è attivo) */
    input[type="text"]:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: var(--company-color-focus); /*chiara canc*/
        box-shadow: 0 0 5px var(--company-info-shadow);
        background-color: var(--company-color-surface); /*chiara canc*/
    }
/* dimensione dinamica delle textarea in orizzontale */
textarea {
  width: 100%;           /* Si allarga alla dimensione del contenitore */
  max-width: 100%;       /* Impedisce che superi i bordi */
  min-width: 300px;      /* Limite minimo se la finestra è molto stretta */
  box-sizing: border-box; /* Include padding e border nella larghezza */
  /* resize abilitato */
}
