.modal-dialog-required {
  color: #dc3545;  
}
/* ---------- Modale - Operazione eseguita con Successo - Begin ---------- */ 
#id_02_modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
    text-align: center;
    padding: 30px 20px;
  }
  
  .id_02_modal-success-icon-container {
    margin-bottom: 20px;
  }
  
  .id_02_modal-success-icon {
    width: 70px;
    height: 70px;
    background-color: #4CD964;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  .id_02_modal-success-icon i {
    font-size: 30px;
    color: white;
  }
  
  #id_02_modal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  #id_02_modal p {
    color: #6c757d;
    margin-bottom: 20px;
  }
  
  #id_02_modal .btn-success {
    background-color: #17a46d;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    min-width: 120px;
  }
  
  #id_02_modal .btn-success:hover {
    background-color: #138a5c;
  }
  /* ---------- Modale - Operazione eseguita con Successo - End ---------- */
  
  /* ---------- Modale - Aggiungi Lead - Begin ---------- */
  #id_03_modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
  }
  
  #id_03_modal .modal-header {
    padding: 15px 20px;
  }
  
  #id_03_modal .modal-title {
    font-weight: 600;
  }
  
  #id_03_modal .modal-body {
    padding: 20px;
  }
  
  #id_03_modal .form-control {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    font-size: 14px;
  }
  
  #id_03_modal .form-control::placeholder {
    color: #adb5bd;
  }
  
  #id_03_modal .col-form-label {
    font-weight: 500;
    font-size: 14px;
  }
  
  #id_03_modal .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: none;
  }
  
  #id_03_modal_btnAggiungiLead {
    background-color: #ff3366;
    border: none;
    border-radius: 5px;
    font-weight: 500;
  }
  
  #id_03_modal_btnAggiungiLead:hover {
    background-color: #e62e5c;
  }
  
  .id_03_modal-dropdown-stato {
    position: absolute;
    margin-top: 5px;
    padding: 0;
    border: 1px solid #ddd;
    list-style: none;
    background-color: white;
    width: calc(100% - 15px);
    z-index: 1000;
  }
  
  .id_03_modal-dropdown-stato li {
    padding: 10px;
    cursor: pointer;
  }
  
  .id_03_modal-dropdown-stato li:hover {
    background-color: #f0f0f0;
  }

  .id_03_modal-btn-seleziona-file {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 0.8rem;
    cursor: pointer;
  }
  
  .id_03_modal-btn-seleziona-file:hover {
    background-color: #0069d9;
  }
  
  /* Modale - Aggiungi Lead - End */
  
  /* Modale - Modifica Stato Lead - id_01_modal - Begin */
  #id_01_modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
  }
  
  #id_01_modal .modal-header {
    border-bottom: none;
  }
  
  #id_01_modal .modal-title {
    font-size: 0.8rem;
  }
  
  #id_01_modal .btn-close {
    font-size: 0.8rem;
  }
  
  #id_01_modal .text-uppercase {
    font-size: 0.7rem;
    color: #6c757d;
  }
  
  .id_01_modal-option {
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .id_01_modal-option:hover {
    background-color: rgba(0,0,0,0.05);
  }
  
  #id_01_modal_btnSalvaModifiche {
    background-color: #ff3366;
    border: none;
  }
  
  #id_01_modal_btnSalvaModifiche:hover {
    background-color: #e62e5c;
  }

  .id_01_modal_check {
    color: #DC3545 !important;
  }

  
  .id_01_modal_label {
    color: #6c757d;
    font-size: small;
  }
  
  #id_01_modal_rifDocumento::placeholder {
    color: #ccc;
    opacity: 1;
  }
  #id_01_modal_totVendita::placeholder {
    color: #ccc;
    opacity: 1;
  }  

  /* Modale - Modifica Stato Lead - End */
  
  /* Modale - Modifica Lead - Begin */
  #id_04_modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
  }
  
  #id_04_modal .modal-header {
    border-bottom: none;
  }
  
  .id_04_modal-btn-seleziona-file {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 0.8rem;
    cursor: pointer;
  }
  
  .id_04_modal-btn-seleziona-file:hover {
    background-color: #0069d9;
  }
  
  #dropdown-prodotto, #dropdown-assegna, #dropdown-stato-avanzamento {
    position: absolute;
    margin-top: 5px;
    padding: 0;
    border: 1px solid #ddd;
    list-style: none;
    background-color: white;
    width: calc(100% - 15px);
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  #dropdown-prodotto li, #dropdown-assegna li, #dropdown-stato-avanzamento li {
    padding: 10px;
    cursor: pointer;
  }
  
  #dropdown-prodotto li:hover, #dropdown-assegna li:hover, #dropdown-stato-avanzamento li:hover {
    background-color: #f0f0f0;
  }
  
  .id_04_modal-filename-container {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
  }
  
  .dropdown-menu-up {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 5px;
  }
  
  #dropdown-stato-avanzamento {
    display: none;
    position: absolute;
    z-index: 1050 !important; /* Valore z-index più alto */
    min-width: calc(100% - 15px);
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
    margin-top: 5px;
  }
  
  .dropdown-menu-up#dropdown-stato-avanzamento {
    bottom: 100%;
    top: auto;
    margin-bottom: 5px;
    margin-top: 0;
  }
  
  /* Posizionare correttamente il dropdown rispetto al suo contenitore */
  .input-group {
    position: relative;
  }
  
  #id_04_modal_btnSalvaLead {
    background-color: #ff3366;
    border: none;
  }
  
  #id_04_modal_btnSalvaLead:hover {
    background-color: #e62e5c;
  }
  /* Modale - Modifica Lead - End */
  
  /* ---------- Modale - Assegna Lead - Begin ---------- */ 
  #id_05_modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
  }
  
  #id_05_modal .modal-header {
    padding: 15px 20px;
  }
  
  #id_05_modal .modal-title {
    font-weight: 600;
  }
  
  .id_05_modal-utenti-list {
    max-height: 400px;
    overflow-y: auto;
  }
  
  .id_05_modal-utente-row {
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .id_05_modal-utente-row:hover {
    background-color: rgba(0,0,0,0.03);
  }
  
  .id_05_modal-select-circle {
    width: 30px;
    height: 30px;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .id_05_modal-select-circle.selected {
    background-color: #4CD964 !important;
  }
  
  #id_05_modal_btnSalvaAssegnazione {
    background-color: #ff3366;
    border: none;
  }
  
  #id_05_modal_btnSalvaAssegnazione:hover {
    background-color: #e62e5c;
  }
  /* ---------- Modale - Assegna Lead - End ---------- */

  /* ---------- Modale - Modifica Stato Lead Profile - id_06_modal - Begin ---------- */
