/* Classe per la direzione ltr */
.ltr {
  direction: ltr;
  text-align: left;
}
/* Classe per la direzione rtl (predefinita per le lingue come arabo) */
.rtl {
  direction: rtl;
  text-align: right;
}

.dt-container .dt-input {
  background-color: #f0f3f7 !important;
  border-radius: 10px !important;
  padding: 0.6rem 1.25rem .6rem .75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  border: 0px !important;
}

.form-control {
  border-radius: 10px !important;
}
.form-select {
  border-radius: 10px !important;
}

.radius-right {
  -webkit-border-radius: 10px;
  -webkit-border-top-left-radius: 0px!important;
  -webkit-border-bottom-left-radius: 0px!important;
  -moz-border-radius: 10px;
  -moz-border-radius-topleft: 0px!important;
  -moz-border-radius-bottomleft: 0px!important;
  border-radius: 10px;
  border-top-left-radius: 0px!important;
  border-bottom-left-radius: 0px!important;
}

.form-floating > .form-control:focus ~ label::after, 
.form-floating > .form-control:not(:placeholder-shown) ~ label::after, 
.form-floating > .form-control-plaintext ~ label::after, 
.form-floating > .form-select ~ label::after {
  background-color: #f0f3f7 ;
  border: 0px;
}

.form-floating input,
.form-floating select,
.form-floating textarea,
.timezoneSelect,
.form-floating input:focus,
.form-floating select:focus,
.form-floating textarea:focus,
.timezoneSelect:focus,
.form-floating input[type="password"],
.form-floating input[type="email"],
.form-floating input[type="password"]:focus,
.form-floating input[type="email"]:focus {
  background-color: #f0f3f7;
  border: 0px;
}

/* Colora la label quando il campo è in focus */
.form-floating input:focus ~ label,
.form-floating select:focus ~ label,
.form-floating textarea:focus ~ label,
.timezoneSelect:focus ~ label {
  color: #000;
  font-weight: 500;
}

.form-floating:focus-within label {
  color: #000;
  font-weight: 500;
}

.form-control-sm {
  font-size: 0.900rem !important;
  border-radius: 15px;
}

/* pagine interattive */
body {
  font-weight: 400;
}

h4, .h4 {
  font-size: 1.50rem !important;
}

thead tr th {
  text-transform: uppercase !important;
  font-size: 12px !important;
}

.timing {
  position: fixed;
  font-size: 12px;
  background-color: #000;
  color: #22ff00;
  font-family: monospace;
  bottom: 27px;
  left: 0px;
  padding: 10px;
  z-index: 999999999999999999999999999;
}

.scroller {
  height: 400px;
  overflow-y: scroll;
}

  .top-admin-bar {
    background-color: #ffffff !important;
    height: 60px;
}

.top-admin-bar .btn-white {
    background: #fff;
    transition: all 0.2s;
}

.top-admin-bar .btn-white:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.top-admin-bar .dropdown-menu {
    border-radius: 12px;
}

/* Nasconde testi su schermi piccoli per non rompere la barra */
@media (max-width: 768px) {
    .hideOnMobile {
        display: none !important;
    }
}

/* Effetto notifica pulsante */
.notification-dropdown button:after {
    display: none;
}

/* Rimuove l'aspetto da link blu */
.nav-link {
    color: #4b5563 !important;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #111827 !important;
    background-color: transparent;
}

.cursor-pointer {
    cursor: pointer;
}

/* Effetto hover discreto sugli elementi della navbar */
.hover-bg-light:hover {
    background-color: #f9fafb;
    border-radius: 8px;
}

/* Dropdown più moderni */
.dropdown-menu {
    border-radius: 12px !important;
    padding: 8px !important;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
}

/* Bordi sottili */
.border-end {
    border-right: 1px solid #e5e7eb !important;
}

/* Opacità per icone meno importanti */
.hover-opacity-100:hover {
    opacity: 1 !important;
}


.btn-primary {
  background-color: #28a745 !important;
  border-color:#28a745 !important;
  border: 0px;
  color: #FFF !important;
}

.btn-secondary {
  background-color: #50429b !important;
  border-color:#50429b !important;
  border: 0px;
  color: #FFF !important;
}

a:not(.btn) {
  position: relative;
  color: #28a745;
  text-decoration: none;
}

a:not(.btn):hover {
  color: #28a745 !important;
  font-weight: bold !important;
}

/*
a:not(.btn)::before {
  content: "";
  position: absolute;
  display: block;
  width: 30%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #28a745;
  transform: scaleX(0);
  transform-origin: top right;
  transition: transform 0.3s ease;
}
*/

b, strong {
  font-weight: 600 !important;
}

input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 50px white inset;
}

.xsmall-text {
  font-size: 11px;
}

 /* Sidebar */
.sidebar {
  background-color: #b1babf;
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  /*
  background-image: url("../assets/img/globalisation-3390877_1920.jpg");
  background-image: url("../assets/img/bg_left1.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  */
  background-image: linear-gradient(45deg, #5e3387 0%, #112480 100%);
  animation-duration: 1s;
  background-size: cover;
}

.dt-search {
  text-align: right;
}

.dt-paging-button {
  /*padding: 1px 9px !important;
  background-color: #efefef  !important;*/
  border-radius: 12px !important;
  font-size: 14px;
  color: #FFF !important;
  font-weight: bold;
}

div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
  border:0px !important;
}

.dt-info {
  font-size: 12px;
}

div.dt-container .dt-search input {
    border-radius: 10px !important;
}

div.dt-container .dt-input {
    border-radius: 10px !important;
}

.welcome {
  font-size: 36px;
  font-weight: 600;
}
.welcome small {
  font-size: 20px;
  display: block;
  margin-bottom: -5px;
  font-weight: 200;
  margin-top: 15px;
}

.headerCardMediation {
}

.btn-line-right {
  border-right: 1px solid #efefef;
}

.btn-sm {
  font-size: 13px;
  border-radius: 20px;
  padding-left: 12px;
  padding-right: 12px;
}

.app-name h4 {
  padding: 30px;
  color: #FFFFFF !important;
  font-size: 35px;
  line-height: 25px;
  margin-bottom: 30px;
}

.app-name h4 span {
  /*font-family: "Yesteryear", cursive;*/
  font-weight: normal !important;
  font-size: 120%;
}

.payoff {
  /*font-family: "Turret Road", sans-serif !important;*/
  font-weight: 600 !important;
  font-style: normal !important;
  font-size: 20px !important;
  display: block !important;
  color:  #FFF;
  margin-top: 10px;
  line-height: 22px;
}

.page_modulo ul li {
  padding-top: 8px;
  padding-bottom: 8px;
}

.page_modulo ol li {
  padding-top: 8px;
  padding-bottom: 8px;
}

.page_modulo h4 {
  margin-top:50px;
}

.btn-white-app {
  background-color: #FFF;

  -webkit-border-top-left-radius: 30px;
  -webkit-border-bottom-left-radius: 30px;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomleft: 30px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;

  margin-bottom: 2px;
  width: 90%;
  margin-left: 10%;
}
.btn-white-app:first-child {
  background-color: #FFF;
  border-bottom: 1px solid #FFF;
}

.btn-white-app a {
  color: #062440;
  font-size: 20px;
  font-weight: 300;
}

.badge-glossary {
  background-color: #062440;
  color: #FFF;
  font-size: 10px;
}

.btn-white-app small {
  font-size: 12px;
  font-weight: 300;
  padding-left: 18px;
  padding-right: 15px;
  font-weight: 600;
  margin-top: -10px;
  padding-bottom: 20px;
  display: block;
}

.adr-user a {
  font-size: 13px !important;
  font-weight: 500 !important;
  /*text-transform: uppercase;*/
}