#id_06_modal .modal-content {
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

#id_06_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_06_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_06_modal .form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}

#id_06_modal .btn-danger {
  background-color: #ff3366;
  border: none;
}

#id_06_modal .btn-danger:hover {
  background-color: #e62e5c;
}

.id_06_modal-lead-name {
  font-weight: bold;
}

.id_06_modal_label {
  color: #666666;
  font-weight: 500;
}
#id_06_modal_rifDocumento::placeholder {
  color: #ccc;
  opacity: 1;
}
#id_06_modal_totVendita::placeholder {
  color: #ccc;
  opacity: 1;
}

/* ---------- Modale - Modifica Stato Lead Profile - End ---------- */

/* ---------- Modale - Assegna Lead a Commerciale - id_07_modal - Begin ---------- */
#id_07_modal .modal-content {
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

#id_07_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_07_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_07_modal .table th {
  background-color: #fff;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: normal;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 15px;
}

#id_07_modal .table td {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
}

#id_07_modal .form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}

#id_07_modal .form-check-input {
  width: 1.5em;
  height: 1.5em;
}

#id_07_modal .btn-danger {
  background-color: #ff3366;
  border: none;
}

#id_07_modal .btn-danger:hover {
  background-color: #e62e5c;
}

.id_07_modal-lead-name {
  font-weight: bold;
}

#id_07_modal tbody tr.table-success {
  background-color: rgba(25, 135, 84, 0.1) !important;
}
/* ---------- Modale - Assegna Lead a Commerciale - End ---------- */

/* ---------- Modale - Aggiungi Utente - id_08_modal - Begin ---------- */
#id_08_modal .modal-content {
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

#id_08_modal .modal-header {
  padding: 15px 20px;
}

#id_08_modal .modal-title {
  font-weight: 600;
}

#id_08_modal .modal-body {
  padding: 20px;
}

#id_08_modal .form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 10px 15px;
  font-size: 14px;
}

#id_08_modal .form-control::placeholder {
  color: #adb5bd;
}

#id_08_modal .col-form-label {
  font-weight: 500;
  font-size: 14px;
}

#id_08_modal .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: none;
}

#id_08_modal_btnAggiungiUtente {
  background-color: #ff3366;
  border: none;
  border-radius: 5px;
  font-weight: 500;
}

#id_08_modal_btnAggiungiUtente:hover {
  background-color: #e62e5c;
}

.id_08_modal-dropdown-ruolo {
  position: absolute;
  margin-top: 5px;
  padding: 0;
  border: 1px solid #ddd;
  list-style: none;
  background-color: white;
  width: calc(100% - 15px);
  z-index: 1000;
}

.id_08_modal-dropdown-ruolo li {
  padding: 10px;
  cursor: pointer;
}

.id_08_modal-dropdown-ruolo li:hover {
  background-color: #f0f0f0;
}
/* ---------- Modale - Aggiungi Utente - End ---------- */

/* ---------- Modale - Successo - id_09_modal - Begin ---------- */
#id_09_modal .modal-content {
  border-radius: 10px; 
  border: none; 
  overflow: hidden;
}

.id_09_modal-success-icon-container {
  margin-bottom: 20px;
}

.id_09_modal-success-icon {
  width: 80px;
  height: 80px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.id_09_modal-success-icon i {
  font-size: 40px;
  color: white;
}

#id_09_modal_successTitle {
  font-weight: bold;
  margin-bottom: 15px;
}

#id_09_modal_successMessage {
  color: #6c757d;
  margin-bottom: 20px;
}

#id_09_modal .btn-success {
  background-color: #4CAF50;
  border: none;
  border-radius: 4px;
}

#id_09_modal .btn-success:hover {
  background-color: #45a049;
}
/* ---------- Modale - Successo - End ---------- */

/* ---------- Modale - Errore - id_10_modal - Begin ---------- */
#id_10_modal .modal-content {
  border-radius: 10px; 
  border: none; 
  overflow: hidden;
}

.id_10_modal-error-icon-container {
  margin-bottom: 20px;
}

.id_10_modal-error-icon {
  width: 80px;
  height: 80px;
  background-color: #f44336;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.id_10_modal-error-icon i {
  font-size: 40px;
  color: white;
}

#id_10_modal_errorTitle {
  font-weight: bold;
  margin-bottom: 15px;
}

#id_10_modal_errorMessage {
  color: #6c757d;
  margin-bottom: 20px;
}

#id_10_modal .btn-danger {
  background-color: #f44336;
  border: none;
  border-radius: 4px;
}

#id_10_modal .btn-danger:hover {
  background-color: #d32f2f;
}
/* ---------- Modale - Errore - End ---------- */

/* ---------- Modale - Storico Compensi - id_11_modal - Begin ---------- */
#id_11_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_11_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_11_modal .table th {
  background-color: #fff;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: normal;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 15px;
}

#id_11_modal .table td {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
}

#id_11_modal .badge-pending {
  background-color: #f8d7da;
  color: #dc3545;
  border: none;
}

#id_11_modal .modal-footer {
  border-top: none;
  padding: 15px 20px;
}    

  /* Paginazione - Storico compensi - Begin - */
  .id_11_modal_pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-right: 20px;
  }

  .id_11_modal_pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .id_11_modal_pagination li {
    margin: 0 5px;
  }

  .id_11_modal_pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
  }

  .id_11_modal_pagination li.active a {
    background-color: #ff3366;
    color: white;
  }

  .id_11_modal_pagination li a:hover:not(.active) {
    background-color: #f1f3f4;
  }

  .id_11_modal-btn-modify {
    width: 80px !important;
  }

  .id_11_modal_input_credit {
    /* width: 80px !important; */
    background-color: #FFFFCC !important;
  }

  .id_11_modal_btn_edit_modifica {
    /* 
    background-color: #ff3366 !important;
    color: white !important;
    */ 
  }
  .id_11_modal_btn_edit_annulla {
    /* 
    background-color: white !important;
    color: #ff3366 !important;
    */ 
  }

  /* Paginazione - Storico compensi - End - */

/* ---------- Modale - Storico Compensi - End ---------- */

/* ---------- Modale - Aggiungi Compenso - id_12_modal - Begin ---------- */
#id_12_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_12_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_12_modal .table th {
  background-color: #fff;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: normal;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 15px;
}

#id_12_modal .table td {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
}

#id_12_modal .form-control-sm {
  width: 70px;
  text-align: right;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

#id_12_modal .modal-footer {
  border-top: none;
  padding: 15px 20px;
}

  /* Paginazione - Aggiungi compenso - Begin - */
  .id_12_modal_pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-right: 20px;
  }

  .id_12_modal_pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .id_12_modal_pagination li {
    margin: 0 5px;
  }

  .id_12_modal_pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
  }

  .id_12_modal_pagination li.active a {
    background-color: #ff3366;
    color: white;
  }

  .id_12_modal_pagination li a:hover:not(.active) {
    background-color: #f1f3f4;
  }

  .id_12_modal_compenso_changed_cls {
    background-color: #FFFFCC !important;
  }
  /* Paginazione - Aggiungi compenso - End - */

/* ---------- Modale - Aggiungi Compenso - End ---------- */