.unselected {
  background-color: #efefef !important;
  width: 82%;
  margin-left: 18%;
}

.unselected a {
  color: #666 !important;
}
.mini-menu-top {
  font-size: 14px;
}

.sidebar a {
    padding: 10px 15px 10px;
    display: block;
    text-decoration: none;
}

.card {
  padding: 20px !important;
  border: 0px !important;
  border-radius: 18px !important;
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.card p {
  font-size: 0.9rem;
}
.card-header {
  background-color: #F0F6FF;
  border: 0px !important;
}

.card2 {
  padding: 20px !important;
  border: 0px !important;
  border-radius: 18px !important;
  margin-bottom: 20px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
  background-color: #FFF;
}
.card2 p {
  font-size: 0.9rem;
}
.card2-header {
    background-color: #F0F6FF;
    border: 0px !important;
    margin: -20px;
    margin-bottom: 15px;
    border-radius: 20px 20px 0px 0px !important;
    font-size: 15px;
    padding: 10px 20px;
}
.card2-footer {
    border-top: 1px solid #efefef;
    margin: -20px;
    margin-top: 15px;
    border-radius: 0px 0px 20px 20px !important;
    font-size: 12px;
    padding: 10px 20px;
    text-transform: uppercase;
}

.header-decorative-image {
  position:absolute; 
  right:0px; 
  bottom:34px; 
  width:240px
}

/* Crea l'animazione */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Applica la classe all'icona */
.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block; /* Fondamentale per far funzionare la rotazione */
}