/* ---------- Modale - Aggiungi Lead a Commerciale - id_13_modal - Begin ---------- */
#id_13_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_13_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_13_modal .table th {
  background-color: #fff;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: normal;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 15px;
}

#id_13_modal .table td {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
}

#id_13_modal .form-check-input:checked {
  background-color: #28a745;
  border-color: #28a745;
}

#id_13_modal .form-check-input {
  width: 1.5em;
  height: 1.5em;
}

#id_13_modal tbody tr.table-success {
  background-color: rgba(25, 135, 84, 0.1) !important;
}
/* ---------- Modale - Aggiungi Lead a Commerciale - End ---------- */

/* ---------- Modale - Conferma Logout - id_14_modal - Begin ---------- */
#id_14_modal .modal-content {
  border-radius: 10px; 
  border: none; 
  overflow: hidden;
}

.id_14_modal-question-icon-container {
  margin-bottom: 20px;
}

.id_14_modal-question-icon {
  width: 80px;
  height: 80px;
  background-color: #ff3366;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.id_14_modal-question-icon i {
  font-size: 40px;
  color: white;
}

#id_14_modal_questionTitle {
  font-weight: bold;
  margin-bottom: 15px;
}

#id_14_modal_questionMessage {
  color: #6c757d;
  margin-bottom: 20px;
}

#id_14_modal .btn-outline-secondary {
  border-radius: 4px;
}

#id_14_modal .btn-danger {
  background-color: #ff3366;
  border: none;
  border-radius: 4px;
}

#id_14_modal .btn-danger:hover {
  background-color: #e62e5c;
}
/* ---------- Modale - Conferma Logout - End ---------- */

/* ---------- Modale - Richiesta Conferma - id_15_modal - Begin ---------- */
#id_15_modal .modal-content {
  border-radius: 10px; 
  border: none; 
  overflow: hidden;
}

.id_15_modal-question-icon-container {
  margin-bottom: 20px;
}

.id_15_modal-question-icon {
  width: 80px;
  height: 80px;
  background-color: #ff3366;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.id_15_modal-question-icon i {
  font-size: 40px;
  color: white;
}

#id_15_modal_questionTitle {
  font-weight: bold;
  margin-bottom: 15px;
}

#id_15_modal_questionMessage {
  color: #6c757d;
  margin-bottom: 20px;
}

#id_15_modal .btn-outline-secondary {
  border-radius: 4px;
}

#id_15_modal .btn-danger {
  background-color: #ff3366;
  border: none;
  border-radius: 4px;
}

#id_15_modal .btn-danger:hover {
  background-color: #e62e5c;
}
/* ---------- Modale - Richiesta Conferma - End ---------- */

/* ---------- Modale - Modifica Stato Approvazione Vendita - id_16_modal - Begin ---------- */
#id_16_modal .modal-content {
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

#id_16_modal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
}

#id_16_modal .modal-title {
  font-weight: bold;
  font-size: 1.2rem;
}

#id_16_modal .form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}

#id_16_modal .btn-danger {
  background-color: #ff3366;
  border: none;
}

#id_16_modal .btn-danger:hover {
  background-color: #e62e5c;
}

.id_16_modal-lead-name {
  font-weight: bold;
}
/* ---------- Modale - Modifica Stato Approvazione Vendita - id_16_modal - End ---------- */

.input_disabled {
  color: #999999 !important;
}

/* ---------- Modale - Aggiungi Comunicazione - id_17_modal - Begin ---------- */
#id_17_modal .modal-content {
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

#id_17_modal .modal-header {
  padding: 15px 20px;
}

#id_17_modal .modal-title {
  font-weight: 600;
}

#id_17_modal .modal-body {
  padding: 20px;
}

#id_17_modal .form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 10px 15px;
  font-size: 14px;
}

#id_17_modal .form-control::placeholder {
  color: #adb5bd;
}

#id_17_modal .col-form-label {
  font-weight: 500;
  font-size: 14px;
}

#id_17_modal .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: none;
}

#id_17_modal_btnAggiungiUtente {
  background-color: #ff3366;
  border: none;
  border-radius: 5px;
  font-weight: 500;
}

#id_17_modal_btnAggiungiUtente:hover {
  background-color: #e62e5c;
}

.id_17_modal-dropdown-ruolo {
  position: absolute;
  margin-top: 5px;
  padding: 0;
  border: 1px solid #ddd;
  list-style: none;
  background-color: white;
  width: calc(100% - 15px);
  z-index: 1000;
}

.id_17_modal-dropdown-ruolo li {
  padding: 10px;
  cursor: pointer;
}

.id_17_modal-dropdown-ruolo li:hover {
  background-color: #f0f0f0;
}
/* ---------- Modale - Aggiungi Comunicazione - End ---------- */