/* contenuto */
.content {
  margin-left: 300px;
  padding: 0px 20px; 
  background-image: url("../assets/img/exagone2.jpg");
  background-position: bottom center;
  background-size: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.criteria {
  font-size: 12px;
  line-height: 13px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 8px;
  /* color: #FFF !important; */
  font-weight: 600;
  margin-bottom: 2px;
  display: inline-block;
}

.red {
  color: crimson;
}

.blu {
  color: #005587;
}

.mini {
  font-size: 20px !important;
}

.purple {
  background-color: purple;
  color: #FFF;
}
.purple-color {
  color: purple;
}
.blue {
  background-color: #005587;
  color:#FFF;
}
.blue-color {
  color: #005587;
}
.orange {
  background-color: coral;
  color:#FFF;
}
.orange-color {
  color: coral;
}
.red-color {
  color: #dc143c;
}

.green {
  background-color: #28a745;
  color:#FFF;
}
.green-color {
  color: #28a745;
}

.draft-mediation {
  color: #dc143c;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 2px dashed crimson;
  padding-bottom: 9px;
  margin-bottom: 30px;
}

.draft-mediation a {
    letter-spacing: 0px !important;
    /* color: #000 !important; */
    display: inline-block;
    margin-left: 20px;
}

.badgeCloseDraft {
  position: fixed;
  top: 180px;
  right: 0px;
  font-size: 14px;
  font-weight: 300;
  background-color: #dc143c;
  color: #FFF;
  writing-mode: vertical-rl;
  padding: 15px 10px;
  text-align: center;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  text-transform: uppercase;
  line-height: 15px;
}
.badgeCloseDraft b {
  font-size: 14px;
}

.badgeCloseDraft a {
  color: #FFF !important;

}
.badgeCloseDraft a:hover {
  color: #FFF !important;
}

.readyMediation {
  background-color: #28a745 !important;
}

.tooltipsy {
    transform: translate(6px, -10px);
}
/*
@media (max-width: 1400px) {

  .sidebar {
      width: 300px;
  }
  .content {
      margin-left: 300px;
  }
  .app-name h4 {
    padding: 30px;
    font-size: 16px !important;
  }

}
*/



.language-form-chooser {
  /*position: fixed;
  top:0px;
  left:0px;*/
  width: 100%;
  padding: 30px;
  background-color:#FFF;
  color: #333;
  font-size: 12px;
  margin-bottom: 30px;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.language-form-chooser a {
  color: #333 !important;
}

.language-form-chooser h5 {
  font-weight: 400;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 16px;
}

.list-unstyled li {
  padding-bottom: 6px;
}

.language-list-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    padding: 5px 0;
}

/* pill */
.lang-pill {
    display: inline-block;
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
    font-weight: 400  !important;
}

/* hover */
.lang-pill:hover {
    background: #efefef !important;
    color: #000 !important;
    font-weight: 400 !important;
}
.lang-pill:hover a {
    font-weight: 400 !important;
}

/* lingua attiva */
.lang-pill.active-lang {
    background: #0d6efd;
    color: #fff  !important;
}

/* codice lingua */
.lang-pill span {
    opacity: .7;
    margin-left: 4px;
}


/* conteuto mid*/
@media (max-width: 1100px) {

  .sidebar {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
  }

  .content {
    margin-left: 0 !important;
  }

  .app-name h4 {
    padding: 30px;
    font-size: 18px !important;
  }

}

.help-icon {
  width: 40px;
}

.logo-form {
  width: 70%;
  padding: 5% 5%;
  margin-left: 5%;
}

.title-mediation-section {
  font-weight: 500;
  border-bottom: 2px solid #efefef;
  padding-bottom: 7px;
  font-size: 26px;
  display: inline-block;
}



.question-outer {
  width: 100%;
}


.question-box {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.question-white-box {
  padding: 40px;
  border-radius: 30px;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.info {
  font-size: 12px;
  border-top:1px solid #efefef;
  padding-top: 10px;
}

.procedure-date {
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 1px solid #efefef;
  padding-bottom: 5px;
}

.back-button {
  font-size: 18px;
  margin-left: 20px;
  color: #666 !important;
}

.mediation-detail {
  font-size: 16px;
  border-bottom: 1px solid #efefef;
  font-weight: 500;
  margin-bottom: 14px;
  background-color: #f3f3f3;
  padding: 6px 12px;
  border-radius: 10px;
}

.mediation-detail small {
  font-size: 13px !important;
  font-weight: 400;
  display: block;
  /*text-transform: uppercase;*/
  margin-bottom: 2px;
  color: #818181;
  /*letter-spacing: 1px;*/
}

.party-detail {
  font-size: 14px;
  border-bottom: 1px solid #efefef;
  font-weight: 500;
  margin-bottom: 15px;
  background-color: #f9fbfd;
  padding: 8px;
  border-radius: 10px;
  min-height: 52px !important;
}

.addSecondaryBOX {
  border: 2px dashed #CCC;
  border-radius: 26px;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}


.party-detail small {
  font-size: 9px !important;
  font-weight: 400;
  display: block;
  text-transform: uppercase;
  margin-bottom: 1px;
  color: #818181;
  letter-spacing: 1px;
}

.section-inner-title-h4 {
  font-weight: 600 !important;
  font-size: 26px;
}

.no-meeting {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  margin-top: 7px;
}
.no-meeting .fa {
  margin-right: 5px;
}

.odr-ico-sm {
  width: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.odr-ico-card {
  width: 40px;
}


.odr-ico-md {
  width: 60px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.odr-ico-lg {
  width: 120px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.meeting-time {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}



.errore {
  color: crimson;
  font-size: 11px;
  text-transform: uppercase;
  display: none;
  font-weight: 700;
}

.successo {
  color: #28a745 ;
  font-weight: 700;
}
.nav {
    display: block;
    margin: 0 0 100px 30px;
}

.icon-table-grey {
  color: #666;
}

.iconFlex {
  display: flex;
  /* flex-basis: inherit; */
  align-items: center;
}

.choose-lang {
  width: 26px;
  cursor: pointer;
}

.lang-text-button {
  color: #333;
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.infoAlreadyStart {
  background: linear-gradient(90deg, #aea4e3, #d3ffe8);
  text-align: center;
  padding: 10px 40px;
  border-radius: 30px;
  text-align: left;
  display: block;
  text-align: center;
  margin-bottom: 40px;
}

.nationality-icon {
  width: 30px;
  margin-top: 10px;
  margin-left: 20px;
}

.toggle-mediation-lock {
  text-transform: uppercase;
  margin-bottom: 20px;
  border-radius: 15px;
}

.wrapper {
    min-height: 100vh;
    font-weight: 300;
    color: #fff;
    position: relative;
}

.highSection {
  height: min-content;
}

/*
.nav__wrapper {
  font-family: "Roboto Slab", serif;
  position: fixed;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  z-index: 9999;
}
*/
.nav__wrapper {
  position: fixed;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  z-index: 9999;
  left:330px;
}

.nav {
  margin: 100px 0 100px 30px;
}
.nav__counter {
  font-size: 24px;
  transition: all 0.15s ease-out;
}
.nav__title {
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 0.25em;
  width: 200px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav__body {
  font-weight: 100;
  font-size: 18px;
  width: 200px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav li {
  position: relative;
  transition: all 0.3s ease-out;
  margin-bottom: 1em;
  width: 60px;
}
.nav li:after {
  content: "";
  display: block;
  border-top: 2px solid #999;
  height: 250px;
  width: 20px;
  position: absolute;
  left: -30px;
  top: 15px;
}
.nav li a {
  display: block;
  padding: 0;
  color: #333;
  transition: all 0.15s ease-out;
  text-decoration: none;
}
.nav li a:hover {
  background-color: transparent;
  padding-left: 1em;
}
.nav li a:focus {
  background-color: transparent;
}
.nav li.active {
  pointer-events: none;
  padding-left: 1em;
}
.nav li.active:after {
  width: 35px;
  height: 400px;
  top: 35px;
}
.nav li.active .nav__counter {
  font-size: 44px;
  font-family: 'Inter';
  font-weight: 700;
  margin-bottom: -8px;
  display: block;
}
.nav li.active .nav__title {
  height: 40px;
  opacity: 1;
  overflow: visible;
  text-align: left;
  font-size: 18px;
}
.nav li.active .nav__body {
  height: 100px;
  opacity: 1;
  overflow: visible;
}
  
.desaturate {
  filter: grayscale(100%);
}

@media screen and (max-width: 600px) {
    .nav__wrapper {
        display: none;
    } 

    .question-box {
      padding: 0px;
      border-radius: 30px;
      width: 100%;
      margin-bottom: 20px;
      box-shadow: none !important;
    }

    .question-white-box {
      padding: 0px;
      box-shadow: none !important;
    }
}

.blu-line {
  font-weight: bold;
}

.content {
    font-size: 16px !important;
}

.dashed-line-with-arrow {
    position: relative;
    width: 1px; /* Spessore della linea */
    height: 130px; /* Altezza della linea */
    background: repeating-linear-gradient(
      to bottom,
      gray 0,
      gray 5px,
      transparent 5px,
      transparent 10px
    );
    margin: 0 auto;
  }
  
  .dashed-line-with-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* Posiziona la freccia subito sotto la linea */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid gray; /* Colore della freccia */
  }
  
  .label {
    position: absolute;
    min-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #50429b;
    padding: 3px 10px;
    font-size: 12px;
    color: #FFF;
    text-transform: uppercase;
    border: 1px solid #efefef;
    border-radius: 10px;  
    font-weight: 900;
    letter-spacing: 2px;
  }

  .form-floating > label { 
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
  }

  .choices__inner {
    border-radius: 6px !important;
  }

  .ticketId {
    text-transform: uppercase;
    font-size: 13px;
    background-color: #efefef;
    padding: 4px 21px;
    border-radius: 16px;
    display: inline-block;
    float: right;
  }

  /* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  box-sizing: border-box;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px; /* Responsive max-width */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(-20px); /* Start above the view */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999 !important;
}

.modal-content.show {
  opacity: 1;
  transform: translateY(0); /* Slide down to the view */
}

/* STATO VISIBILE */
.modal.show .modal-content {
  opacity: 1;
  transform: translateY(0);
  z-index: 9999 !important;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.question-footer {
  display: block;
  z-index: 9999999999999;
  text-align: right;
  background-color: #efefef;
  margin-bottom: 0px !important;
  width: auto;
  bottom: 0px;
  right: 0px;
  margin-top: 70px;
} 

.question-footer ul  {
  margin-bottom: 0px !important;
}

.question-footer ul li {
  display: inline;
  font-size: 13px;
  padding: 0px 10px;
  margin-bottom: 0px !important;
}

.question-footer ul li a {
  color: #333;
}




label {
    width: 100%;
}

.edited-card {
  padding: 0px !important;
}

.card-input-element {
    display: none;
}

.card-input {
    margin: 0px;
    padding: 0px;
}

.card-input .card-header {
  font-weight: bold;
  -webkit-border-top-left-radius: 18px;
  -webkit-border-top-right-radius: 18px;
  -moz-border-radius-topleft: 18px;
  -moz-border-radius-topright: 18px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.card h4 {
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
}

.card2 h4 {
  font-weight: 500;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
  margin-bottom: 6px;
}

.card-input:hover {
    cursor: pointer;
}

.card-input-element:checked + .card-input {
     box-shadow: 0 0 2px 2px #BED600;
}

/*area di uplaod dei files */
.upload-area {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 18px;
}

.upload-area.dragging {
  border-color: #28a745;
  background-color: #e6ffe6;
}

.file-preview {
  margin-top: 35px;
}

.file-preview img {
  max-width: 100px;
  margin-right: 10px;
}

.upload-status {
  margin-top: 10px;
  color: #28a745;
}

.upload-error {
  color: crimson;
}

.info-stop {
  border: 2px solid crimson;
  color: crimson;
  border-radius: 30px;
  margin-top: 30px;
  padding: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
}

.error-icon {
  width: 30px;
  margin-bottom: 6px;
}

.okImage {
  max-width: 70px;
}

.file-input2 {
  text-align: right;
  border: 1px dashed #999999;
  padding: 5px;
  border-radius: 6px;
  width: 100%;
}

input[type="file"] {
  display: none;
}
.custom-file-upload {
  display: inline;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #00A2FF;
  color: #FFF;
  font-weight: 700;
  border-radius: 16px;
}

.single-file {
  background-color: #FFF;
  display: inline-block;
  font-size: 11px !important;
  text-transform: uppercase !important;
  margin-right: 25px;
  color: #333 !important;
  border-radius: 16px;
  padding: 10px 15px;
  padding-right: 25px;
  position: relative;
  margin-bottom: 10px;
  width:29%;
}

.single-file small {
  color: #666666;
}


.single-file a {
  font-size: 11px !important;
  text-transform: uppercase !important;
  color: #333 !important;
  font-weight: 700;
}
.remove-image {
  border: 0px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background-color:crimson;
  color: #FFF;
  font-weight: 900;
  font-size: 12px;
  position: absolute;
  top: -5px;
  right: -20px;
}

.topRow {
    /*background-color: #FFF;*/
}

.subscribePage {
  /*  
  background-image: url("../assets/img/meeting-5395615_1920_2.jpg") !important;
  background-size: cover;  
  */
}

.subscribe-outer {
  /*
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  */
}

.breadcrumb {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  border-top:1px solid #efefef;
  padding-top: 5px;
  font-weight: 600;
}

.breadcrumb a {
  font-size: 12px !important;
  color: #999 !important;
  text-decoration: underline;
}

.breadcrumb span {
  display: inline-block;
  margin-left: 6px;
  margin-right: 6px;
}

.dash-row-column {
  border-right: 1px solid #efefef;
}

.dash-row-column small {
  display: block;
  line-height: 14px;
}

.doc-meta {
    margin-top: 0px;
    border-top: 1px solid #efefef;
    padding-top: 6px;
}

@media (max-width: 1300px) {
  .single-file {
    width: 44% !important;
  }
}


@media (max-width: 768px) {
  .single-file {
    display: block;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .single-file {
    background-color: #efefef;
  }
}

.my-tabs {
  display: flex;
  border-bottom: 1px solid #efefef;
}

.my-tabs .tab-item {
  padding: 15px 20px;
  cursor: pointer;
  position: relative; /* Necessario per l'animazione */
  background: #f8f9fa;
  color: #73bc4f;
  margin-right: 5px;
  border-radius: 10px 10px 0 0;
  transition: color 0.3s ease-in-out;
  margin-bottom:-5px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Ombra solo sopra */
}

/* Creiamo il bordo inferiore animato */
.my-tabs .tab-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 5px;
  background: #73bc4f;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* Quando il mouse passa sopra, l'underline si espande */
.my-tabs .tab-item:hover::after {
  width: 100%;
  left: 0;
}

/* Stile della tab attiva */
.my-tabs .tab-item.active {
  background: #FFF;
  color: #333;
  font-weight: bold;
}

.my-tabs .tab-item.active::after {
  background: #73bc4f;
  width: 60%;
  left: 20%;
  background: #73bc4f;
  margin: 0 auto;
}

/* Contenitore del contenuto delle tab */
.tab-content {
  padding: 25px;
  border-top: 4px solid #efefef;
  border-radius: 0 0 5px 5px;
  background-color: #FFF;
  padding-bottom: 30px;
  -webkit-border-bottom-right-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}


.table-sm-custom {
  font-size: 14px;
}



.feedback-upload-positive {
  font-size: 13px;
  color: #28a745;
}

.errore-login {
  color: crimson;
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: bold;
}

.item-risposta small {
  color:#666666;
}

.item-risposta p {
  font-weight: 600;
  border-bottom: 1px solid #CCC;
  padding-bottom: 4px;
}

.inner {
  margin-bottom: 100px;
}

.choices__list--multiple .choices__item {
  background-color: #00A2FF !important;
  border: 1px solid #0099f1 !important;
}

.resultInvitation {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
}

.party-box {
  background-color: #FFF;
  padding: 30px;
  /*box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;*/
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  position: relative;
  border-top: 1px solid #efefef;
}
.party-box-small {
  background-color: #FFF;
  padding: 30px;
  /*box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;*/
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  position: relative;
  border-top: 1px solid #efefef;
  padding-top: 20px;
}
.main-part {
  position: absolute;
    top: -13px;
    right: 30px;
    color: #FFF !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: #666;
    padding: 2px 13px;
    border-radius: 12px;
}

.party-data-container {
  /*height: 65px;
  overflow: hidden;
 */
  height: auto; 
}

.section-inner-title-h5 {
  font-weight: 400;
  font-size: 20px;
}

.party-box-actions {
  border-top: 1px solid #f1f1f1;
  padding: 10px 30px;
  text-align: right;
  margin: -30px;
  margin-top: 10px;
  padding-bottom: 14px;
  padding-bottom: 14px;
  background-color: #f7f7f7;
  border-radius: 0px 0px 18px 18px;
}
.action-part  {
  display: inline-block;
  padding: 0px 15px;
  margin-left: 10px;
  font-size: 14px;
  border-radius: 15px;
}

.convocation-data {
  font-size: 12px;
  text-transform: uppercase;
}
.edit-part {
  color:coral;
  font-weight: 700;
}
.remove-part {
  color:crimson;
  font-weight: 700;
}


.modal-invite-to-mediation {
  display: none;
  width: 700px;
  max-width: 90%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background-color: #FFFFFF;
  padding: 40px;
  padding-top: 20px;
  
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
  z-index: 9;
}

.close-modal {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
}


/* Balloon ODS */
#ods-alert {
    position: relative;
    display: none;            /* gestito via JS */
    background: #e6f4ff;      /* azzurrino */
    border: 1px solid #b5d9ff;
    color: #0b3c5d;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* freccia sotto (riempimento) */
#ods-alert:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* distanza dal bordo del balloon */
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #e6f4ff transparent transparent transparent;
}

/* freccia sotto (bordino) */
#ods-alert:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -11px; /* 1px in più per simulare il bordo */
    border-width: 11px 11px 0 11px;
    border-style: solid;
    border-color: #b5d9ff transparent transparent transparent;
}

/* testo e link un filo più eleganti */
#ods-alert strong {
    font-weight: 600;
}

#ods-alert .small {
    font-size: 0.9rem;
}

#ods-alert a {
    font-weight: 600;
    text-decoration: none;
    color: #0b63a8;
}

#ods-alert a:hover {
    text-decoration: underline;
}


/*TIMELINE*/

.line_box {
  display: flex;
  margin: 0 0 30px 0;
  /*
  background-color: #FFFF;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
  */
  padding-top: 15px;
  padding-bottom: 10px;
}

/*
.done, .done .circle h4 {
  color: #28a745;
}
*/
.done .circle h4 {
  border-radius: 5px;
  color: #fff;
  background-color: #28a745;
  display: inline-block;
  padding: 0px 12px;
}
.done .circle p {
  color: #28a745;
}

.text_circle {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}
.text_circle:after {
  background-color: #ccc;
  bottom: 1.25em;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  right: 0;
  width: 50%;
  z-index: -1;
}
.stav_projektu .text_circle:after,.stav_projektu .text_circle:before {background-color: #efefef;}
.line_box h4 {
  /*color: #005587;*/
  color: #666;
  font-weight: bold;
}
.line_box h4,.line_box p {
  font-size: 12px;
  margin-bottom: 0;
  padding: 0 5px;
}
.subline {
  position: absolute;
  right: -25px;
  bottom: -43%;
}
.subline:before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  bottom: 14px;
  right: 15px;
  background-color: #005587;
  border-radius: 50%;
  top: -25px;
}
.subline h6 {margin-bottom: 0;}
.timeline {margin: 40px 0;}
.text_circle.done:after,.text_circle.done + .text_circle:before,.stav_projektu .text_circle.done:after,.stav_projektu .text_circle.done + .text_circle:before {background-color: #005587;}
.text_circle.sub:after {background-color: #005587;}
.text_circle:not(:first-child):before {
  bottom: 1.25em;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  left: 0;
  width: 50%;
  z-index: -1;
  background-color: #ccc;
}
.stav_projektu .text_circle:not(:first-child):before {background-color: #ccc;}
.text_circle:last-child:after {width: 0;}
.circle {height: 100%;}
.tvar {
  height: 25px;
  width: 25px;
  border: 2px solid #CCC;
  display: flex;
  position: relative;
  border-radius: 100%;
  top: -43px;
  margin: 9px auto;
  background-color: #fff;
}
.tvar span {
  margin: 26% auto;
  height: 10px;
  width: 10px;
  background-color: #005587;
  border-radius: 100%;
  color: #fff;
}

.stav_projektu .tvar {border: 2px solid #ccc;}
.stav_projektu .done .tvar,.stav_projektu .sub .tvar {border: 2px solid #005587;}
.subline h6 {color: #005587;}
.timeline .card-header:hover {
  background-color: #ececec;
  cursor: pointer;
}
/* iPhone X ----------------------------------- */
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {
 .subline:before {top: -43px;}
}
@media only screen and (device-width : 812px) and (device-height : 375px) and (orientation : landscape) and (-webkit-device-pixel-ratio : 3) {
 .subline:before {top: -31px;}
}
/* iPad portrait ----------------------------------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
 .subline:before {top: -29px;}
}
/* mobile width till 767px ----------------------------------- */
@media (max-width: 767px){
 .subline:before {top: -30px;}
}
/* Portrait iPad Pro */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
 .subline:before {top: -23px;}
}
/* mobile width till 480px ----------------------------------- */
@media (max-width: 480px){
 .subline:before {top: -43px;}
}





@media (max-width: 1400px) {
  .nav__wrapper {
    left: 220px;
  }
}

@media (max-width: 1250px) {
  .nav__wrapper {
    left: 210px;
  }
}
@media (max-width: 1100px) {
  .nav__wrapper {
    left: -10px;
  }
  .btn-white-app {
    background-color: #FFF;
    float: left;
    width: 50%;
  }
  .app-navigation{
    margin-top: -7px;
  }
}

@media (max-width: 1100px) {
  .logo-form {
    /* width: 80%; */
    /* padding: 0%; */
    margin-left: 0%;
    width: 260px;
    margin: 0 auto !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .sidebar {
    background-size: 101%;
    background-position: 0pc -15pc;
  }

  .sidebar h4 { 
    padding: 30px;
    font-size: 40px !important;
    line-height: 34px !important;
    display: none;
  }
  .btn-white-app {
    border-radius: 30px;
    width: 48%;
    margin: 1%;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {

  .sidebar {
    background-size: 111%;
    background-position: 0pc -10pc;
    border-radius: 30px;
    margin-top: 10px;
  }

  .hideOnMobile {
    display: none;
  }

  .question-footer {
    margin: 0px !important;
    padding: 0px !important;    
    background-color: #efefef;
    position: relative !important;
    border-radius: 30px;
  } 

  .question-footer ul {
    padding: 0px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  } 

  .question-footer ul li {
    text-align: center;
    display: block;
    font-size: 13px;
    padding: 0px 10px;
  }
  .card-input {
    margin: 10px;
    padding: 0px;
  }
  .nationality-icon {
    display: none;
  }
  .btn-white-app {
    background-color: #FFF;
    float:none;
    width: auto;
    border-radius: 0px;
    margin-bottom: 0px;
  }
  .app-navigation{
    margin-top: -7px;
  }

  .dash-row-column {
    border-right: none;
    border-bottom: 1px solid #efefef;
    padding-top: 10px;
  }

  .btn-partecipa {
    font-size: 20px;
    width: 100%;
  }

  .header-decorative-image {
    z-index: -1;
  }

  .btn-white-app {
    width: 100%;
    margin: 0%;
  }

  .mini-menu-top {
    margin-top: 10px !important;
  }
  
  
}


.hepdesk {
  position: fixed;
  bottom: 40px;
  right:0px;
  font-size: 20px;
  font-weight: 900;
  background-color: #50429b;
  color: #FFF;
  writing-mode:vertical-rl;
  padding: 20px 10px;
  text-align: center;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Overlay */
.infoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  background-color: #FFF;
  align-items: center;
  justify-content: center;
  padding: 20px; /* per spazio attorno su mobile */
  box-sizing: border-box;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

/* Contenuto interno della modale */
.infoModal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-in-out;
}

.closeInfoModal {
  position: absolute;
  right: 30px;
  top:30px;
  font-weight: 600;
  font-size: 12px;
}

/* Animazione di entrata (opzionale) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: su schermi piccoli riduci padding */
@media (max-width: 900px) {
  .infoModal-content {
    padding: 20px;
  }
  .infoModal {
    width: 90%
  }
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.motivi {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.motivo-btn {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;

}

.motivo-btn .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.motivo-btn:hover {
  background-color: #e0e0e0;
}

.motivo-btn.selected {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.motivo-btn.selected .icon {
  filter: brightness(0) invert(1); /* rende l'immagine bianca */
}




/* PROGRESS BAR ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.procedure-progress-25 {
  width: 100%;
  padding: 5px 30px;
  background-color: #efefef;
  background: #c1cbd4;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #eef2f3, #efefef);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #eef2f3, #efefef); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  border-radius: 25px;
  padding-top: 7px;
}

.step-25 {
  width: 25%;
  float: left;
  border-left: 1px solid #CCC;
}

.step-25 h4 {
  font-size: 14px !important;
  display: block;
  font-weight: 700;
  margin: 0px;
  padding: 0px;
  padding-bottom: 6px;
  border-bottom: 3px dashed #CCC;
  padding-left: 10px;
}

.done-step-25 {
  border-bottom: 3px solid #73bc4f !important

}
.inProgress-step-25 {
  border-bottom: 3px solid !important;
  border-image: linear-gradient(to right, #73bc4f, #ffb700) 1 !important;
}

.step-25 p {
  font-size: 11px;
  display: block;
  font-weight: 200;
  margin: 0px;
  padding: 0px;
  margin-top: 2px;
  padding-left: 10px;
}

.dt-length label {
  width: auto !important;
  margin-left: 5px;
  text-transform: uppercase;
  font-size: 13px;
}
.dt-search label {
  width: auto !important;
  margin-left: 5px;
  text-transform: uppercase;
  font-size: 13px;
}

.scheduledCall {
  /*background: linear-gradient(90deg, #effaff, #efefef);*/
  padding:20px 30px;
  margin-top: 40px;
  border-radius: 20px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.scheduledCallDone {
  background: linear-gradient(90deg, #effff9, #efefef);
  padding:20px 30px;
  margin-top: 40px;
  border-radius: 20px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.greenScreen {
  background-color:#DAF7A6; 
  text-align:center; 
  padding:200px 20px; 
  font-size:40px; 
  margin:20px;
  border-radius: 20px;
}

.autoheightTextArea {
  height: 180px;
  border: 1px solid #ccc;
  overflow-x: hidden;
  overflow-y: auto;
}

.meetSummary {
  font-size: 14px;
}

.meetSummaryText {
  border-left:1px solid #efefef;
  padding-left: 20px;
}

.partySummary h6 {
  font-size: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ededed;
  margin-top: 20px;
}

.partySummary p {
  font-size: 14px;
  margin: 0px;
  padding: 6px 0px;
  border-bottom: 1px solid #e0e0e0;
}

.party-box.editing {
    background: #fffaf2;
    border: 2px dashed #f0ad4e;
}


/* =========================================================
   LOW AMOUNT WARNING – Digital Platform Style
   ========================================================= */

.low-amount-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 24px 26px;
    margin-top: 20px;

    border-radius: 18px;

    /* Gradient coerente con card progetto */
    background: linear-gradient(
        135deg,
        rgba(255, 167, 38, 0.18),
        rgba(255, 202, 40, 0.30)
    );

    border: 1px solid rgba(255, 167, 38, 0.35);

    box-shadow:
        0 10px 28px rgba(255, 167, 38, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    color: #5f4300;
    font-size: 0.95rem;
    line-height: 1.6;

    animation: lowAmountFadeIn 0.35s ease-out;
    margin-bottom: 100px;
}


.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal {

    animation: modalFadeIn .15s ease-out;
    background-color: #FFF;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border-radius: 20px;
    position: relative;
}

@keyframes modalFadeIn {
    from { transform: scale(.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.custom-modal-header,
.custom-modal-footer {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.custom-modal-footer {
    border-top: 1px solid #eee;
    border-bottom: none;
    text-align: right;
}

.custom-modal-body {
    padding: 16px;
}

.close-modal {
    background: none;
    border: 0;
    font-size: 22px;
    cursor: pointer;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-lawyer-modal {
    cursor: pointer;
}

.party-lawyers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.party-lawyers-list li {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

/*NUOVI PAYMENT CARD */
.payment-feed-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.payment-feed-card.is-open {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

.payment-feed-card-header {
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.payment-feed-card-header:hover {
    background: rgba(0,0,0,.015);
}

.payment-feed-card-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,.06);
    display: none;
    background-color: #fbfbfb;
}

.payment-feed-card.is-open .payment-feed-card-body {
    display: block;
}

.payment-main-code {
    font-weight: 600;
    font-size: 1rem;
}

.payment-main-code small {
    font-weight: 300;
    font-size: .75rem;
    color: #999;
    display: inline-block;
    margin-left: 10px;
}

.payment-main-party {
    color: #6c757d;
    font-size: .92rem;
}

.payment-main-amount {
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
}

.payment-mini-meta {
    font-size: .82rem;
    color: #6c757d;
}
.payment-mini-meta-dark {
    font-size: .82rem;
    color: #000;
}

.payment-caret {
    transition: transform .2s ease;
}

.payment-feed-card.is-open .payment-caret {
    transform: rotate(180deg);
}

/* SEZIONE PAGAMENTI */
.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

.payment-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background: #fff;
    z-index: 1050;
    transition: right .3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
}

.payment-drawer.open {
    right: 0;
}

.payment-drawer-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.payment-drawer-body {
    padding: 20px;
    overflow-y: auto;
}

.payment-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: all .15s ease;
}

.payment-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.payment-card-header {
    cursor: pointer;
}

.payment-card-header small {
  font-size: 11px;
}

.payment-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight {
  background-color: #efefef;
  font-size: 13px;
  display: inline-block;
  margin-left: 10px;
}
.payment-expand {
    display: none;
}

.payment-card.open .payment-expand {
  display: block;
  background-color: whitesmoke;
  -webkit-border-bottom-right-radius: 15px;
  -webkit-border-bottom-left-radius: 15px;
  -moz-border-radius-bottomright: 15px;
  -moz-border-radius-bottomleft: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

.payment-card-header {
    cursor: pointer;
}

.ph {
  font-size: 120%;
  position: relative;
  bottom: -1px;
}

/* ===============================
   OVERLAY
=============================== */
.meeting-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
}

/* ===============================
   DRAWER BASE
=============================== */
.meeting-drawer {
    position: fixed;
    top: 0;
    right: -520px; /* fuori schermo */
    width: 520px;
    height: 100vh;
    background: #fff;
    z-index: 1050;

    box-shadow: -4px 0 20px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;

    transition: right .25s ease;
}

/* ===============================
   OPEN STATE
=============================== */
.meeting-drawer.open {
    right: 0;
}

/* ===============================
   HEADER
=============================== */
.meeting-drawer-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===============================
   BODY
=============================== */
.meeting-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.adhesion-reminder .adhesion-title {
  border-radius: 22px !important;
  font-weight: 600 !important;
}

.adhesion-reminder p {
  font-size: 14px !important;
}

/* ICON */
.low-amount-icon {
    min-width: 54px;
    height: 54px;
    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #ffa726,
        #ffca28
    );

    color: #ffffff;
    font-size: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 18px rgba(255, 167, 38, 0.45);
}

/* CONTENT */
.low-amount-content strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4e3600;
}

.low-amount-content p {
    margin: 0;
    opacity: 0.92;
}

/* ===============================
   OVERLAY
=============================== */
.participation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 1040;
}

/* ===============================
   DRAWER
=============================== */
.participation-drawer {

    position: fixed;
    top: 0;
    right: -620px; /* nascosto */

    width: 620px;
    height: 100%;

    background: #fff;
    box-shadow: -5px 0 25px rgba(0,0,0,.15);

    z-index: 1050;

    display: flex;
    flex-direction: column;

    transition: right .3s ease;
}

/* OPEN STATE */
.participation-drawer.open {
    right: 0;
}

/* ===============================
   HEADER
=============================== */
.participation-drawer-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===============================
   BODY
=============================== */
.participation-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}


/* ===============================
   Drawer base (riusa stile payments/meetings)
   Se hai già classi globali, puoi togliere questa parte
=============================== */
.drawer-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 2000;
}
.drawer-panel{
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    z-index: 2100;
    box-shadow: -10px 0 25px rgba(0,0,0,.15);
    transition: right .25s ease;
    display: flex;
    flex-direction: column;
}
.drawer-panel.open{ right: 0; }
.drawer-header{
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.drawer-body{
    padding: 16px;
    overflow:auto;
}

/* ===============================
   Documents blocks
=============================== */
.docs-block{
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    overflow: hidden;
    background:#fff;
}
.docs-block-header{
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.docs-private .docs-block-header{ background: rgba(33,37,41,.06); }
.docs-parties .docs-block-header{ background: rgba(13,202,240,.10); }
.docs-all .docs-block-header{ background: rgba(25,135,84,.10); }

.docs-block-body{
    padding: 10px 14px;
}
.doc-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,.12);
}
.doc-row:last-child{ border-bottom:0; }
.doc-title{
    display:flex;
    align-items:center;
    gap: 8px;
}
.doc-actions i{
    font-size: 18px;
}
.doc-actions i:hover{
    opacity: .75;
}


/* ===============================
   SNACKBAR BASE
=============================== */
.snackbar {
    visibility: hidden;
    min-width: 320px;
    max-width: 420px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 12px;
    padding: 14px 18px;
    position: fixed;
    z-index: 9999;
    right: 30px;
    bottom: 30px;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all .35s ease;
}

/* SHOW */
.snackbar.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* SUCCESS */
.snackbar-success {
    background: linear-gradient(135deg,#28a745,#20c997);
}

/* ERROR */
.snackbar-error {
    background: linear-gradient(135deg,#dc3545,#ff6b6b);
}

.login-hero-img {
    max-height: 420px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .login-hero-img {
        max-height: 520px;
    }
}

/* ===============================
   FORGOT LINK
=============================== */

.forgot-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #6c757d;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* ===============================
   SUBSCRIBE BTN
=============================== */

.subscribe-btn {
    border-radius: 10px;
    font-weight: 500;
}

/* ===============================
   DIVIDER
=============================== */

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #999;
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
}

.login-divider span {
    padding: 0 12px;
}

/* ===============================
   SOCIAL
=============================== */

.social-login {
    margin-top: 5px;
}

.social-btn {
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    background: #f8f9fa;
}

/* ICONS */
.social-icon {
    width: 18px;
    height: 18px;
}

/* BRAND COLORS HOVER */

.google-btn:hover {
    border-color: #db4437;
}

.linkedin-btn:hover {
    border-color: #0a66c2;
}

/* ===============================
   SOCIAL ICONS INLINE
=============================== */

.social-login-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

/* BTN */

.social-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #444;
    text-decoration: none;
    transition: all .15s ease;
}

/* HOVER EFFECT */

.social-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

/* BRAND COLORS */

.social-icon-btn.google:hover {
    color: #db4437;
    border-color: #db4437;
}

.social-icon-btn.linkedin:hover {
    color: #0a66c2;
    border-color: #0a66c2;
}

.login-page-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* limita immagine */

.login-hero-img {
    max-height: 420px;
    object-fit: contain;
}

/* ===========================================
   AUTO SAVE FIELD FEEDBACK
=========================================== */

/* stato saving */
.field-saving {
    border-color: #fd7e14 !important;
    box-shadow: 0 0 0 0.15rem rgba(253,126,20,.25);
}

/* stato success */
.field-saved {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.15rem rgba(25,135,84,.25);
}

/* stato error */
.field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220,53,69,.25);
}

/* icon container */
.field-save-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    opacity: 0;
    transition: all .25s ease;
    pointer-events: none;
}

/* visibile */
.field-save-icon.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* colori icone */
.field-save-icon.success i {
    color: #198754;
}

.field-save-icon.error i {
    color: #dc3545;
}

.field-save-icon.saving i {
    color: #fd7e14;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}



/* container relativo */

.form-floating {
    position: relative;
}

/* icona stato */

.field-save-indicator {
    position: absolute;
    top: 55%;
    right: 25px;
    transform: translateY(-50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    font-size: 20px;
    font-weight: bold;
}

/* stati */

.field-save-indicator.saving {
    opacity: 1;
    color: #6c757d;
    transform: translateY(-50%) scale(1);
}

.field-save-indicator.success {
    opacity: 1;
    color: #198754;
    transform: translateY(-50%) scale(1.1);
}

.field-save-indicator.error {
    opacity: 1;
    background-color: #dc3545;
    border-radius: 50%;
    width: 25px;
    height: 25px;    
    padding: 2px;
    color: #FFF;
    position: absolute;
    right: 15px;

}

.field-save-indicator.success {
    animation: popSuccess .35s ease;
    background-color: green;
    border-radius: 50%;
    width: 25px;
    height: 25px;    
    padding: 2px;
    color: #FFF;
    position: absolute;
    right: 15px;

}

.user-avatar-preview-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
}

.user-avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-avatar {
  font-size: 80px;
  color: #CCC;
}

/* =========================================
   ODR TOOLTIP — NOTION / LINEAR STYLE
========================================= */

.odr-tooltip {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(.98);
    transition: opacity .16s ease, transform .16s ease;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.odr-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* BOX */
.odr-tooltip-inner {
    background: #1f1f1f;
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    max-width: 260px;
    backdrop-filter: blur(6px);
}

/* ARROW */
.odr-tooltip-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #1f1f1f;
    transform: rotate(45deg);
}

@keyframes popSuccess {
    0%   { transform: translateY(-50%) scale(.6); }
    70%  { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

@media (max-width: 991px) {

    .min-vh-100 {
        min-height: auto !important;
    }

}

.adhesion-admin-action {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 12px;
    padding: 5px 10px;
}

.partRecap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* opzionale → evita che il nome vada sotto */
.partRecap b,
.partRecap > span:first-child {
    flex: 1;
}

/* badge adesione */
.joined-list {
    margin-left: 10px;
    white-space: nowrap;
}

.joined-badge {
    background: #e7f7ee;
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.powered {
 font-size: 12px !important;
 text-transform: uppercase;
 color: #FFF;
 padding: 20px;
 position: absolute;
 bottom: 0px;
}

.powered img {
  width: 200px;
  display: block;
}

.status-timeline{
    position: relative;
}

.status-item{
    position: relative;
    display: flex;
    gap: 10px;
    padding: 10px 0;
}
.status-item:not(:last-child)::after{
    content:'';
    position:absolute;
    left: 4px;
    top: 18px;
    bottom: -10px;
    width: 2px;
    background: rgba(0,0,0,.08);
}
.status-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(13,110,253,.65);
    margin-top: 4px;
    flex: 0 0 10px;
}
.status-content{
    width: 100%;
    min-width: 0;
}
.mini-data {
  font-size: 11px;
}

.button-dashboard {
    background-color: #007bff;
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s ease;
    font-weight: 100 !important;
}

.button-dashboard h2 {
    font-weight: 200 !important;
    color: #FFFFFF !important;
}

.button-dashboard .ph {
    color: #FFFFFF !important;
}

.button-dashboard h2 span {
    font-weight: 800 !important;
}

.button-dashboard span {
    font-weight: 300 !important;
    color: #FFFFFF !important;
}

.button-dashboard {
    color: #FFF !important;
    text-decoration: none;
}
.button-dashboard:hover {
    background-color: #0056b3;
    color: #FFFFFF !important;
}

.app-tour {
  border-color: #DE4859;
  color: #DE4859;
  padding: 4px 12px;
  border-radius: 7px;
  font-size: 15px;
  border: 0px;
  background-image: linear-gradient(290deg, #c644b3 0%, #922c57 100%);
  text-align: left;
  color: #FFF;
}

.app-tour-large {
  border-color: #DE4859;
  color: #DE4859;
  padding: 21px 20px;
  border-radius: 20px;
  font-size: 18px;
  border: 0px;
  background-image: linear-gradient(290deg, #c644b3 0%, #922c57 100%);
  width: 100%;
  text-align: left;
  color: #FFF;
}


/* Contenitore principale del Popover */
.driver-popover.driverjs-theme {
  background-color: #ffffff;
  color: #1e293b; /* Grigio scuro SaaS */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  border: 1px solid #e2e8f0;
}

/* Titolo */
.driver-popover.driverjs-theme .driver-popover-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Descrizione (testo) */
.driver-popover.driverjs-theme .driver-popover-description {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

/* Pulsanti */
.driver-popover.driverjs-theme .driver-popover-footer button {
  text-shadow: none !important;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-weight: 600;
  padding: 6px 12px;
  transition: all 0.2s;
}

/* Pulsante "Avanti" o "Fine" (Action button) */
.driver-popover.driverjs-theme .driver-popover-next-btn {
  background-color: #6366f1 !important; /* Indigo SaaS */
  color: #ffffff !important;
  border: none !important;
}

.driver-popover.driverjs-theme .driver-popover-next-btn:hover {
  background-color: #4f46e5 !important;
}

/* Progress bar (il testo 1/3) */
.driver-popover.driverjs-theme .driver-popover-progress-text {
  color: #94a3b8;
  font-size: 12px;
}

/* Transizione fluida per il cambio larghezza */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Testo verticale per la colonna collassata */
.vertical-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 20px 0;
    margin: 0 auto;
    color: #0d6efd;
}

/* Classe custom per la sidebar quando è chiusa */
.sidebar-collapsed {
    width: 50px !important; /* Larghezza minima */
    flex: 0 0 50px !important;
    max-width: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.legal-recap {
    background:#fff;
    padding:20px 10px;
    font-size:14px;
    line-height:1.6;
}

.recap-section-title {
    margin-top:40px;
    margin-bottom:10px;
    font-weight:600;
    border-bottom:1px solid #ddd;
    padding-bottom:5px;
}

.recap-table {
    width:100%;
    border-collapse:collapse;
    margin-bottom:20px;
}

.recap-table td,
.recap-table th {
    padding:8px 4px;
    border-bottom:1px solid #eee;
    text-align:left;
}

.recap-table th {
    font-weight:600;
    background:#fafafa;
}

.recap-description {
    white-space:pre-line;
}

.recap-empty {
    font-style: italic;
    color: #666;
    margin: 5px 0 20px 0;
}

/*AI*/
/* AI SUMMARY */
.ai-summary-text{
    background:#f8f9fa;
    padding:15px;
    border-left:4px solid #6c757d;
    font-size:14px;
}

/* METER */
.ai-meter{
    width:100%;
    height:32px;
    background:#e9ecef;
    border-radius:20px;
    overflow:hidden;
}

.ai-meter-bar{
    height:100%;
    background:linear-gradient(90deg,#28a745,#20c997);
    color:#fff;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
}

/* RISK LIST */
.ai-risk-list{
    list-style:none;
    padding-left:0;
    font-size:14px;
}

.ai-risk-list li{
    margin-bottom:8px;
}

/* COMING BOX */
.ai-coming-box{
    background:#ffffff;
    border:1px dashed #ced4da;
    padding:40px;
    border-radius: 30px;
}


/* MOBILE: icona sopra al testo */
@media (max-width: 768px) {
    .low-amount-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .low-amount-icon {
        margin-bottom: 12px;
    }

    .powered {
      display: none;
    }

    .dash-row-column {
        border-right: none !important;
    }
}

/* ANIMAZIONE */
@keyframes lowAmountFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn {
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;

  border: 1px solid transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.06),
    0 6px 18px rgba(16, 24, 40, 0.10);

  transition:
    all 0.2s ease;
    border: none !important;
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
}

.btn:active {
  transform: translateY(0) scale(0.995);
}

.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(16, 24, 40, 0.12),
    0 6px 18px rgba(16, 24, 40, 0.12);
}

.btn-sm {
  padding: 0.48rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 15px;
  letter-spacing: 0.01em;
  gap: 0.3rem;
}


.meetings-page .card {
    overflow: hidden;
}

.meetings-agenda-panel {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

#meetingsAgendaList {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 6px;
}

.agenda-year-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.agenda-month-title {
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: .75rem;
}

.agenda-item {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
    transition: all .18s ease;
    cursor: pointer;
}

.agenda-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.agenda-item-title {
    font-weight: 600;
    font-size: .98rem;
}

.agenda-item-meta {
    font-size: .88rem;
}

.agenda-item-desc {
    line-height: 1.35;
}

.meetings-page.compact-mode .agenda-item-desc {
    display: none;
}

.meetings-page.compact-mode .agenda-item {
    padding: 10px 12px;
}

#meetingsCalendar {
    min-height: 780px;
}

@media (max-width: 1199.98px) {
    .meetings-agenda-panel {
        position: static;
        max-height: none;
    }

    #meetingsAgendaList {
        max-height: none;
        overflow: visible;
    }

    #meetingsCalendar {
        min-height: 620px;
    }
}


.analytics-super .analytics-kpi-card,
.analytics-super .card {
    overflow: hidden;
}

.analytics-kpi-label {
    font-size: .82rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .35rem;
}

.analytics-kpi-value {
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
}

.analytics-kpi-sub {
    margin-top: .35rem;
    color: #6c757d;
    font-size: .9rem;
}

.chart-box {
    height: 320px;
}

.chart-box-lg {
    height: 380px;
}

@media (max-width: 1199.98px) {
    .chart-box,
    .chart-box-lg {
        height: 320px;
    }
}







.user-dashboard-sql .dashboard-action-card {
    border-radius: 22px;
    padding: 18px 20px;
    min-height: 110px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.user-dashboard-sql .dashboard-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0,0,0,.12);
    color: #fff;
}

.user-dashboard-sql .fintech-primary {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.user-dashboard-sql .fintech-secondary {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

.user-dashboard-sql .fintech-dark {
    background: linear-gradient(135deg, #111827 0%, #334155 100%);
}

.user-dashboard-sql .dashboard-action-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    font-size: 1.7rem;
    margin-right: 14px;
    flex: 0 0 58px;
}

.user-dashboard-sql .dashboard-action-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 4px;
}

.user-dashboard-sql .dashboard-action-sub {
    font-size: .86rem;
    line-height: 1.3;
    opacity: .95;
}

.user-dashboard-sql .dash-card-link,
.user-dashboard-sql .dash-card-link:link,
.user-dashboard-sql .dash-card-link:visited,
.user-dashboard-sql .dash-card-link:hover,
.user-dashboard-sql .dash-card-link:focus,
.user-dashboard-sql .dash-card-link:active {
    color: #fff !important;
    text-decoration: none !important;
}

.user-dashboard-sql .user-kpi-card {
    overflow: hidden;
}

.user-dashboard-sql .user-kpi-label {
    font-size: .76rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: .3rem;
}

.user-dashboard-sql .user-kpi-value {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.mediation-compact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mediation-compact-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    transition: transform .15s ease, box-shadow .15s ease;
}

.mediation-compact-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,.06);
}

.mediation-compact-head {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: rgba(248,249,250,.78);
}

.mediation-compact-body {
    padding: 13px 16px;
}

.mediation-compact-foot {
    padding: 8px 16px;
    border-top: 1px solid rgba(0,0,0,.06);
    background: rgba(248,249,250,.55);
}

.mediation-compact-code {
    font-weight: 800;
    font-size: .98rem;
    letter-spacing: -.02em;
}

.compact-label {
    font-size: .68rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: .05em;
}

.compact-value {
    font-weight: 600;
    line-height: 1.2;
    font-size: .92rem;
}

.compact-subvalue {
    font-size: .78rem;
    color: #6c757d;
    line-height: 1.25;
    margin-top: 2px;
}

.mediation-compact-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.mediation-card-col.d-none-by-filter {
    display: none !important;
}

.user-dashboard-sql .badge {
    font-size: .68rem;
    font-weight: 700;
}

.user-dashboard-sql .btn.btn-sm {
    font-size: .78rem;
}

.mediation-card-draft {
    border: 1px dashed grey;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
}

.mediation-card-draft .mediation-compact-head {
    background: linear-gradient(
        90deg,
        rgba(245, 158, 11, 0.10) 0%,
        rgba(248, 249, 250, 0.88) 28%,
        rgba(248, 249, 250, 0.78) 100%
    );
}

.mediation-card-draft:hover {
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.04);
}

/* evita il verde hover globale sui link nelle card */
.mediation-compact-card a:not(.btn),
.mediation-compact-card a:not(.btn):link,
.mediation-compact-card a:not(.btn):visited,
.mediation-compact-card a:not(.btn):hover,
.mediation-compact-card a:not(.btn):focus,
.mediation-compact-card a:not(.btn):active {
    color: inherit !important;
    text-decoration: none !important;
}

@media (max-width: 991.98px) {
    .user-dashboard-sql .dashboard-action-card {
        min-height: 96px;
    }

    .mediation-compact-head,
    .mediation-compact-body,
    .mediation-compact-foot {
        padding-left: 14px;
        padding-right: 14px;
    }
}


.partRecap-elegant {
    margin-bottom: 10px;
}

.party-status-joined {
    background: rgba(76, 187, 23, 0.12);
    color: #237804;
    border-color: rgba(76, 187, 23, 0.22);
}

.party-status-invited {
    background: rgba(245, 158, 11, 0.12);
    color: #a16207;
    border-color: rgba(245, 158, 11, 0.24);
}

.party-status-rejected {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.24);
}

.party-status-pending {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.22);
}


.party-mini-summary {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.party-mini-summary-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    margin-bottom: 10px;
}

.party-mini-chart-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px auto;
    position: relative;
}

.party-mini-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.party-mini-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 10px;
    padding: 6px 8px;
    background: rgba(248,249,250,.7);
}

.party-mini-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
}

.party-mini-value {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
}

.party-mini-legend {
    font-size: 10px;
    color: #6b7280;
    text-align: left;
    display: grid;
    gap: 4px;
}

.party-mini-legend .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot-total { background: #94a3b8; }
.dot-invited { background: #f59e0b; }
.dot-joined { background: #22c55e; }
.dot-rejected { background: #ef4444; }


.partRecap-main {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    width: 100%;
}



.partRecap-name {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.25;
    color: #1f2937;
}

.partRecap-line {
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(148, 163, 184, 0.35),
        rgba(148, 163, 184, 0.8)
    );
    min-width: 14px;
}

.party-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid #efefef;
}

.party-mini-summary {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
    min-width: 0;
}

.party-mini-summary-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    margin-bottom: 8px;
}

.party-mini-chart-wrap {
    width: clamp(48px, 90%, 88px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 8px auto;
    position: relative;
    overflow: hidden;
}

.party-mini-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.party-mini-total {
    font-size: 11px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: .03em;
}

.party-mini-block {
    border-top: 1px dashed rgba(0,0,0,.08);
    padding-top: 7px;
    margin-top: 7px;
    text-align: left;
}

.party-mini-block-title {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.party-mini-inline-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #111827;
}
