@import url("https://rsms.me/inter/inter.css");
@import url('https://fonts.cdnfonts.com/css/get-show');

@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.2);
  }

  30% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

:root {
  --gs-primary-color: #063e91;
}

/* ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border: 0px none #ffffff;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8f8f8f;
}
::-webkit-scrollbar-thumb:active {
  background: #4d4d4d;
}
::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none #ffffff;
  border-radius: 50px;
}
::-webkit-scrollbar-corner {
  background: transparent;
} */

:root {
  --header-height: 4.5rem;
  --nav-width: 68px;
  --first-color: var(--bs-body-color);
  --first-color-light: #e2edff;
  --white-color: #f7f6fb;
  --z-fixed: 1000;
}

*,
::before,
::after {
  box-sizing: border-box;
}

* {
  font-family: "Inter", "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

html {
  width: 100%;
  height: 100%;
  scroll-beavior: initial !important;
}

body {
  /* margin: var(--header-height) 0 0 0; */
  transition: all 0.5s;
  width: 100%;
  height: 100%;
}

html:not(.homepage) body {
  background:
    radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.16), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(59, 130, 246, 0.28), transparent 60%),
    linear-gradient(135deg, #111827, #020617 55%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: #e5e7eb;
}

a {
  text-decoration: none;
}

#debug {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 0;
}

.primary-color {
  color: var(--bs-primary);
}

label.radio {
  cursor: pointer;
  width: 100%;
}

label.radio input {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}

label.radio span {
  padding: 0.5rem;
  font-size: 0.8rem;
  display: grid;
  justify-items: center;
  color: var(--bs-dark);
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgb(226, 226, 226);
}

label.radio.left span {
  border-bottom-left-radius: 1rem;
  border-top-left-radius: 1rem;
}

label.radio.right span {
  border-bottom-right-radius: 1rem;
  border-top-right-radius: 1rem;
}

.aspNetDisabled {
  display: none !important;
}

label.radio input:checked+span {
  background-color: var(--bs-dark);
  color: #fff;
}

label.radio span.aspNetDisabled+span {
  color: rgb(119, 119, 119);
  cursor: not-allowed;
}

.radio-container {
  background-color: #efefef;
  border-radius: 1.25rem;
  padding: 0.4rem;
}

.logo-homepage {
  text-align: center;
}

#holder {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
}

#effect {
  width: 100%;
  height: 100%;
}

.homepage {
  overflow: hidden;
  max-width: 100%;
  max-height: 100%;
}

/*
.logo-text,
#throwable {
  font-family: 'Get Show', 'Inter', sans-serif;
  font-size: 15rem;
  /*font-weight: bold;*/
/*text-align: center;
  line-height: .8;
  color: var(--bs-dark);*/
/*-webkit-text-stroke: 3px black;
  text-stroke: 3px black;
  text-shadow: 6px 6px black;*/
/*}*/

.typed-container #secondaScritta {
  font-size: min(5vw, 3rem);
  /* font-size: 3rem; */
  font-family: 'Get Show';
}

.logo-text,
#throwable {
  font-size: min(11vw, 11rem);
  /* font-size: 10rem; */
  font-weight: bold;
  text-align: center;
  line-height: 1;
  color: white;
  -webkit-text-stroke: 3px black;
  text-shadow: 6px 6px black;
}

.text-homepage {
  height: 50vh;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
}

.typed,
.typed-cursor {
  font-size: 2rem;
}

.typed-container {
  width: 100%;
  text-align: center;
  margin-top: min(2vw, 2.0rem) !important;
  /* margin-top: 2.0rem!important; */
}

.faded {
  opacity: 0;
  transition: all .5s;
}

.fadeIn {
  opacity: 1;
  transition: all .5s;
}

.sliding-container {
  width: 100%;
  height: 3rem;
  overflow: hidden;
  white-space: nowrap;
}

.sliding-text {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  color: #777
}

html[data-theme="xmas"] #throwable span {
  position: relative;
}

html[data-theme="xmas"] #throwable span::before {
  content: '';
  width: 200px;
  height: 200px;
  background-image: url(../img/cappellinoDiNatale.png);
  background-size: 180px auto;
  position: absolute;
  background-repeat: no-repeat;
  transform: rotate(-13deg);
  top: -35px;
  left: -65px;
  -webkit-filter: drop-shadow(1px 1px 0 black) drop-shadow(1px -1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(-1px -1px 0 black);
  filter: drop-shadow(1px 1px 0 black) drop-shadow(1px -1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(-1px -1px 0 black);
}

@media screen and (max-width: 600px) {

  .logo-text,
  #throwable {
    font-size: calc(25*min(1vw, 1vh));
    /* font-size: 6rem; */
  }

  .logo-text:has(> #anniversary),
  #throwable:has(> #anniversary) {
    font-size: 5.25rem;
  }

  .text-homepage {
    font-size: 3rem;
  }

  .typed,
  .typed-cursor {
    font-size: 1.5rem;
  }

  .typed-container #secondaScritta {
    font-size: 2.5rem;
  }

  html[data-theme="xmas"] #throwable span::before {
    width: 150px;
    height: 150px;
    background-size: 105px auto;
    top: -22px;
    left: -32px;
  }
}

.copy {
  font-size: 1.1rem;
  font-weight: bold;
}

.homepage {
  width: auto;
  height: 100%;
}

.hidden {
  display: none !important;
}

.vertical-divider {
  width: 0.75rem;
}

label.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.input-group {
  flex-wrap: initial;
}

.right-normal-border-radius {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.toast-container {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: .5rem;
  z-index: 101;
}

.header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.3rem;
  z-index: var(--z-fixed);
  transition: 0.7s;
}

.header_toggle {
  color: var(--bs-dark);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  background-color: rgb(194 194 194 / 25%);
  backdrop-filter: blur(15px);
  color: #3a3a3a;
  transition: background .15s ease, color .15s ease;
  border: 2px solid #ececec;
  border-radius: 50%;
  height: 1.8rem;
  width: 1.8rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 2px 1px rgb(0 0 0 / 15%);
}

.header_img {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.header_img img {
  width: 40px;
}

.l-navbar {
  position: fixed;
  top: 0;
  left: -75%;
  height: 100%;
  background-color: var(--bs-dark);
  transition: 0.7s;
  z-index: var(--z-fixed);
  background-image: url(/Content/img/bg-nav.svg);
}

.flex-1 {
  flex: 1 1 0%;
}

.nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: var(--gs-primary-color);
}

.nav div a span,
.nav div a i {
  transition: 0.1s;
}

.nav_list a span {
  transform-origin: left;
}

.nav_list a::after {
  /*enlarge on hover*/
  /* transform: scale(1.05); */
  content: "";
  position: absolute;
  left: 0;
  width: 90%;
  height: 42px;
  margin-left: .5rem;
  /* background-color: #262c31; */
  background-color: red;
  z-index: -1;
  border-radius: .5rem;
  opacity: 0;
  transition: .3s;
}

/* .nav_name:hover {*/
/* transform: scale(1.05); */
/* } */

.nav a:not(.active):hover::after {
  opacity: 1;
}

.nav_logo,
.nav_link {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  column-gap: 1rem;
  padding: 0.5rem 1.8rem 0.5rem 1.5rem;
}

.nav_logo-icon {
  font-size: 1.25rem;
  color: var(--white-color);
}

.nav_logo-name,
.nav_logo-name sup {
  color: var(--white-color);
  font-weight: 700;
  transition: 0.1s;
  /* font-family: 'Druk Wide Bold'; */
}

.nav_logo-ws {
  color: var(--bs-primary);
  font-weight: 600;
  transition: 0.1s;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nav_logo-soldi {
  font-weight: 400;
  transition: 0.1s;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* .nav_logo-ws b{
  font-family: 'Druk Wide Bold', sans-serif;
} */

/* .nav_logo-name:hover { */
/* transform: scale(1.1); */
/* } */

.popover-body {
  padding: 2;
}

[data-name="popover-content"] {
  border-radius: .3rem;
}

.list-group-item {
  border: 0;
  border-bottom: 1px solid #ddd;
}

.list-group-items:last-child {
  border-bottom: 0;
}

.list-group-item:hover {
  cursor: pointer;
  background-color: #d2d3d4;
}

.nav_link {
  position: relative;
  color: #eee;
  margin-bottom: 1.5rem;
  transition: 0.3s;
}

#radio-text:active {
  transition: all .2s;
  transition-delay: 3s;
}

.form-control:focus,
.form-check-input:focus,
.form-select:focus,
#radio-text:active,
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(95, 95, 95, 1) !important;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #fff;
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / 7%);
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.accordion-button:not(.collapsed)::after,
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

.accordion-button::after {
  width: .75rem;
  height: .75rem;
  margin-right: 3px;
  background-size: .75rem;
}

.form-check-input:checked {
  background-color: var(--bs-dark);
  border-color: var(--bs-dark);
}

.nav_list {
  /* height: 75%; */
  /* max-height: 80%; */
  overflow: auto;
  position: relative;
}

.nav_logo:after {
  content: "";
  position: absolute;
  z-index: 200;
  left: 0;
  top: 53px;
  pointer-events: none;
  /* background-image: linear-gradient(to top, rgba(33, 37, 41, 0), rgba(33, 37, 41, 1) 40%); */
  width: 100%;
  height: 2rem;
}

.nav_login:before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 71px;
  pointer-events: none;
  /* background-image: linear-gradient(to bottom, rgba(33, 37, 41, 0), rgba(33, 37, 41, 1) 100%); */
  width: 100%;
  height: 3rem;
}

.nav_link:hover {
  color: var(--white-color);
}

.nav_icon {
  font-size: 1.25rem;
}

.btn-close {
  background-size: 0.75rem;
}

.l-navbar.show {
  left: 0;
}

h2 {
  font-weight: bold;
}

/*body*/
header.body-pd {
  /*position: relative;
  transform: translateX(calc(var(--nav-width)));
  -webkit-transform: translateX(calc(var(--nav-width) + 1rem))
}

.body-pd:not(body, .l-navbar) {*/
  padding-left: calc(var(--nav-width) + 12rem);
  padding-top: 1rem;
}

.container.h-100 {
  /* margin-top: var(--header-height);
  margin-bottom: var(--header-height); */
  transition: 0.5s;
}

.body-pd .container.h-100,
.body-pd #btn-back-to-top {
  pointer-events: none;
}

.active {
  color: var(--white-color);
}

.nav_link.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 90%;
  height: 42px;
  margin-left: .5rem;
  background-color: #363b3f;
  z-index: -1;
  border-radius: .5rem;
}

.height-100 {
  height: 100%;
}

.mainContent {
  padding-top: var(--header-height);
  padding-bottom: var(--header-height);
}

.party-bio {
  color: #063e91;
  background-color: #eaf2ff;
  border-color: #cde1fd;
}

.photo-div {
  width: 4rem;
  height: 4em;
  background: radial-gradient(circle at 30% 75%, #fed983 0%, #fd5949 55%, #cc1a93 80%);
  margin-left: 15px;
  padding: 3px;
}

.inner-photo-div {
  background-color: white;
  width: 100%;
  height: 100%;
  padding: 2px;
}

.inner-photo-div img {
  width: 100%;
  height: 100%;
}

input[type=file],
input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}

.party-info-div {
  text-align: left;
}

a:hover .party-info-div p.h6 {
  text-decoration: underline solid 1.5px;
}

.z-index-0 {
  z-index: 0;
}

.z-index--1 {
  z-index: -1;
}

.z-index-999 {
  z-index: 999;
}

#zform-plus-section,
#settings-section,
#site-section {
  padding-left: .75rem;
}

@media screen and (min-width: 1000px) {
  .header {
    height: calc(var(--header-height) + 1rem);
    padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    display: none;
  }

  header.body-pd {
    padding-left: calc(var(--nav-width) + 12rem);
  }

  .header_img {
    width: 40px;
    height: 40px;
  }

  .header_img img {
    width: 45px;
  }

  .l-navbar {
    /* width: var(--nav-width); */
    left: 0;
    box-shadow: 0 0 30px rgb(0 0 0 / 10%);
    /* }

  .l-navbar.show { */
    width: calc(var(--nav-width) + 165px);
  }

  /* header.body-pd,
  body {
  } */

  .header_toggle {
    display: none;
  }

  .mainContent,
  .body-pd .container.h-100,
  .body-pd #btn-back-to-top {
    opacity: 1;
  }

  .mainContent,
  .container.h-100,
  footer {
    padding-left: calc(var(--nav-width) + 156px);
  }

  footer p {
    display: inline;
  }

  label.radio span {
    font-size: 0.9rem;
  }

  table.iscrizioni tr:not(.no-data) td:last-child,
  table.iscrizioni tr:not(.no-data) th:last-child,
  #showAllButton {
    display: none !important;
  }

  table.iscrizioni tr.no-data td {
    height: 3rem;
  }

  .toast-container {
    top: 0;
  }
}

table.sondaggi tr td:nth-child(2),
table.sondaggi tr th:nth-child(2) {
  display: none !important;
}

.sortable th {
  transition: all 0.2s ease;
}

.sortable th.no-sort {
  pointer-events: none;
}

.sortable th:not(.no-sort) {
  cursor: pointer;
}

/* 
.sortable th:not(.no-sort)::after {
  content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='10px' height='10px' viewBox='0 0 10 10' version='1.1'%3E%3Cg id='surface1'%3E%3Cpath style=' stroke:none;fill-rule:nonzero;fill:rgb(40%25,40%25,40%25);fill-opacity:1;' d='M 1.460938 3.523438 L 6.539062 3.523438 C 6.605469 3.523438 6.660156 3.488281 6.691406 3.425781 C 6.71875 3.371094 6.714844 3.300781 6.675781 3.246094 L 4.128906 0.0625 C 4.097656 0.0234375 4.050781 0 4 0 C 3.949219 0 3.902344 0.0234375 3.871094 0.0625 L 1.324219 3.246094 C 1.285156 3.300781 1.28125 3.371094 1.308594 3.425781 C 1.339844 3.488281 1.394531 3.523438 1.460938 3.523438 Z M 1.460938 3.523438 '/%3E%3Cpath style=' stroke:none;fill-rule:nonzero;fill:rgb(40%25,40%25,40%25);fill-opacity:1;' d='M 6.539062 4.476562 L 1.460938 4.476562 C 1.394531 4.476562 1.339844 4.511719 1.308594 4.574219 C 1.28125 4.628906 1.285156 4.699219 1.324219 4.753906 L 3.871094 7.9375 C 3.902344 7.976562 3.949219 8 4 8 C 4.050781 8 4.097656 7.976562 4.128906 7.9375 L 6.675781 4.753906 C 6.714844 4.699219 6.71875 4.628906 6.691406 4.574219 C 6.660156 4.511719 6.605469 4.476562 6.539062 4.476562 Z M 6.539062 4.476562 '/%3E%3C/g%3E%3C/svg%3E%0A");
  padding-left: .4rem;
  transform: scale(1.1);
} */

/* .sortable th.dir-d,
.sortable th.dir-u {
  text-decoration: underline;
} */

.sortable th.dir-d,
.sortable th.dir-u {
  transform: scale(1.05);
}

.sortable th.dir-d::after {
  content: '\025BE';
  padding-left: .2rem;
  /* font-size: 1.1rem; */
}

.sortable th.dir-u::after {
  content: '\025B4';
  padding-left: .2rem;
  font-size: 1.1rem;
}



.bxs-heart {
  animation: heartbeat 2s infinite;
}

.vertical-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#btn-back-to-top {
  padding: 0.25rem 0 0 0;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  border-radius: 5rem;
  width: 3.5rem;
  height: 3.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgb(0 0 0 / 10%);
  z-index: var(--z-fixed);
}

#btn-back-to-top.visible {
  opacity: 1;
}

.sort-button {
  border-radius: 2rem !important;
  padding: .3rem .65rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--bs-dark);
  color: var(--white-color);
}

.dropdown-menu {
  border-radius: .5rem;
}

.card,
.mid-card,
.wide-card {
  position: relative;
  background-color: #fff;
  border: 2px solid #eee;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem;
  /* margin: 0 auto; */
}

.form-control,
.form-select {
  margin-top: 10px;
  /* height: 68px; */
  border-radius: 0.75rem;
}

.form-control,
.form-select,
.accordion-item {
  border: 2px solid #eee;
}

.terms {
  font-size: 13px;
  text-decoration: underline;
}

.alert {
  border-radius: 1rem;
}

.confirm-button {
  height: 50px;
  border-radius: 10px;
  width: 100%;
  margin-top: 0.5rem;
}

.btn {
  border-radius: 0.75rem;
}

/* Spazio tra gli accordion-item */
#MainContent_Changelog .accordion-item {
    margin-bottom: 1rem; /* spazio verticale tra gli item */
    border-radius: 1rem;  /* arrotondamento per uniformità */
    overflow: hidden;     /* per evitare che il contenuto esca dai bordi arrotondati */
}

/* Eventuale hover per evidenziare */
#MainContent_Changelog .accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease;
}

/* Bordo e sfondo dark per item */
#MainContent_Changelog .accordion-button {
    background-color: #121926; /* dark background */
    color: #e0e6f0; /* testo chiaro */
}

#MainContent_Changelog .accordion-button:not(.collapsed) {
    background-color: #1f2a3a; /* titolo aperto evidenziato */
    color: #4da6ff; /* blu evidenziato */
}

#MainContent_Changelog .accordion-body {
    background-color: #121926;
    color: #cbd5e1; /* testo secondario chiaro */
}


.accordion-item:last-of-type .accordion-button.collapsed,
.accordion-item:last-of-type {
  border-bottom-right-radius: .75rem;
  border-bottom-left-radius: .75rem;
}

.accordion-item:first-of-type .accordion-button,
.accordion-item:first-of-type {
  border-top-left-radius: .75rem;
  border-top-right-radius: .75rem;
}

/* .accordion-item,
.accordion-button {
  border-radius: 0.75rem!important;
} */

.accordion-item-tall,
.accordion-button-tall {
  border-radius: 1.5rem !important;
}

.accordion-item-tall-last,
.accordion-button-tall-last {
  border-radius: 0 0 1.5rem 1.5rem !important;
}

.accordion-item .rounded-bottom,
.accordion-button .rounded-bottom {
  border-radius: 0 0 1.5rem 1.5rem !important;
}

.accordion-item .rounded-top,
.accordion-button .rounded-top {
  border-radius: 1.5rem 1.5rem 0 0 !important;
}

.accordion-item-tall .rounded-bottom,
.accordion-button-tall .rounded-bottom {
  border-radius: 0 0 1.5rem 1.5rem !important;
}

.accordion-item-tall .rounded-top,
.accordion-button-tall .rounded-top {
  border-radius: 1.5rem 1.5rem 0 0 !important;
}

.accordion-button {
  height: calc(3.5rem - 2px);
  line-height: 1.25;
  padding: 1rem .75rem;
}

.accordion-button-tall,
.accordion-button-tall-last {
  height: calc(4.5rem - 2px);
}

.accordion-body {
  padding: 1.5rem;
}

.card:has(.accordion-item-tall.collapsed) {
  box-shadow: none;
}

.card:has(.accordion-item-tall) {
  border-radius: 1.5rem 1.5rem 0 0;
}

.card:has(.accordion-item-tall-last) {
  border-radius: 0 0 1.5rem 1.5rem;
}

button i,
.btn i,
.homepage i {
  position: relative;
  top: .1em;
  font-size: 1.1rem;
}

.little-rounded {
  border-radius: 0.45rem;
}

.navbar-brand {
  font-weight: bold;
}

.noMoreParties {
  text-align: center;
  color: #999;
  font-weight: normal;
}

/* .navbar-brand sup {
  text-transform: uppercase;
} */

.card {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-device-width: 1000px) {
  .mid-card {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

hr {
  margin: 2.5rem 1rem;
  background-color: #888;
}

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* ------------------------------------ */
a {
  color: var(--bs-dark);
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:hover {
  color: inherit
}

a:focus {
  outline: none !important;
}

.text-danger-secondary a {
  color: #842029;
}

/* ------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {
  margin: 0px;
}

/* .form-check-label {
  margin-top: .5rem;
} */

ul,
li {
  margin: 0px;
  /* list-style-type: none; */
}

/* ------------------------------------ */

textarea {
  display: block;
  outline: none;
}

textarea:focus,
input:focus {
  border-color: rgba(95, 95, 95, 1);
}

/* ------------------------------------ */
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ Utiliti ]*/

/*//////////////////////////////////////////////////////////////////
[ Table ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.table100 {
  transition: width 0.2s ease;
}

.container-table100 {
  width: 100%;
  min-height: 100vh;
  background: #c850c0;
  background: -webkit-linear-gradient(45deg, #4158d0, #c850c0);
  background: -o-linear-gradient(45deg, #4158d0, #c850c0);
  background: -moz-linear-gradient(45deg, #4158d0, #c850c0);
  background: linear-gradient(45deg, #4158d0, #c850c0);

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 33px 30px;
}

.wrap-table100 {
  width: 1170px;
}

table {
  border-spacing: 1;
  background: white;
  border: 3px solid #eee;
  border-collapse: separate !important;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

table * {
  position: relative;
}

table td,
table th {
  padding-left: 8px;
}

table .table100-head th {
  height: 60px;
  /* min-width: 100px; */
  /* background: #36304a; */
}

table tbody tr {
  /* height: 50px; */
}

table tbody tr:last-child {
  border: 0;
}

table td,
table th {
  padding: .4rem;
  text-align: center;
  margin-right: 1rem;
  /* max-width: 1rem;
  white-space: nowrap;
  overflow: auto; */
}

table td.l,
table th.l {
  text-align: left;
}

table td.c,
table th.c {
  text-align: center;
}

table td.r,
table th.r {
  text-align: right;
}



table tr td input[type="checkbox"] {
  transform: scale(1.2);
}

.table100-head th {
  font-size: 15px;
  /* word-break: break-all; */
  color: #666;
  ;
  line-height: 1.2;
  font-weight: bold;
}

tbody tr:nth-child(odd) {
  background-color: #f5f5f5;
}

tbody tr,
td a {
  font-size: 15px;
  color: #808080;
  line-height: 1.2;
  font-weight: unset;
}

td a {
  /*text-decoration: underline;*/
}

/* 
tbody tr:hover {
  color: #555555;
  background-color: #f5f5f5;
  cursor: pointer;
} */

.column1 {
  width: 260px;
  padding-left: 40px;
}

.column2 {
  width: 160px;
}

.column3 {
  width: 245px;
}

.column4 {
  width: 110px;
  text-align: right;
}

.column5 {
  width: 170px;
  text-align: right;
}

.column6 {
  width: 222px;
  text-align: right;
  padding-right: 62px;
}

#cb-cookie-banner {
  display: flex;
  background-color: #eee;
  border: 2px solid #d0d0d0;
  position: fixed;
  width: 10rem;
  height: 4.5rem;
  bottom: 50%;
  transform: translateY(50%);
  right: -7.5rem;
  font-size: 2.2rem;
  z-index: 100;
  border-radius: 1.5rem;
  padding: 0;
  padding-left: .5rem;
  transition: all .4s;
  font-weight: bold;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

/*.toast {
  border-radius: .5rem;
  background-color: rgba(255, 255, 255, 1);
}*/

.toast-header {
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.toast-icon {
  font-size: 1.5rem;
}

#cb-cookie-banner:hover {
  right: -4.25rem;
}

#cb-cookie-banner i {
  opacity: 0;
  transition: all .4s;
}

#cb-cookie-banner:hover+i {
  opacity: 1;
}

#cb-cookie-banner div {
  width: fit-content;
  height: fit-content;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#cb-cookie-banner div.vertical-text {
  font-size: 1rem;
  color: black;
  writing-mode: vertical-rl;
  padding: 0 0 0 .25rem;
}

#TerminalOutput {
  padding-top: 1rem;
  resize: vertical;
  font-family: 'Courier New', Courier, monospace;
}

table.foto tbody tr th:nth-child(2),
table.foto tbody tr td:nth-child(2) {
  display: none;
}

table.foto tbody tr th:nth-child(2),
table.foto tbody tr td:nth-child(2) {
  display: none;
}

table.cancellazione tbody tr th:nth-child(2),
table.cancellazione tbody tr th:nth-child(2):before table.cancellazione tbody tr td:nth-child(2),
table.cancellazione tbody tr td:nth-child(2):before {
  display: none;
}

table.errorLog tr td:nth-child(1),
table.errorLog tr td:nth-child(1):before,
table.errorLog tr th:nth-child(1),
table.errorLog tr th:nth-child(1):before {
  display: none;
}

table.errorLog_2 tr td:nth-child(1),
table.errorLog_2 tr td:nth-child(1):before,
table.errorLog_2 tr th:nth-child(1),
table.errorLog_2 tr th:nth-child(1):before {
  display: none;
}

table.errorLog tr td:nth-child(6),
table.errorLog tr td:nth-child(6):before,
table.errorLog tr th:nth-child(6),
table.errorLog tr th:nth-child(6):before {
  display: none;
}

table.errorLog tr td:nth-child(7),
table.errorLog tr td:nth-child(7):before,
table.errorLog tr th:nth-child(7),
table.errorLog tr th:nth-child(7):before {
  display: none;
}

table.errorLog tr td:nth-child(10),
table.errorLog tr td:nth-child(10):before,
table.errorLog tr th:nth-child(10),
table.errorLog tr th:nth-child(10):before {
  display: none;
}

table.errorLog_3 tr td:nth-child(1),
table.errorLog_3 tr td:nth-child(1):before,
table.errorLog_3 tr th:nth-child(1),
table.errorLog_3 tr th:nth-child(1):before {
  display: none;
}

table.errorLog_3 tr td:nth-child(6),
table.errorLog_3 tr td:nth-child(6):before,
table.errorLog_3 tr th:nth-child(6),
table.errorLog_3 tr th:nth-child(6):before {
  display: none;
}

table.errorLog_3 tr td:nth-child(7),
table.errorLog_3 tr td:nth-child(7):before,
table.errorLog_3 tr th:nth-child(7),
table.errorLog_3 tr th:nth-child(7):before {
  display: none;
}

table.errorLog_3 tr td:nth-child(10),
table.errorLog_3 tr td:nth-child(10):before,
table.errorLog_3 tr th:nth-child(10),
table.errorLog_3 tr th:nth-child(10):before {
  display: none;
}

table.iscrizioni tr td:nth-child(2),
table.iscrizioni tr td:nth-child(2):before,
table.iscrizioni tr th:nth-child(2),
table.iscrizioni tr th:nth-child(2):before {
  display: none;
}

table.iscrizioni tr:not(.no-data) td:nth-child(2),
table.iscrizioni tr:not(.no-data) td:nth-child(2),
table.iscrizioni tr:not(.no-data) td:nth-child(2):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(2),
table.iscrizioni.new tr td:nth-child(2):before,
table.iscrizioni.new tr th:nth-child(2),
table.iscrizioni.new tr th:nth-child(2):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(3),
table.iscrizioni.new tr td:nth-child(3):before,
table.iscrizioni.new tr th:nth-child(3),
table.iscrizioni.new tr th:nth-child(3):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(6),
table.iscrizioni.new tr td:nth-child(6):before,
table.iscrizioni.new tr th:nth-child(6),
table.iscrizioni.new tr th:nth-child(6):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(7),
table.iscrizioni.new tr td:nth-child(7):before,
table.iscrizioni.new tr th:nth-child(7),
table.iscrizioni.new tr th:nth-child(7):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(8),
table.iscrizioni.new tr td:nth-child(8):before,
table.iscrizioni.new tr th:nth-child(8),
table.iscrizioni.new tr th:nth-child(8):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(9),
table.iscrizioni.new tr td:nth-child(9):before,
table.iscrizioni.new tr th:nth-child(9),
table.iscrizioni.new tr th:nth-child(9):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(10),
table.iscrizioni.new tr td:nth-child(10):before,
table.iscrizioni.new tr th:nth-child(10),
table.iscrizioni.new tr th:nth-child(10):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(11),
table.iscrizioni.new tr td:nth-child(11):before,
table.iscrizioni.new tr th:nth-child(11),
table.iscrizioni.new tr th:nth-child(11):before {
  display: none;
}

table.iscrizioni.new tr td:nth-child(12),
table.iscrizioni.new tr td:nth-child(12):before,
table.iscrizioni.new tr th:nth-child(12),
table.iscrizioni.new tr th:nth-child(12):before {
  display: none;
}


table.feste tr td:nth-child(1),
table.feste tr th:nth-child(1) {
  display: none !important;
}

table.feste tr td:nth-child(5),
table.feste tr th:nth-child(5) {
  display: none !important;
}

table.utenti tr td:nth-child(1),
table.utenti tr th:nth-child(1) {
  display: none !important;
}

table.utenti tr td:nth-child(2),
table.utenti tr th:nth-child(2) {
  display: none !important;
}

table.ruoli tr td:nth-child(1),
table.ruoli tr th:nth-child(1) {
  display: none !important;
}

table.gruppi tr td:nth-child(1),
table.gruppi tr th:nth-child(1) {
  display: none !important;
}

table.gruppi tr td:nth-child(4),
table.gruppi tr th:nth-child(4) {
  display: none !important;
}

table.binder tr td:nth-child(1),
table.binder tr th:nth-child(1) {
  display: none !important;
}

table.binder tr td:nth-child(4),
table.binder tr th:nth-child(4) {
  display: none !important;
}

table.preventivi tr td:nth-child(1),
table.preventivi tr th:nth-child(1) {
  display: none !important;
}

table.preventivi tr td:nth-child(5),
table.preventivi tr th:nth-child(5) {
  display: none !important;
}

table.preventivi tr td:nth-child(6),
table.preventivi tr th:nth-child(6) {
  display: none !important;
}

table.foto {
  table-layout: fixed;
}

table.foto tbody tr td:nth-child(7) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zform-badge {
  transition: all .2s;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-color: #ccc !important;
}

.zform-badge:hover {
  transform: scale(1.1);
}

.badge {
  border-radius: .8rem;
}

.badge-dot {
  padding: .3rem;
  right: .5rem;
  left: 2.25rem;
  top: .25rem;
}

.demo-ribbon {
  float: right;
  top: 1rem;
  right: -3rem;
  font-size: .9rem;
  position: fixed;
  transform: rotate(40deg);
  background: rgb(189, 1, 1);
  color: white;
  font-weight: bolder;
  padding: 0 4rem;
  border: 0;
  margin: 0;
  height: auto;
  width: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  z-index: 1000;
}

.demo-ribbon::before {
  content: "Demo";
}

.nav_button {
  position: relative;
  color: #eee;
  margin-bottom: 1.5rem;
  transition: 0.3s;
  display: grid;
  align-items: right;
}

.nav_button:hover {
  color: var(--white-color);
}

@media screen and (min-width: 1400px) {

  .table100.impostazioni,
  .table100.notifiche {
    table-layout: fixed;
  }

  tr.new td:nth-child(1) {
    /*left border color: --bs-dark*/
    border-left: .2rem solid var(--bs-dark);
  }

  .table100.impostazioni .collapsed td:nth-child(6),
  .table100.impostazioni .collapsed td:nth-child(7),
  .table100.impostazioni .collapsed td:nth-child(9),
  .table100.notifiche td:nth-child(2) {
    height: 70px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .table100.impostazioni .collapsed td:nth-child(6) {
    width: 200px;
  }

  table.impostazioni tbody tr td:last-child span {
    transition: .3s;
    padding-left: 0;
  }

  table.impostazioni tbody tr.expanded td:last-child span {
    transform: rotate(180deg);
  }

  table.impostazioni tbody th:last-child {
    width: 50px;
  }

  table.sondaggi tbody tr td:last-child,
  table.sondaggi tbody tr th:last-child {
    height: 3rem;
  }

  table.sondaggi tbody tr td:last-child:not(:has(> p.no-surveys)),
  table.sondaggi tbody tr th:last-child:not(:has(> p.no-surveys)) {
    display: none;
  }

  /* table.sondaggi tbody tr:not(.expanded) td:nth-child(10),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(10):before{
    display: none;
  } */

  table.impostazioni td,
  table.impostazioni th {
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .table100.errorLog tbody tr {
    height: 50px;
  }
}

.manutenzione tbody tr {
  height: 60px;
}

@media screen and (max-width: 1400px) {
  .table100 {
    display: block;
  }

  .table100 td,
  .table100 th {
    text-align: right;
  }

  .table100>*,
  .table100 tr,
  .table100 td,
  .table100 th {
    display: block;
  }

  .table100 .table100-head {
    display: none;
  }

  table .table100-head th {
    min-width: unset;
  }

  .table100:not(.expansible) tbody tr {
    height: auto;
    padding: 15px 0;
  }

  .table100.impostazioni tbody tr {
    height: auto;
  }

  .table100 tbody tr {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .table100 tbody tr.collapsed:not(.no-data) {
    height: 24.5rem;
    padding: 15px 0 0;
  }

  .table100.spesa tbody tr:not(.no-data) {
    height: 12rem;
    padding: 15px 0 0;
  }

  .table100 tbody tr:has(> td p.no-surveys) {
    height: 4rem;
    padding: .75rem;
  }

  .table100 tbody tr td {
    padding-left: 45% !important;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .table100 tbody tr.no-data td {
    padding-left: 0 !important;
    text-align: center;
    margin: 0 auto;
    height: 100%;
  }

  .table100 tbody tr.no-data {
    padding: .5rem 1rem;
  }

  .table100.foto tbody tr td {
    padding-left: 50% !important;
  }

  .table100 tbody tr td:last-child {
    margin-bottom: 0;
  }

  .table100 tbody tr td:before {
    font-size: 1rem;
    color: #F4F7FF;
    line-height: 1.2;
    font-weight: unset;
    position: absolute;
    width: 40%;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
  }

  .badge-new {
    border-radius: .8rem;
    margin-top: 0.15rem;
    display: none;
  }

  .demo-ribbon {
    font-size: .8rem;
  }

  .new span.badge-new {
    display: inline-block !important;
  }

  table.iscrizioni tbody tr td:nth-child(1):before {
    content: "Nome";
  }

  table.iscrizioni tbody tr:not(.no-data) td:nth-child(1):before {
    content: "Soldi";
  }

  table.iscrizioni tbody tr td:nth-child(3):before {
    content: "Nome";
  }

  table.iscrizioni tbody tr td:nth-child(4):before {
    content: "Cognome";
  }

  table.iscrizioni tbody tr td:nth-child(5):before {
    content: "Telefono";
  }

  table.iscrizioni tbody tr td:nth-child(6):before {
    content: "Email";
  }

  table.iscrizioni tbody tr td:nth-child(7):before {
    content: "Binder";
  }

  table.iscrizioni tbody tr td:nth-child(8):before {
    content: "Data Iscr.";
  }

  table.iscrizioni tbody tr td:nth-child(9):before {
    content: "Intero";
  }

  table.iscrizioni tbody tr td:nth-child(10):before {
    content: "Non paga";
  }

  table.iscrizioni tbody tr td:nth-child(11):before {
    content: "Azione";
  }

  table.sondaggi tbody tr td:nth-child(9):before {
    content: "Apri";
  }

  table.sondaggi tbody tr td:nth-child(10):before {
    content: "Condividi";
  }

  table.sondaggi tbody tr:not(.expanded) td:nth-child(4),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(4):before,
  table.sondaggi tbody tr:not(.expanded) td:nth-child(5),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(5):before,
  table.sondaggi tbody tr:not(.expanded) td:nth-child(6),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(6):before,
  table.sondaggi tbody tr:not(.expanded) td:nth-child(7),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(7):before,
  table.sondaggi tbody tr:not(.expanded) td:nth-child(9),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(9):before,
  table.sondaggi tbody tr:not(.expanded) td:nth-child(10),
  table.sondaggi tbody tr:not(.expanded) td:nth-child(10):before {
    display: none;
  }

  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(5),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(5):before,
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(6),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(6):before,
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(7),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(7):before,
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(8),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(8):before,
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(9),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(9):before,
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(10),
  table.iscrizioni.admin tbody tr:not(.expanded) td:nth-child(10):before {
    display: none;
  }

  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(5),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(5):before,
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(6),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(6):before,
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(7),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(7):before,
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(8),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(8):before,
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(9),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(9):before,
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(10),
  table.iscrizioni.standard tbody tr:not(.expanded) td:nth-child(10):before {
    display: none;
  }

  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(8),
  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(8):before,
  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(9),
  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(9):before,
  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(10),
  table.iscrizioni.new tbody tr:not(.expanded) td:nth-child(10):before {
    display: none;
  }

  table.iscrizioni tbody tr:not(.no-data) td:last-child {
    padding: .5rem 0 0.75rem 0 !important;
    margin: 0 !important;
    text-align: center;
  }

  table.sondaggi tbody tr td:last-child {
    padding: 0 0 .75rem 0 !important;
    margin: 0 !important;
    text-align: center;
  }

  table.iscrizioni tbody tr td:last-child span,
  table.sondaggi tbody tr td:last-child span {
    transition: all .4s;
  }

  table.iscrizioni tbody tr.expanded td:last-child span:first-child,
  table.sondaggi tbody tr.expanded td:last-child span:first-child {
    transform: rotate(180deg);
  }

  table.impostazioni tbody tr td:nth-child(1):before {
    content: "Attivata?";
  }

  table.impostazioni tbody tr td:nth-child(2):before {
    content: "ID";
  }

  table.impostazioni tbody tr td:nth-child(3):before {
    content: "Nome";
  }

  table.impostazioni tbody tr td:nth-child(4):before {
    content: "Data";
  }

  table.impostazioni tbody tr td:nth-child(5):before {
    content: "Orario";
  }

  table.impostazioni tbody tr td:nth-child(6):before {
    content: "Descr.";
  }

  table.impostazioni tbody tr td:nth-child(7):before {
    content: "Località";
  }

  table.impostazioni tbody tr td:nth-child(8):before {
    content: "Permesso";
  }

  table.impostazioni tbody tr td:nth-child(9):before {
    content: "Binder";
  }

  table.impostazioni tbody tr td:nth-child(10):before {
    content: "Account foto";
  }

  table.impostazioni tbody tr td:nth-child(11):before {
    content: "Azione";
  }

  table.impostazioni tbody tr td:last-child {
    display: none;
  }

  table.sondaggi tbody tr td:nth-child(1):before {
    content: "Stato";
  }

  table.sondaggi tbody tr td:nth-child(3):before {
    content: "Titolo";
  }

  table.sondaggi tbody tr td:nth-child(4):before {
    content: "Festa";
  }

  table.sondaggi tbody tr td:nth-child(5):before {
    content: "Scadenza";
  }

  table.sondaggi tbody tr td:nth-child(6):before {
    content: "Risposte private";
  }

  table.sondaggi tbody tr td:nth-child(7):before {
    content: "Anonimo";
  }

  table.sondaggi tbody tr td:nth-child(10):before {
    content: "Azione";
  }

  table.sondaggi tbody tr td:nth-child(8):before {
    content: "Apri";
  }

  table.sondaggi tbody tr td:nth-child(9):before {
    content: "Condividi";
  }

  table.voti tbody tr td:nth-child(1):before {
    content: "Votante";
  }

  table.voti tbody tr td:nth-child(2):before {
    content: "Preferenza";
  }

  table.voti tbody tr td:nth-child(3):before {
    content: "Azione";
  }



  /* TableView Ticket N1 */
  table.errorLog_3 tbody tr td:nth-child(2):before {
    content: "Stato";
  }

  table.errorLog_3 tbody tr td:nth-child(3):before {
    content: "Pagina";
  }

  table.errorLog_3 tbody tr td:nth-child(4):before {
    content: "Desc.";
  }

  table.errorLog_3 tbody tr td:nth-child(5):before {
    content: "Data";
  }

  table.errorLog_3 tbody tr td:nth-child(8):before {
    content: "Oper.";
  }

  table.errorLog_3 tbody tr td:nth-child(9):before {
    content: "";
  }


  /* TableView Assistenza N2 */
  table.errorLog tbody tr td:nth-child(2):before {
    content: "Stato";
  }

  table.errorLog tbody tr td:nth-child(3):before {
    content: "Pagina";
  }

  table.errorLog tbody tr td:nth-child(4):before {
    content: "Desc.";
  }

  table.errorLog tbody tr td:nth-child(5):before {
    content: "Data";
  }

  table.errorLog tbody tr td:nth-child(8):before {
    content: "Oper.";
  }

  table.errorLog tbody tr td:nth-child(9):before {
    content: "";
  }


  /* TableView Assistenza Automatica N3 */
  table.errorLog_2 tbody tr td:nth-child(2):before {
    content: "Stato";
  }

  table.errorLog_2 tbody tr td:nth-child(3):before {
    content: "Pagina";
  }

  table.errorLog_2 tbody tr td:nth-child(4):before {
    content: "Err.";
  }

  table.errorLog_2 tbody tr td:nth-child(5):before {
    content: "Riga";
  }

  table.errorLog_2 tbody tr td:nth-child(6):before {
    content: "Data";
  }


  table.notifiche tbody tr td:nth-child(1):before {
    content: "Oggetto";
  }

  table.notifiche tbody tr td:nth-child(2):before {
    content: "Corpo";
  }

  table.notifiche tbody tr td:nth-child(3):before {
    content: "Inviata da";
  }

  table.notifiche tbody tr td:nth-child(4):before {
    content: "Data Ora";
  }

  table.cancellazione tbody tr td:nth-child(1):before {
    content: "Festa";
  }

  table.cancellazione tbody tr td:nth-child(2):before {
    content: "ID";
    display: none;
  }

  table.cancellazione tbody tr td:nth-child(3):before {
    content: "Data";
  }

  table.cancellazione tbody tr td:nth-child(4):before {
    content: "Ora";
  }

  table.cancellazione tbody tr td:nth-child(5):before {
    content: "Azione";
  }

  table.account tbody tr td:nth-child(1):before {
    content: "Stato";
  }

  table.account tbody tr td:nth-child(2):before {
    content: "Username";
  }

  table.account tbody tr td:nth-child(3):before {
    content: "Livello";
  }

  table.account tbody tr td:nth-child(4):before {
    content: "Ult. acc.";
  }

  table.account tbody tr td:nth-child(5):before {
    content: "Contatore accessi";
  }

  table.account tbody tr td:nth-child(6):before {
    content: "Versione installata";
  }

  table.account tbody tr td:nth-child(7):before {
    content: "Cambio password";
  }

  table.account tbody tr td:nth-child(8):before {
    content: "Cambio mail";
  }

  table.account tbody tr td:nth-child(9):before {
    content: "Azione";
  }

  table.utenti tr td:nth-child(1),
  table.utenti tr th:nth-child(1) {
    display: none !important;
  }

  table.utenti tr td:nth-child(2),
  table.utenti tr th:nth-child(2) {
    display: none !important;
  }

  table.ruoli tr td:nth-child(1),
  table.ruoli tr th:nth-child(1) {
    display: none !important;
  }

  table.gruppi tr td:nth-child(1),
  table.gruppi tr th:nth-child(1) {
    display: none !important;
  }

  table.gruppi tr td:nth-child(4),
  table.gruppi tr th:nth-child(4) {
    display: none !important;
  }

  table.feste tr td:nth-child(1),
  table.feste tr th:nth-child(1) {
    display: none !important;
  }

  table.feste tr td:nth-child(5),
  table.feste tr th:nth-child(5) {
    display: none !important;
  }

  table.binder tr td:nth-child(1),
  table.binder tr th:nth-child(1) {
    display: none !important;
  }

  table.binder tr td:nth-child(4),
  table.binder tr th:nth-child(4) {
    display: none !important;
  }


  table.feste tbody tr td:nth-child(2):before {
    content: "Nome";
  }

  table.feste tbody tr td:nth-child(3):before {
    content: "Data";
  }

  table.feste tbody tr td:nth-child(4):before {
    content: "Ora";
  }

  /* table.utenti tbody tr td:nth-child(2):before {
    content: "Stato";
  } */
  table.utenti tbody tr td:nth-child(3):before {
    content: "Username";
  }

  table.utenti tbody tr td:nth-child(4):before {
    content: "Fullname";
  }

  table.utenti tbody tr td:nth-child(5):before {
    content: "Ultimo acc.";
  }

  table.utenti tbody tr td:nth-child(6):before {
    content: "Contatore acc.";
  }

  table.utenti tbody tr td:nth-child(7):before {
    content: "Ver. installata";
  }

  table.ruoli tbody tr td:nth-child(2):before {
    content: "Ruolo";
  }

  table.ruoli tbody tr td:nth-child(3):before {
    content: "Commento";
  }

  table.gruppi tbody tr td:nth-child(2):before {
    content: "Descrizione";
  }

  table.gruppi tbody tr td:nth-child(3):before {
    content: "Commento";
  }

  table.binder tbody tr td:nth-child(2):before {
    content: "Attivato";
  }

  table.binder tbody tr td:nth-child(3):before {
    content: "Binder";
  }

  table.binder tbody tr td:nth-child(5):before {
    content: "Azione";
  }

  table.foto tbody tr td:nth-child(1):before {
    content: "Attivata?";
  }

  table.foto tbody tr td:nth-child(2):before {
    content: "ID";
  }

  table.foto tbody tr td:nth-child(3):before {
    content: "Nome";
  }

  table.foto tbody tr td:nth-child(4):before {
    content: "Data";
  }

  table.foto tbody tr td:nth-child(5):before {
    content: "Orario";
  }

  table.foto tbody tr td:nth-child(6):before {
    content: "Aggiunta";
  }

  table.foto tbody tr td:nth-child(7):before {
    content: "URL";
  }

  table.foto tbody tr td:nth-child(8):before {
    content: "Azione";
  }

  table.manutenzione tbody tr td:nth-child(1):before {
    content: "Stato";
  }

  table.manutenzione tbody tr td:nth-child(2):before {
    content: "Data Ora";
  }

  table.manutenzione tbody tr td:nth-child(3):before {
    content: "Pagina";
  }

  table.manutenzione.messaggio tbody tr td:nth-child(2):before {
    content: "Testo";
  }

  table.manutenzione.messaggio tbody tr td {
    padding-left: 30% !important;
  }

  table.easteregg tbody tr td:nth-child(1):before {
    content: "Nome";
  }

  table.easteregg tbody tr td:nth-child(2):before {
    content: "Data";
  }

  table.spesa tr:not(.no-data) td:nth-child(1),
  table.spesa tr:not(.no-data) th:nth-child(1) {
    display: none !important;
  }

  table.spesa tbody tr:not(.no-data) td:nth-child(2):before {
    content: "Comprato";
  }

  table.spesa tbody tr td:nth-child(3):before {
    content: "Nome";
  }

  table.spesa tbody tr td:nth-child(4):before {
    content: "Prz. Totale";
  }

  table.spesa tbody tr td:nth-child(5):before {
    content: "Quantità Tot.";
  }

  table.spesa tbody tr td:nth-child(6):before {
    content: "Quantità Pz.";
  }

  table.spesa td:nth-child(7),
  table.spesa th:nth-child(7) {
    display: none !important;
  }

  table.dispensa tbody tr td:nth-child(1):before {
    content: "Nome";
  }

  table.dispensa tbody tr td:nth-child(2):before {
    content: "Prezzo";
  }

  table.dispensa tbody tr td:nth-child(3):before {
    content: "Tipo";
  }

  table.dispensa tbody tr td:nth-child(4):before {
    content: "Quantità";
  }

  table.dispensa tbody tr td:nth-child(5):before {
    content: "Simbolo";
  }

  table.preventivi tbody tr td:nth-child(2):before {
    content: "Richiesta";
  }

  table.preventivi tbody tr td:nth-child(3):before {
    content: "Email";
  }

  table.preventivi tbody tr td:nth-child(4):before {
    content: "Pacchetto";
  }

  table.preventivi tbody tr td:nth-child(7):before {
    content: "Invia";
  }

  table.preventivi tbody tr td:nth-child(8):before {
    content: "Azione";
  }

  /* 
  table.salavar tbody tr td:last-child{
    display: none;
  } */
  /* 
  table.salavar tbody tr th:last-child{
    display: none;
  } */

  .column4,
  .column5,
  .column6 {
    text-align: left;
  }

  .column4,
  .column5,
  .column6,
  .column1,
  .column2,
  .column3 {
    width: 100%;
  }

  tbody tr {
    font-size: 14px;
  }

  #cb-cookie-banner {
    bottom: 3.5rem;
    right: -7.5rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1.5rem;
  }

  #cb-cookie-banner div.vertical-text {
    font-size: 1rem;
    writing-mode: horizontal-tb;
  }

  #cb-cookie-banner:hover {
    right: -3.5rem;
  }

  .preloader .inner .percentage {
    font-size: 1rem;
  }
}

@media (max-width: 1000px) {
  .toast-container,
  .toast {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .container-table100 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

table.salavar,
table.confronto {
  table-layout: fixed;
  max-width: 100%;
}

table.salavar td,
table.salavar th,
table.confronto td,
table.confronto th {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.binders tr {
  height: 50px;
}

#countDown {
  align-items: center;
  width: 90%;
  margin: auto;
}

#countDown p {
  font-size: 2rem;
  font-weight: bold;
}

#countDown input {
  font-size: 1.5rem;
  font-weight: bold;
}

#countDown.danger .form-control {
  background-color: rgb(220, 186, 186);
  border-color: #d0afaf;
}

#chevron {
  transition: all .4s;
}

#showAllButton {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
}

#expand-detail {
  color: #777;
  position: absolute;
  bottom: 1.5rem;
  background-color: var(--bs-body-bg);
  width: calc(100% - 2rem);
}

#modal-draft .col.w-100 {
  padding: 1rem;
  border-radius: .5rem;
  background: #f7f7f7;
  border: 3px solid #eee;
}

#modal-progr .col.w-100 {
  padding: 1rem;
  border-radius: .5rem;
  background: #f7f7f7;
  border: 3px solid #eee;
}

#modal-send .col.w-100 {
  padding: 1rem;
  border-radius: .5rem;
  background: #f7f7f7;
  border: 3px solid #eee;
}

@media screen and (min-width: 1000px) {
  /* #expand-detail {
    width: calc(100% - 2.6rem);
  } */

  table.spesa td,
  table.dispensa td {
    height: 3rem
  }

  table.spesa tr:not(.no-data) td:nth-child(1),
  table.spesa tr:not(.no-data) th:nth-child(1) {
    display: none !important;
  }

}

#expand-detail i {
  transition: all .4s;
}

.card.details.expanded #expand-detail i,
.card.add-party.expanded #expand-detail i,
.card.add-ticket.expanded #expand-detail i,
.card.survey.expanded #expand-detail i {
  transform: rotate(180deg);
  height: auto;
}

.card.details.collapsed {
  height: 36.5rem;
}

.card.details.collapsed_2 {
  height: 33rem;
}

.card.spesa.details.collapsed {
  height: 37.5rem;
}

.card.shop.collapsed {
  height: 24rem;
}

.card.add-party.collapsed {
  height: 15rem;
}

.card.add-ticket.collapsed {
  height: 13rem;
}

.card.survey.collapsed {
  height: 15.5rem;
}

.modal-content {
  border-radius: 1rem;
}

#accessRequestModal p:not(.placeholder-glow),
#accessRequestModal h6:not(.placeholder-glow) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card.details,
.card.add-party,
.card.add-ticket,
.card.survey {
  overflow: hidden;
  transition: all .7s;
}

.card.details .card-body,
.card.add-party .card-body,
.card.add-ticket .card-body,
.card.survey .card-body {
  height: 100%;
  transition: all .7s;
  overflow: hidden;
}

/* .card.details.collapsed .card-body {
  /* height: ;
} */

.img-preloader {
  border-radius: 1rem;
}

.alert .progress-bar {
  height: .2rem;
  background-color: #555;
  border-radius: 1.5rem;
  width: calc(350px - .5rem);
  position: relative;
  left: .1rem;
  transition: all 3s linear;
}

.progress {
  height: 1.5rem;
}

.rating-group {
  display: block;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
  cursor: default;
}

.rating__icon {
  pointer-events: none;
}

/* hide radio inputs */
.rating__input {
  position: absolute !important;
  left: -9999px !important;
}

/* set icon padding and size */
.rating__label {
  cursor: pointer;
  padding: 0 0.1em;
  font-size: 2rem;
}

/* set default star color */
.rating__icon--star {
  color: gold;
}

/* set color of none icon when unchecked */
.rating__icon--none {
  color: #eee;
}

/* if none icon is checked, make it red */
.rating__input--none:checked+.rating__label .rating__icon--none {
  color: red;
}

/* if any input is checked, make its following siblings grey */
.rating__input:checked~.rating__label .rating__icon--star {
  color: #ddd;
}

/* make all stars orange on rating group hover */
/* .rating-group:hover .rating__label .rating__icon--star {
  color: gold;
} */

/* make hovered input's following siblings grey on hover */
.rating__input:hover~.rating__label .rating__icon--star {
  color: #ddd;
}

/* make none icon grey on rating group hover */
.rating-group:hover .rating__input--none:not(:hover)+.rating__label .rating__icon--none {
  color: #eee;
}

/* make none icon red on hover */
.rating__input--none:hover+.rating__label .rating__icon--none {
  color: red;
}

/* Preloader section */
/*!
 * Percent-Preloader CSS - v1
 * @author JDM Digital - https://jdmdigital.co
 * Copyright (c) 2022
 */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  margin: auto;
  width: 100vw;
  height: 100vh;
  background: #101010;
  /*#797979;*/
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition-duration: 500ms;
  -webkit-transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 1100;
  transition-delay: 0.65s;
  font-family: "Monospace";
}

.preloader .inner {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 200px 100vh 0;
  border-color: transparent #797979 transparent transparent;
  position: absolute;
  left: -200px;
  top: 0;
}

.preloader:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100vh 0 0 200px;
  border-color: transparent transparent transparent #797979;
  position: absolute;
  right: -200px;
  top: 0;
}

.preloader * {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition-duration: 500ms;
  -webkit-transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.transition-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  right: calc(-100% - 200px);
  bottom: 0;
  background: #797979;
  z-index: 9999;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition-duration: 500ms;
  -webkit-transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  visibility: hidden;
}

.preloader .inner .percentage {
  width: 100%;
  font-size: 7vh;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  opacity: 1;
  transition-delay: 0.10s;
}

@media (max-width: 600px) {
  .preloader .inner .percentage {
    font-size: 4vh;
  }
}

.navigation__transparent.navbar {
  visibility: hidden;
}

.page-loaded .preloader .percentage {
  margin-left: 100px;
  opacity: 0;
}

.page-loaded .preloader {
  left: calc(-100% - 200px);
  visibility: hidden;
}

.loading-logo {
  position: relative;
  font-size: 3.5rem;
  font-weight: bold;
  width: 6rem;
  height: 5rem;
}

@media screen and (max-width: 600px) {
  .loading-logo {
    transform: translateY(-2.5rem);
  }
}

.loading-logo span {
  position: absolute;
}

.loading-logo .back-layer {
  /*white outline*/
  color: transparent;
  -webkit-text-stroke: 1px rgb(223, 223, 223);
}

@keyframes placeholderShimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}


@-webkit-keyframes placeholderShimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.loading-logo .front-layer {
  color: #c1c1c1;
  width: 0%;
  overflow: hidden;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-text-stroke: 1px #d4d4d4;
}

.shimmer {
  background: #c1c1c1 -webkit-gradient(linear, 100% 0, 0 0, from(#c1c1c1), color-stop(0.5, #ffffff), to(#c1c1c1));
  background-position: -4rem top;
  /*50px*/
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation-name: shimmer;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-background-size: 4rem 100%;
  /*50px*/

}

@-webkit-keyframes shimmer {
  0% {
    background-position: -4rem top;
    /*50px*/
  }

  70% {
    background-position: 10rem top;
    /*200px*/
  }

  100% {
    background-position: 10rem top;
    /*200px*/
  }
}

.shimmeringCircle,
.notShimmeringCircle {
  aspect-ratio: 1;
  width: calc(100%/2 - .12rem);
  max-width: 3rem;
  max-height: 3rem;
  min-width: 2.5rem;
  margin-left: .4rem;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
}

.notShimmeringCircle {
  background-color: #eee;
  display: flex;
  align-items: center;
}

.notShimmeringCircle-costoSpesa {
  aspect-ratio: 1;
  width: calc(100%/2 - .8rem);
  max-width: 6rem;
  max-height: 3rem;
  min-width: 2.5rem;
  margin-left: .4rem;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  background-color: #eee;
  display: flex;
  align-items: center;
}

.notShimmeringCircle.smallCircle,
.shimmeringCircle.smallCircle {
  width: calc(100%/2.5 - .8rem);
  max-width: 2.5rem;
  max-height: 2.5rem;
  min-width: 1.5rem;

}

.notShimmeringCircle.active {
  background-color: #000;
  color: #fff;
}

.notShimmeringCircle.disabled {
  pointer-events: none;
}

table.opzioni {
  border: 0;
  border-collapse: collapse !important;
}

table.opzioni td {
  padding: .2rem 0;
}

table.opzioni tr {
  background-color: #fff;
  margin-bottom: 1rem;
}

table.opzioni label {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  padding: 0 1rem;
  min-height: 3.5rem;
}

table.opzioni label:hover {
  cursor: pointer;
}

/* 
table.opzioni tr, 
table.opzioni td {
  height: 4rem;
} */

table.opzioni label {
  border-radius: .75rem;
  background-color: #eee;
}

table.opzioni input {
  display: none;
}

table.opzioni label {
  width: 100%;
  height: 100%;
}

table.opzioni input:checked+label {
  background-color: #666;
  color: #fff;
}

.qrcodeRow {
  text-align: center;
}

.qrcodeRow img {
  margin: 0 auto;
}

#reader {
  background-color: #000;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
}

#reader video,
#qr-shaded-region {
  border-radius: 1rem;
}

#loading {
  width: 100%;
  aspect-ratio: 1 / 1;
}

#fullImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
table.salavar tbody tr td:last-child{
  display: none;
}

table.salavar tbody tr th:last-child{
  display: none;
}
*/

.photo-placeholder,
.photo-shimmer.big-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: .5rem;
}

.photo-shimmer.big-photo-placeholder {
  aspect-ratio: 4 / 3;
}

.photo-shimmer {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: inline-block;
  position: relative;

  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: photoShimmer;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes photoShimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: 200px 0;
  }
}

.photo-drive {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: .5rem;
}

.photo-drive-full-size {
  border-radius: .5rem;
  width: 100%;
  height: auto;
}

.big-photo-placeholder .photo-drive-prev,
.big-photo-placeholder .photo-drive-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(0, 0, 0, .5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  transition: all .2s;
}

.detail-photo-container {
  position: relative;
}

.big-photo-placeholder .photo-drive-prev {
  left: .5rem;
}

.big-photo-placeholder .photo-drive-next {
  right: .5rem;
}

.fslightbox-slide-number-container {
  margin-left: 1rem;
}

.fslightbox-slide-btn {
  border-radius: 10rem;
}

a:has(.photo-drive) {
  display: block;
  height: 100%;
  width: 100%;
  -webkit-touch-callout: none;
  transition: all .2s;
}

.text-underline-hover:hover {
  text-decoration: underline;
}

.photos-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr));
}

.photo-selected {
  transform: scale(.9);
}

.photo-selected img {
  filter: brightness(50%);
}

.photo-selected::after {
  content: "\ea41";
  font-family: 'boxicons' !important;
  font-size: 4rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

#SelectedBottomBar {
  width: 90%;
  height: 3.5rem;
  background-color: #fff;
  border-radius: 10rem;
  max-width: 400px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2rem;
  box-shadow: #777 0 0 20px;
  z-index: 999;
}

.path-bar {
  background-color: #eee;
  border-radius: .6rem
}

.photo-upload-container {
  width: 100%;
  height: 12rem;
  background: #f8f8f8;
  border: .15rem dashed #ccc;
  border-radius: 1rem;
}

.photo-upload-container input {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

.opacity-0 {
  opacity: 0;
}

img.disabled {
  filter: brightness(50%);
}

.boxicons-top {
  top: .1rem;
  position: relative;
}

.hint-question-mark {
  border-width: .1rem !important;
  border-color: #cbcbcb !important;
  color: #b6b6b6 !important;
}

.photo-upload-container .lightgray {
  color: #555555;
}

.photo-upload-label-text {
  width: 80%;
}

.photo-progress {
  height: .3rem;
}

.download-progress {
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  position: relative;
  scale: 0.9;
}

.download-progress::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 12px solid #ccc;
  position: absolute;
  top: 0;
  left: 0;
}

.download-progress>span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}

.download-progress .progress-left {
  left: 0;
}

.download-progress .progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 12px;
  border-style: solid;
  position: absolute;
  top: 0;
}

.download-progress .progress-left .progress-bar {
  left: 100%;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.download-progress .progress-right {
  right: 0;
}

.download-progress .progress-right .progress-bar {
  left: -100%;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
}

.download-progress .progress-value {
  position: absolute;
  top: 0;
  left: 0;
}

.logo-edit-button {
  position: absolute;
  bottom: -0.25rem;
  right: -0.25rem;
  color: #000;
  background-color: #eee;
  border: .12rem solid rgb(220, 220, 220);
  width: 1.5rem;
  height: 1.5rem;
  padding: .5rem 0 0 .5rem;
  cursor: pointer;
}

.object-fit-cover {
  object-fit: cover;
}

.fslightbox-source {
  border-radius: .7rem;
}

#anniversary {
  display: inline-block;
  height: 10rem;
}

#anniversary video,
#anniversary img {
  height: 100%;
  top: -1.75rem;
  position: relative;
  /* -webkit-filter: drop-shadow(4px 4px 0 black)
	drop-shadow(2px -2px 0 black)
	drop-shadow(-2px 1px 0 black)
	drop-shadow(-1px -1px 0 black);
  	filter: drop-shadow(4px 4px 0 black)
	  drop-shadow(2px -2px 0 black)
	  drop-shadow(-2px 1px 0 black)
	  drop-shadow(-1px -1px 0 black); */
}

@media screen and (max-width: 600px) {
  #anniversary {
    height: 5.25rem;
  }

  #anniversary video,
  #anniversary img {
    top: -.75rem;
  }
}

td:has(> [data-editable="name"]),
td:has(> [data-editable="data"]),
td:has(> [data-editable="orario"]),
td:has(> [data-editable="descrizione"]),
td:has(> [data-editable="location"]),
td:has(> [data-editable="surname"]) {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  -webkit-text-decoration-style: dotted;
  text-underline-offset: 2px;
  -webkit-text-underline-offset: 2px;
}

#show_password1,
#show_password2 {
  right: 1rem;
  color: #a7a7a7;
}

#show_password1 i,
#show_password2 i {
  font-size: 1.25rem;
}

#show_password1_pro,
#show_password2_pro {
  right: 1rem;
  color: #a7a7a7;
}

#show_password1_pro i,
#show_password2_pro i {
  font-size: 1.25rem;
}

#edit_mail,
#nome_utente {
  right: 1rem;
  color: #a7a7a7;
}

#edit_mail i,
#nome_utente i {
  font-size: 1.25rem;
}

.costo-pack {
  display: inline-block;
  color: white;
  padding: 8px 20px;
  font-family: Arial;
  border-radius: 25px;
  background-color: #2196F3;
  margin-top: 8px;
}

.botton-costo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: "Line Awesome Free";
  font-size: 24px;
  font-weight: 900;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 40px;
  height: 40px;
  width: 40px;
  line-height: 37px;
  text-align: center;
}

.botton-prova {
  height: 35px;
  width: 35px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  border: 2px solid;
  border-radius: 30px;
  justify-content: center;
  z-index: var(--z-fixed);
}

.modal-backdrop {
  z-index: 500;
}

.text-justify {
  text-align: justify;
}









.zform-calendar{
  margin-left: 25%; 
  margin-right: 15%; 
  margin-top: 5%;
}

/* Stile principale per il calendario con margine superiore e dimensioni ridotte */
.google-calendar {
  width: 90%; /* Ridotto per adattarsi meglio */
  margin-top: 20px; /* Aggiunto margine superiore */
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

/* Stile del titolo (mese e anno in alto) */
.calendar-title {
  background-color: var(--bs-body-color);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Giorni del calendario */
.calendar-day {
  text-align: center;
  padding: 10px; /* Ridotto il padding */
  border: 1px solid #f1f3f4;
  background-color: #f8f9fa;
  font-size: 0.9em; /* Dimensione del testo ridotta */
  cursor: pointer;
}

/* Giorni di altri mesi */
.other-month {
  color: #9e9e9e;
  background-color: #f1f3f4;
}

/* Giorno selezionato */
.calendar-selected-day {
  background-color: #dfefff;
  font-weight: bold;
  color: #1a73e8;
}

/* Pulsanti di navigazione (avanti e indietro) */
.calendar-nav-buttons {
  background-color: transparent;
  color: var(--bs-body-color);
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 0 10px;
}

/* Stile per il pulsante "Oggi" */
.today-button {
  display: block;
  margin: 20px auto;
  padding: 8px 16px; /* Dimensione ridotta */
  background-color: var(--bs-body-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9em; /* Dimensione ridotta */
  cursor: pointer;
  text-align: center;
}

.today-button:hover {
  background-color: var(--bs-body-color);
}

/* Hover per i giorni del calendario */
.calendar-day:hover {
  background-color: #e8f0fe;
  color: #1a73e8;
}

/* Layout per i giorni della settimana */
.google-calendar table {
  width: 100%;
  border-collapse: collapse;
}

.google-calendar th {
  color: #757575;
  padding: 10px;
  text-align: center;
  background-color: #f8f9fa;
  font-size: 1em;
  font-weight: normal;
}

/* Arrotondamento degli angoli per il calendario */
.google-calendar {
  border-radius: 8px;
}

/* Stile per la tabella filtrata */
.filtered-table {
  width: 90%; /* Ridotta */
  margin-top: 20px; /* Spazio tra tabella e calendario */
  margin-bottom: 20px;
}

/* Nasconde completamente la colonna Id */
.hide-column {
  display: none;
}

/* Media queries per adattamento ai dispositivi mobili */
@media (max-width: 768px) {
  /* Dimensioni ridotte per dispositivi mobili */
  .zform-calendar{
    margin-left: 3%;
    margin-right: 3%; 
    margin-top: 20%;
  }

  .google-calendar {
    width: 100%;
    font-size: 0.8em;
  }

  .filtered-table {
    width: 100%;
    font-size: 0.8em;
  }

  /* Ridurre le dimensioni del pulsante "Oggi" su dispositivi mobili */
  .today-button {
    padding: 6px 12px;
    font-size: 0.8em;
  }

  /* Ridurre la dimensione delle celle del calendario */
  .calendar-day, .other-month {
    padding: 8px;
    font-size: 0.8em;
  }

  .hide-on-mobile {
    display: none;
  }
}

table.malandrino tr:not(.no-data) td:nth-child(3),
table.malandrino tr:not(.no-data) th:nth-child(3) {
  display: none !important;
}

table.drive-log tr:not(.no-data) td:nth-child(5),
table.drive-log tr:not(.no-data) th:nth-child(5) {
  display: none !important;
}

table.drive-log tr:not(.no-data) td:nth-child(1),
table.drive-log tr:not(.no-data) th:nth-child(1) {
  display: none !important;
}

/* ============================
   LOGIN PAGE – stile moderno
   ============================ */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  padding-top: 0;
  padding-bottom: 0;
}

.login-card {
  position: relative;
  background:
    radial-gradient(circle at 0 0, rgba(250, 224, 47, 0.20), transparent 55%),
    radial-gradient(circle at 100% 120%, rgba(59, 130, 246, 0.35), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border-radius: 1.5rem;
  /* bordo più chiaro e marcato */
  border: 1px solid rgba(249, 250, 251, 0.8);
  /* alone attorno alla card per farla risaltare */
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.7),
    0 24px 60px rgba(15, 23, 42, 0.9),
    0 0 30px rgba(56, 189, 248, 0.35);
  color: #f9fafb;
  backdrop-filter: blur(22px);
}


/* Brand in alto */

.login-brand {
  gap: 0.75rem;
}

.login-logo-pill {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f9fafb, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111827;
}

.login-card .nav_logo-ws {
  color: #f9fafb;
  font-size: 0.85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.login-brand-subtitle {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Titoli & testo */

.login-title {
  font-weight: 700;
  letter-spacing: .04em;
}

.login-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Alert */

.login-card .login-alert {
  border-radius: 0.9rem;
  font-size: 0.85rem;
}

.login-card .alert-danger {
  background-color: rgba(248, 113, 113, 0.09);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.login-card .alert-success {
  background-color: rgba(22, 163, 74, 0.09);
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

/* Campi input */

.login-card .login-floating {
  position: relative;
}

.login-card .form-floating .form-control.login-input {
  background-color: rgba(15, 23, 42, 0.92);
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #f9fafb;
  padding-top: 2.0rem;
  padding-bottom: 0.8rem;
}

.login-card .form-floating > label {
  color: #9ca3af;
}

.login-card .form-control.login-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.6);
  background-color: rgba(15, 23, 42, 0.98);
  color: #f9fafb;
}

/* Bottone mostra/nascondi password */

.login-toggle-password {
  right: 0.9rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: background .18s ease, color .18s ease, transform .16s ease;
}

.login-toggle-password i {
  font-size: 1.2rem;
}

.login-toggle-password:hover {
  background: rgba(31, 41, 55, 0.95);
  color: #e5e7eb;
  transform: translateY(-1px);
}

/* Pulsante principale */

.login-btn-primary {
  border-radius: 999px;
  height: 2.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow:
    0 14px 30px rgba(248, 196, 25, 0.55),
    0 0 0 1px rgba(250, 204, 21, 0.9);
  transition: transform .16s ease, box-shadow .2s ease, filter .18s ease;
}

.login-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 40px rgba(248, 196, 25, 0.7),
    0 0 0 1px rgba(250, 204, 21, 1);
}

.login-footnote {
  font-size: 0.8rem;
}

/* Mobile */

@media (max-width: 768px) {
  .login-card {
    border-radius: 1.25rem;
    padding-inline: 1.4rem !important;
    padding-block: 2rem !important;
  }

  .login-body {
    align-items: flex-start;
  }

  .login-container {
    padding-top: 4rem;
  }

  .login-title {
    font-size: 1.4rem;
  }
}

/* === NAVBAR GLASS / LOGIN STYLE =================================== */

.l-navbar {
  background:
    radial-gradient(circle at 0 0, rgba(250, 224, 47, 0.18), transparent 55%),
    radial-gradient(circle at 100% 120%, rgba(56, 189, 248, 0.28), transparent 55%),
    rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-right: 1px solid rgba(249, 250, 251, 0.16);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.85),
    0 22px 50px rgba(15, 23, 42, 0.95);
}

/* su desktop arrotondo il pannello */
@media (min-width: 1000px) {
  .l-navbar {
    border-radius: 1.5rem;
    margin: 1.25rem 0 1.25rem 1.25rem;
    height: calc(100% - 2.5rem);
  }
}

.nav {
  background: transparent;
}

/* logo / testo brand */
.nav_logo-name {
  color: #f9fafb;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* link base */
.nav_link {
  position: relative;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
  z-index: 1;
}

.nav_link .nav_icon {
  color: #e5e7eb;
}

/* pill vetrosa su hover */
.nav_list a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 90%;
  height: 42px;
  margin-left: .5rem;
  border-radius: .9rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(248, 250, 252, 0.22);
  box-shadow:
    0 18px 30px rgba(15, 23, 42, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  opacity: 0;
  transition: opacity .2s ease, transform .16s ease;
  z-index: -1;
}

/* hover (solo non active) */
.nav a:not(.active):hover::after {
  opacity: 1;
  transform: translateY(-1px);
}

.nav_link:hover {
  color: #f9fafb;
}

/* stato attivo più evidenziato */
.nav_link.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 90%;
  height: 42px;
  margin-left: .5rem;
  border-radius: .9rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(250, 250, 251, 0.6);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(250, 250, 251, 0.18);
  z-index: -1;
}

.nav_link.active,
.nav_link.active .nav_icon {
  color: #fefce8;
}

/* link “Accedi” / profilo in basso */
.nav_login .nav_link {
  font-size: .9rem;
  opacity: .9;
}

.nav_login .nav_link:hover {
  opacity: 1;
}

/* HEADER TOGGLE SEMPRE SOPRA ALLA NAVBAR SU MOBILE */
@media (max-width: 999px) {

  /* il header sta sopra la sidebar */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;          /* più alto della .l-navbar */
    pointer-events: none;   /* così non blocca i click sulla pagina */
  }

  /* ma il bottone resta cliccabile */
  .header_toggle {
    pointer-events: auto;
  }

  /* opzionale: spostalo leggermente verso destra quando la navbar è aperta */
  .l-navbar.show ~ .header .header_toggle,
  .theme-glass .header_toggle {
    transform: translateX(4px);
  }
}

/* =========================
   CAMPANELLA NAVBAR (GLASS)
   ========================= */

.nav_notify-btn {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  background:
    radial-gradient(circle at 20% 0, rgba(248, 250, 252, 0.60), transparent 60%),
    rgba(15, 23, 42, 0.82);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.90),
    0 0 0 1px rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    filter 0.16s ease,
    background 0.18s ease;
  backdrop-filter: blur(18px);
}

.nav_notify-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(251, 191, 36, 0.7);
}

.nav_notify-btn:active {
  transform: translateY(0);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(148, 163, 184, 0.7);
}

/* Icona campanella */
.nav_notify-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Badge contatore notifiche */
.nav_notify-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.15rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb7185, #facc15);
  color: #111827;
  border: 1px solid rgba(248, 250, 252, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6);
}

/* Se vuoi il badge nascosto quando vale 0 */
.nav_notify-badge:empty {
  display: none;
}

/* =========================
   MODAL NOTIFICHE GLASS
   ========================= */

#notificheMessage .modal-dialog {
  max-width: 420px;
}

#notificheMessage .modal-content {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at 0 0, rgba(250, 250, 250, 0.10), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(22px);
  color: #f9fafb;
}

#notificheMessage .modal-header {
  border-bottom-color: rgba(55, 65, 81, 0.7);
}

#notificheMessage .modal-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#notificheMessage .modal-body p {
  font-size: 0.82rem;
  color: #e5e7eb;
}

#notificheMessage .modal-body a {
  color: #fde68a;
  text-decoration: none;
}

#notificheMessage .modal-body a:hover {
  text-decoration: underline;
}

#notificheMessage .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.85;
}

#notificheMessage .btn-close:hover {
  opacity: 1;
}

/* —— Card vetrosa come login —— */
.profile-glass {
  background:
    radial-gradient(1400px 600px at -10% -10%, rgba(250, 224, 47, 0.18), transparent 60%),
    radial-gradient(1200px 800px at 120% 120%, rgba(59,130,246,0.28), transparent 60%),
    rgba(15, 23, 42, 0.92);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.profile-glass__body { padding: 1.5rem 1.25rem; }
@media (min-width: 768px) { .profile-glass__body { padding: 2rem; } }
.profile-glass__title {
  font-weight: 800;
  letter-spacing: .02em;
}

/* testi secondari chiari */
.text-muted-ws { color: #9ca3af !important; }

/* Bottoni icona (toolbar) */
.icon-btn{
  width: 2.35rem; height: 2.35rem; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(15,23,42,.85);
  border: 1px solid rgba(148,163,184,.45);
  color: #e5e7eb;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.icon-btn i{ font-size: 1.2rem; line-height: 1; }
.icon-btn:hover{ background: rgba(31,41,55,.95); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* Input coerenti con login */
.form-floating .form-control.login-input{
  background-color: rgba(15,23,42,0.92);
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.45);
  color: #f9fafb;
  padding-top: 2.0rem; padding-bottom: .8rem;
}
.form-floating > label{ color:#9ca3af; }
.form-control.login-input:focus{
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250,204,21,.6);
  background-color: rgba(15,23,42,0.98);
  color: #f9fafb;
}

/* pulsantini edit a destra (riuso stile login toggle) */
.login-toggle-password{
  right: .9rem;
}

/* Pulsante primario gradiente (riuso login-btn-primary della login) */
.login-btn-primary{
  border-radius: 999px;
  height: 2.9rem;
  font-weight: 700; font-size: .98rem; border: none;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow:
      0 14px 30px rgba(248,196,25,.55),
      0 0 0 1px rgba(250,204,21,.9);
  transition: transform .16s ease, box-shadow .2s ease, filter .18s ease;
}
.login-btn-primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
      0 18px 40px rgba(248,196,25,.70),
      0 0 0 1px rgba(250,204,21,1);
}

/* Dropdown scuro vetroso */
.ws-dropdown{
  min-width: 220px;
  padding: .4rem;
  border-radius: .75rem;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(17,24,39,.96);
  backdrop-filter: blur(16px);
}
.ws-dropdown .dropdown-item{
  color: #e5e7eb;
  border-radius: .5rem;
  padding: .5rem .6rem;
}
.ws-dropdown .dropdown-item:hover{
  background: rgba(59,130,246,.18);
  color: #fff;
}
.ws-dropdown .dropdown-divider{ border-color: rgba(148,163,184,.2); }

/* Modal vetroso */
.modal-glass{
  background: rgba(17,24,39,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f9fafb;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 1rem;
}
.btn-close-white { filter: invert(1) grayscale(100%); }

/* piccoli tocchi */
.link-underline{ text-decoration: underline; }
.login-logo-pill{ /* già definito nella login, qui nel caso mancasse */
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f9fafb, #e5e7eb);
  display:flex; align-items:center; justify-content:center;
  color:#111827; font-weight:700; font-size:.9rem; letter-spacing:.08em;
  box-shadow: 0 10px 25px rgba(15,23,42,.9), 0 0 0 1px rgba(15,23,42,.8);
}

.modal-content.modal-glass,
.modal-content {
  background: rgba(17,24,39,.92);
  color: #f9fafb;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.btn-close { filter: invert(1) grayscale(1); }

/* --- Notifiche: stile vetroso scuro ------------------------------------ */

/* Popover + contenitore: scuro e trasparente */
.popover {
  background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(17,24,39,.88));
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
  color: #e5e7eb;
}
.popover .popover-arrow::before,
.popover .popover-arrow::after { display:none; } /* freccia invisibile (pulito) */
.popover-header {
  background: transparent;
  color: #f3f4f6;
  border-bottom: 1px solid rgba(148,163,184,.14);
}
.popover-body { padding: 12px; }

/* Lista dentro l’elemento #id_notText (usato per popover) */
#id_notText ul.list-group {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  max-height: 60vh;          /* scroll se lungo */
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,.35) transparent;
}
#id_notText ul.list-group::-webkit-scrollbar { height: 8px; width: 8px; }
#id_notText ul.list-group::-webkit-scrollbar-thumb { background: rgba(148,163,184,.35); border-radius: 8px; }

/* Card di notifica vetrosa */
#id_notText .list-group-item {
  background: linear-gradient(180deg, rgba(30,41,59,.60), rgba(15,23,42,.55));
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 10px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
#id_notText .list-group-item:last-child { margin-bottom: 0; }

#id_notText .list-group-item strong { color: #f3f4f6; font-weight: 700; }
#id_notText .list-group-item p { color: #e5e7eb; margin: 6px 0 8px; }
#id_notText .list-group-item small { color: #94a3b8; }
#id_notText .list-group-item i { margin-right: .5rem; opacity: .9; }

/* Hover/focus feedback */
#id_notText .list-group-item:hover,
#id_notText .list-group-item:focus {
  border-color: rgba(125, 211, 252, .45);          /* accent azzurro */
  box-shadow: 0 8px 24px rgba(2,6,23,.45);
  transform: translateY(-1px);
  transition: all .18s ease;
}

/* Se l’elenco è in un MODAL vetroso tuo (modal-glass-dark), applica lo stesso tema */
.modal-content.modal-glass-dark .list-group { background: transparent; border:0; }
.modal-content.modal-glass-dark .list-group-item {
  background: linear-gradient(180deg, rgba(30,41,59,.60), rgba(15,23,42,.55));
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
}

/* Link dentro alla notifica (se presenti) */
#id_notText .list-group-item a { color: #93c5fd; text-decoration: underline; text-underline-offset: 2px; }
#id_notText .list-group-item a:hover { color: #bfdbfe; }

#id_notText .list-group-item.unread {
  border-color: rgba(250,204,21,.45); /* giallo tenue */
  box-shadow: 0 0 0 2px rgba(250,204,21,.12) inset;
}

/* Popover dimensioni e scroll */
.popover {
  max-width: min(62vw, 320px);
}

.popover .popover-body {
  /* il body è il contenitore che deve scrollare */
  max-height: 65vh;
  overflow: auto;                       /* abilita scroll */
  -webkit-overflow-scrolling: touch;    /* scroll fluido su iOS */
  overscroll-behavior: contain;         /* evita bounce che chiude il popover */
  padding: 12px;
}

/* la lista può restare auto; lo scroll avviene sul body */
#id_notText ul.list-group {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

/* (opzionale) scrollbar carina */
.popover .popover-body::-webkit-scrollbar { width: 8px; }
.popover .popover-body::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.35);
  border-radius: 8px;
}


/* =========================
   SEZIONE PREZZI PACCHETTI – stile glass
   ========================= */

/* ===================== SHELL / GRID ===================== */
.pricing-shell{
  margin:24px auto;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.03) 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 18px 60px rgba(2,8,23,.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow:visible;
}

.plans-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(280px, 1fr));
  gap:22px;
  align-items:stretch;
  max-width:1200px;
  margin:0 auto;
}
@media (max-width:1200px){ .plans-grid{ grid-template-columns:repeat(3, minmax(240px,1fr)); } }
@media (max-width:992px){ .plans-grid{ grid-template-columns:repeat(2, minmax(260px,1fr)); } }
@media (max-width:640px){ .plans-grid{ grid-template-columns:1fr; } }

/* ===================== PLAN CARD ===================== */
.plan-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:18px 16px 20px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 32px rgba(2,8,23,.45);
  color:#E8F1FF;

  /* animazioni/hover */
  will-change: transform, box-shadow, border-color;
  transform-origin:center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.plan-title h2{ color:#F0F5FF; }
.plan-features li{ color:#D1DBEB; }

/* hover SOLO per dispositivi con puntatore fine */
@media (hover:hover) and (pointer:fine){
  .plan-card:hover{
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 22px 58px rgba(2,8,23,.6);
  }
}

/* focus accessibile */
.plan-card:focus-within,
.plan-card:focus-visible{
  outline:2px solid rgba(245,158,11,.55);
  outline-offset:2px;
  border-color:rgba(255,255,255,.22);
}

/* Featured (PRO) */
.plan-card--featured{
  z-index:1;
  outline:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 50px rgba(249,200,102,.16), inset 0 1px 0 rgba(255,255,255,.08);
}
@media (hover:hover) and (pointer:fine){
  .plan-card--featured:hover{
    box-shadow:0 24px 70px rgba(249,200,102,.28), 0 22px 58px rgba(2,8,23,.6);
  }
}

/* ===================== BADGE ===================== */
.plan-badge{
  position:absolute; top:10px; right:12px;
  padding:6px 10px; border-radius:999px;
  font-size:12px; font-weight:800; letter-spacing:.3px;
  color:#0b1020;
  background:radial-gradient(120% 120% at 10% 10%, #FFE08A 0%, #F59E0B 55%, #F97316 100%);
  box-shadow:0 8px 18px rgba(249,168,38,.35);
  z-index:2;
  pointer-events:none; /* non cattura il mouse */
}

/* ===================== HEADER ===================== */
.plan-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.plan-title{ display:flex; align-items:center; gap:12px; min-width:0; }
.plan-title h2{
  font-weight:800; text-transform:uppercase;
  font-size:22px; line-height:1; letter-spacing:.06em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.plan-header .bx{ color:#A8B3C7; opacity:.9; }

/* ===================== BULLETS ===================== */
.plan-bullet{
  width:14px; height:14px; border-radius:50%;
  box-shadow:0 0 0 4px rgba(255,255,255,.05), 0 10px 20px rgba(2,8,23,.4) inset;
}
.plan-bullet--base{ background:radial-gradient(circle at 30% 30%, #93C5FD 0%, #2563EB 90%); }
.plan-bullet--pro{ background:radial-gradient(circle at 30% 30%, #FDE68A 0%, #F59E0B 90%); }
.plan-bullet--premium{ background:radial-gradient(circle at 30% 30%, #C4B5FD 0%, #7C3AED 90%); }

/* ===================== FEATURES ===================== */
.plan-features{
  list-style:none; margin:10px 0 18px; padding:0;
  flex:1 1 auto;
}
.plan-features li{
  position:relative; margin:10px 0; padding-left:28px;
  font-size:15px; line-height:1.45;
  white-space:normal; word-break:keep-all;
}
.plan-features li::before{
  content:""; position:absolute; left:0; top:6px;
  width:16px; height:16px; border-radius:5px;
  background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(2,8,23,.45);
}

/* ===================== CTA ===================== */
.plan-cta{
  min-width:220px; padding:10px 16px; border-radius:12px;
  font-weight:700; letter-spacing:.02em;
  box-shadow:0 10px 28px rgba(249,168,38,.25);
}
.plan-card--featured .plan-cta{ box-shadow:0 12px 30px rgba(249,168,38,.35); }

/* ===================== MOBILE / TABLET ===================== */
@media (max-width:640px){
  .pricing-shell{ padding:14px; border-radius:22px; }
  .plans-grid{
    grid-template-columns:1fr !important;
    gap:14px; max-width:560px;
  }
  .plan-card{
    padding:14px 12px 16px;
    border-radius:18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px rgba(2,8,23,.45);
  }
  .plan-header{ margin-bottom:8px; }
  .plan-title{ gap:10px; }
  .plan-title h2{ font-size:18px; letter-spacing:.05em; }
  .plan-features{ margin:6px 0 14px; }
  .plan-features li{
    font-size:14px; line-height:1.4; margin:8px 0; padding-left:24px;
  }
  .plan-features li::before{ width:14px; height:14px; top:5px; border-radius:4px; }
  .plan-badge{ top:8px; right:10px; padding:5px 8px; font-size:11px; box-shadow:0 6px 14px rgba(249,168,38,.28); }
  .plan-cta{ width:100%; min-width:0; padding:10px 14px; border-radius:10px; box-shadow:0 10px 24px rgba(249,168,38,.28); }
}
@media (min-width:641px) and (max-width:992px){
  .plans-grid{ grid-template-columns:repeat(2, minmax(280px,1fr)) !important; }
}

/* rispetto preferenza riduzione movimento */
@media (prefers-reduced-motion: reduce){
  .plan-card{ transition:none !important; }
}

/* =========================
   STILI VARI VETROSI COERENTI CON LOGIN
   ========================= */
/* ===== THEME VETROSO SCURO GLOBALE ===== */
.theme-glass {
  color-scheme: dark;
}

/* Card generiche (anche Bootstrap .card) */
.theme-glass .card,
.theme-glass .mid-card,
.theme-glass .profile-glass,
.theme-glass .plan-card,
.theme-glass .pricing-shell {
  background: linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #E8F1FF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 32px rgba(2,8,23,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Modal vetroso */
.theme-glass .modal-content,
.theme-glass .modal-glass {
  background: linear-gradient(180deg, rgba(20,28,40,.76) 0%, rgba(8,16,28,.68) 100%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #E6EEF8;
  box-shadow: 0 22px 58px rgba(2,8,23,.6), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.theme-glass .modal-header,
.theme-glass .modal-footer { border-color: rgba(255,255,255,.10) !important; }
.theme-glass .btn-close,
.theme-glass .btn-close-white { filter: invert(1) grayscale(1); opacity:.8; }

/* Dropdown / Popover */
.theme-glass .dropdown-menu,
.theme-glass .ws-dropdown,
.theme-glass .popover,
.theme-glass .popover .popover-body {
  background: linear-gradient(180deg, rgba(20,28,40,.86) 0%, rgba(8,16,28,.78) 100%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #E6EEF8;
  box-shadow: 0 18px 44px rgba(2,8,23,.55);
  backdrop-filter: blur(14px);
}
.theme-glass .dropdown-item { color:#DDE7F6; }
.theme-glass .dropdown-item:hover { background: rgba(255,255,255,.06); }

/* List-group (es. elenco notifiche) */
.theme-glass .list-group,
.theme-glass .list-group-item {
  background: transparent !important;
  color:#D1DBEB;
  border-color: rgba(255,255,255,.10) !important;
}
.theme-glass .list-group-item + .list-group-item { border-top-color: rgba(255,255,255,.08) !important; }

/* Alert (success/warning/error) vetrosi */
.theme-glass .alert,
.theme-glass .login-alert {
  background: linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color:#E6EEF8 !important;
}
.theme-glass .alert-success { border-color: rgba(56,142,60,.45) !important; }
.theme-glass .alert-warning { border-color: rgba(245,158,11,.45) !important; }
.theme-glass .alert-danger  { border-color: rgba(239,68,68,.45) !important; }

/* Form controls coerenti (input/select/textarea) */
.theme-glass .form-control,
.theme-glass .form-select {
  background: linear-gradient(180deg, rgba(16,22,34,.66), rgba(10,16,26,.62)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #EAF2FF !important;
}
.theme-glass .form-control:focus,
.theme-glass .form-select:focus {
  border-color: rgba(245,158,11,.55) !important;
  box-shadow: 0 0 0 .2rem rgba(245,158,11,.15) !important;
}

/* Badge notifiche */
.theme-glass .badge { color:#fff; }

/* Bottoni icona/pulsanti coerenti */
.theme-glass .icon-btn,
.theme-glass .btn-outline-light {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #E6EEF8 !important;
}
.theme-glass .icon-btn:hover,
.theme-glass .btn-outline-light:hover { border-color: rgba(255,255,255,.20) !important; }

/* Link */
.theme-glass a { color:#CFE2FF; }
.theme-glass a:hover { color:#FFF; }

/* Utility: togli bianchi forzati */
.theme-glass .bg-white,
.theme-glass .bg-light { background: transparent !important; }

/* — Notifiche popover con scorrimento — */
.theme-glass #id_notText ul.list-group{
  max-height: 320px; overflow: auto; overscroll-behavior: contain;
  scrollbar-width: thin;
}
.theme-glass #id_notText ul.list-group::-webkit-scrollbar{ width:8px; height:8px; }
.theme-glass #id_notText ul.list-group::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18); border-radius: 8px;
}
.theme-glass #id_notText ul.list-group::-webkit-scrollbar-track{
  background: rgba(255,255,255,.06);
}

/* Bottoncini barra percorso (vetrosi scuri) */
.theme-glass .path-bar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  min-height:40px;
  border-radius:999px;
  padding:.45rem .9rem !important;
  background: linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#EAF2FF !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(2,8,23,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor:pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.theme-glass .path-bar:hover{
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: 0 14px 32px rgba(2,8,23,.55);
}
.theme-glass .path-bar:active{
  transform: translateY(1px);
}

/* Icone e link dentro al “bottone” */
.theme-glass .path-bar i{ color:#CFE2FF; opacity:.95; }
.theme-glass .path-bar a{
  color:#EAF2FF !important;
  text-decoration:none;
}
.theme-glass .path-bar a.text-underline-hover:hover{
  text-decoration: underline;
}

/* Variante “Cestino” leggermente evidenziata */
.theme-glass .path-bar[role="button"]{
  border-color: rgba(245,158,11,.30) !important; /* tenue arancio */
  box-shadow: 0 10px 26px rgba(249,168,38,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.theme-glass .path-bar[role="button"]:hover{
  border-color: rgba(245,158,11,.48) !important;
  box-shadow: 0 16px 38px rgba(249,168,38,.30);
}

/* Mobile: più compatti */
@media (max-width: 576px){
  .theme-glass .path-bar{
    min-height:36px;
    padding:.38rem .75rem !important;
    font-size:.95rem;
  }
}

/* =========================
   Theme-glass Toasts (glass dark)
   ========================= */

/* posizionamento del container (se non già definito) */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10850; /* sopra modali e header */
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none; /* permette click agli elementi sotto se toast non puntabile */
}

/* ogni toast è puntabile */
#toast-container .toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20,28,40,.82), rgba(8,16,28,.72));
  border: 1px solid rgba(255,255,255,.10);
  color: #E6EEF8;
  box-shadow: 0 22px 56px rgba(2,8,23,.62), inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  overflow: hidden;
  transform-origin: top right;
  transition: transform .18s ease, opacity .18s ease;
}

/* small width variant for mobile */
@media (max-width: 576px) {
  #toast-container .toast { min-width: 92vw; max-width: 92vw; right: 4vw; left: 4vw; }
}

/* header */
#toast-container .toast .toast-header {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-bottom: 1px solid rgba(255,255,255,.04);
  padding: .5rem .6rem;
  display: flex;
  gap: .6rem;
  align-items: center;
}

/* icon area */
#toast-container .toast .toast-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  background: rgba(255,255,255,.02);
  color: #EAF2FF;
  font-size: 1.05rem;
}

/* title and timestamp */
#toast-container .toast .me-auto {
  color: #F4F7FF;
  font-weight:700;
  font-size: .95rem;
}
#toast-container .toast small.text-muted {
  color: #AEBFD6;
  font-size: .78rem;
}

/* close button */
#toast-container .toast .btn-close {
  filter: invert(1) grayscale(1);
  opacity:.85;
  margin-left: .4rem;
  background: transparent;
  border: none;
}

/* body */
#toast-container .toast .toast-body {
  padding: .6rem .8rem;
  color: #D8E9FF;
  font-size: .95rem;
  line-height: 1.35;
}

/* variants */
#toast-container .toast.toast-success {
  border-color: rgba(56,142,60,.40);
}
#toast-container .toast.toast-error {
  border-color: rgba(239,68,68,.40);
}
#toast-container .toast.toast-warning {
  border-color: rgba(245,158,11,.40);
}

/* icon colors per stato */
#toast-container .toast.toast-success .toast-icon { color: #BFF0D0; }
#toast-container .toast.toast-error .toast-icon { color: #FFD0D0; }
#toast-container .toast.toast-warning .toast-icon { color: #FFE8C2; }

/* small animation on show/hide */
#toast-container .toast.fade {
  opacity: 0;
  transform: translateY(-6px) scale(.995);
}
#toast-container .toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* make close area larger on mobile */
@media (max-width: 576px) {
  #toast-container .toast .btn-close { width: 36px; height: 36px; }
}


/* Contenitore vetroso scuro */
.photo-upload-container{
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%);
  border: 1px dashed rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(2,8,23,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Etichetta cliccabile */
.photo-upload-label{
  display:block;
  border-radius: 22px;
  cursor:pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

/* Hover / focus / drag */
.photo-upload-label:hover,
.photo-upload-label:focus-within{
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 16px 36px rgba(2,8,23,.55);
}
.photo-upload-container.is-dragover .photo-upload-label{
  background: linear-gradient(180deg, rgba(24,34,48,.85) 0%, rgba(10,18,30,.80) 100%);
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 18px 44px rgba(249,168,38,.22), 0 10px 26px rgba(2,8,23,.55);
}

/* Testi e icona */
#photo-upload-icon{
  color:#EAF2FF;               /* icona chiara */
  opacity:.95;
  margin-bottom:.25rem;
}
#photo-upload-main-label{
  color:#F0F5FF;               /* titolo ben visibile */
  font-weight:700;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
#photo-upload-secondary-label{
  color:#B9C7DA;               /* descrizione leggibile */
}

/* Input invisibile ma accessibile */
.photo-upload{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity:0; cursor:pointer;
}

/* Barra progresso in stile */
.photo-progress{
  height:10px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.photo-progress .progress-bar{
  background: radial-gradient(120% 120% at 10% 10%, #FFE08A 0%, #F59E0B 55%, #F97316 100%);
  box-shadow: 0 6px 16px rgba(249,168,38,.35);
}

/* Mobile: un filo più compatto */
@media (max-width:576px){
  .photo-upload-container{ border-radius:18px; }
  #photo-upload-secondary-label{ font-size:.95rem; }
}

/* Contenitore scroll orizzontale responsive */
.grid-glass-wrap{
  margin: 18px 0;
  padding: 0;              /* il padding è sulla table */
  border-radius: 22px;
  overflow: hidden;        /* arrotondamento anche allo scroll interno */
  background: linear-gradient(180deg, rgba(20,28,40,.72) 0%, rgba(8,16,28,.66) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(2,8,23,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.grid-glass-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ====== GridView Utenti – dark fisso (niente bianco in hover) ====== */

/* contenitore glass */
.table100.utenti{
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.utenti thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.utenti th{
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.utenti tbody tr,
.table100.utenti tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.utenti tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.utenti tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.utenti tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.utenti td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.utenti td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.utenti tbody tr:last-child td{ border-bottom: none; }



/* ====== GridView Utenti – dark fisso (niente bianco in hover) ====== */

/* contenitore glass */
.table100.gruppi{
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.gruppi thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.gruppi th{
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.gruppi tbody tr,
.table100.gruppi tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.gruppi tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.gruppi tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.gruppi tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.gruppi td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.gruppi td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.gruppi tbody tr:last-child td{ border-bottom: none; }



/* =========================
   START — Hero (glass dark, rifinito)
   Prefix: start-
   ========================= */

.start-hero {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg,
              rgba(18,26,40,0.78) 0%,
              rgba(10,16,26,0.70) 60%,
              rgba(8,12,20,0.64) 100%) !important;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 22px 52px rgba(2,8,23,0.62);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  color: #EAF2FF;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease;
}

/* subtle lift on hover when not on touch devices */
@media (hover: hover) {
  .start-hero:hover {
    transform: translateY(-4px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 28px 64px rgba(2,8,23,0.68);
  }
}

/* decorative soft glow (top-left) */
.start-hero::before{
  content: "";
  position: absolute;
  left: -20%;
  top: -30%;
  width: 160%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(600px 300px at 10% 10%,
              rgba(249,168,38,0.06),
              rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
  opacity: .9;
}

/* thin embossed strip at bottom-right */
.start-hero::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 72px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: 0 6px 18px rgba(2,8,23,0.45);
  opacity: .9;
}

/* Title row with optional icon */
.start-hero-row {
  display:flex;
  gap: 12px;
  align-items: flex-start;
}

/* optional icon container */
.start-hero-icon {
  flex: 0 0 auto;
  width:52px;
  height:52px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  font-weight:800;
  color:#F6FBFF;
  font-size:18px;
}

/* Title */
.start-hero-title {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.08;
  font-weight: 800;
  color: #F8FBFF;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(2,8,23,0.45);
  display:flex;
  align-items:center;
  gap:10px;
}

/* small accent line under the title */
.start-hero-title .start-title-accent {
  display:inline-block;
  width: 36px;
  height: 4px;
  margin-left: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,224,138,1) 0%, rgba(245,158,11,1) 100%);
  box-shadow: 0 8px 22px rgba(249,168,38,0.14);
  vertical-align: middle;
}

/* Lead paragraph (emphasized) */
.start-hero-lead {
  margin: 10px 0 12px 0;
  color: #DCEFFF;
  font-size: 1.01rem;
  line-height: 1.56;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Strong inside lead uses slightly brighter color */
.start-hero-lead strong {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

/* Secondary description */
.start-hero-desc {
  margin: 0;
  color: #B9C7DA;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

/* compact spacing variant (if used inside narrow containers) */
.start-hero.compact {
  padding: 14px;
  border-radius: 12px;
}

/* mobile adjustments */
@media (max-width: 576px) {
  .start-hero {
    padding: 14px;
    border-radius: 12px;
  }
  .start-hero-icon { width:44px; height:44px; border-radius:10px; font-size:16px; }
  .start-hero-title { font-size:1.25rem; }
  .start-hero-lead { font-size:0.98rem; }
  .start-hero-desc { font-size:0.92rem; color:#B7C6D8; }
}

/* Accessibility: focus outline when keyboard navigation enters the section */
.start-hero:focus-within {
  outline: 3px solid rgba(245,158,11,0.10);
  outline-offset: 4px;
}

/* print: simplify */
@media print {
  .start-hero, .start-hero::before, .start-hero::after { box-shadow:none; background: #fff; color:#000; -webkit-print-color-adjust: exact; }
}

/* Compact variant — riduce padding, dimensioni e spaziature */
.start-hero.compact {
  padding: 12px 12px;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 12px 30px rgba(2,8,23,0.52);
  transform: none; /* rimuove hover lift per compattezza */
}

/* Titolo più piccolo e compatto */
.start-hero.compact .start-hero-title {
  font-size: 1.15rem;   /* compatto ma leggibile */
  line-height: 1.06;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(2,8,23,0.45);
}

/* Lead ridotto */
.start-hero.compact .start-hero-lead {
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight:600;
}

/* Desc più piccola e meno dominante */
.start-hero.compact .start-hero-desc {
  font-size: 0.88rem;
  color: #AEBFD6;
  line-height: 1.35;
}

/* Rimuove elementi decorativi troppo grandi per compattezza */
.start-hero.compact::before { display: none; }
.start-hero.compact::after { right: 8px; bottom: 8px; width: 48px; height: 4px; }

/* Mobile: ancora più compatto */
@media (max-width: 576px) {
  .start-hero.compact { padding: 10px; border-radius: 10px; }
  .start-hero.compact .start-hero-title { font-size: 1.05rem; }
  .start-hero.compact .start-hero-lead { font-size: 0.9rem; }
  .start-hero.compact .start-hero-desc { font-size: 0.85rem; }
  .login-card { margin-bottom: 10%; margin-top: 5%; }
}

/* Toast stile glass dark/blu */
.toast.toast-glass {
    background: rgba(10, 20, 40, 0.7) !important; /* blu scuro glass */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(80, 140, 255, 0.4) !important; /* bordo blu chiaro */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
}

/* Header */
.toast.toast-glass .toast-header {
    background: rgba(10, 20, 40, 0.3) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(80, 140, 255, 0.3) !important;
}

/* Icona + Titolo */
.toast.toast-glass .toast-header strong {
    color: #ffffff !important;
}

/* Corpo */
.toast.toast-glass .toast-body {
    color: #ffffff !important;
}

/* Pulsante chiudi */
.toast.toast-glass .btn-close {
    filter: invert(1) brightness(2) !important; /* bianco */
}

/* Assicura che la inner box riceva i click */
.search-for-something {
  position: relative;          /* base per eventuali overlay */
  z-index: 9000;               /* sopra contenuti sottostanti */
}

/* Se esistono pseudo-elementi overlay, non devono catturare i click */
.search-for-something::before,
.search-for-something::after,
.search-inner::before,
.search-inner::after {
  pointer-events: none !important;
}

/* La inner box deve ricevere eventi */
.search-inner {
  position: relative;
  z-index: 9001;               /* più alto del container */
  pointer-events: auto !important;
}

/* Assicuriamoci che i link siano cliccabili e abbiano display block */
.search-inner a {
  display: inline-block;
  text-decoration: none;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0.15);
}

/* Se usi .rounded-button come div, fai in modo che sembri e si comporti come un bottone */
.rounded-button {
  cursor: pointer;
  user-select: none;
  pointer-events: auto !important;
}

/* Nel caso fosse un overlay trasparente con background, riduci z-index */
.search-for-something .overlay-blocker {
  z-index: 0 !important;
  pointer-events: none !important;
}

/* BOTTONI GLASS SCURI */
.gs-btn-glass {
    background: linear-gradient(180deg, rgba(20,28,40,.78), rgba(8,16,28,.72)) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #EAF2FF !important;
    padding: .75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 12px 32px rgba(2,8,23,.45), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all .18s ease;
}

/* Hover */
.gs-btn-glass:hover {
    border-color: rgba(255,255,255,.20) !important;
    transform: translateY(-2px);
}

/* Versione alternativa (Registrati) con accento leggero */
.gs-btn-alt {
    border-color: rgba(245,158,11,.25) !important;
}

.gs-btn-alt:hover {
    border-color: rgba(245,158,11,.45) !important;
}

/* ====== GridView Error Log – dark fisso (niente bianco in hover) ====== */

/* contenitore glass */
.table100.errorLog_3{
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.errorLog_3 thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.errorLog_3 th{
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.errorLog_3 tbody tr,
.table100.errorLog_3 tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.errorLog_3 tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.errorLog_3 tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.errorLog_3 tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.errorLog_3 td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.errorLog_3 td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.errorLog_3 tbody tr:last-child td{ border-bottom: none; }


/* contenitore glass */
.table100.errorLog_2 {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.errorLog_2 thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.errorLog_2 th{
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.errorLog_3 tbody tr,
.table100.errorLog_3 tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.errorLog_2 tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.errorLog_2 tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.errorLog_2 tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.errorLog_2 td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.errorLog_2 td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.errorLog_2 tbody tr:last-child td{ border-bottom: none; }


/* contenitore glass */
.table100.errorLog {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.errorLog thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.errorLog th{
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.errorLog tbody tr,
.table100.errorLog tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.errorLog tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.errorLog tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.errorLog tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.errorLog td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.errorLog td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.errorLog tbody tr:last-child td{ border-bottom: none; }

.card, .mid-card, .wide-card {
    position: relative;
    background-color: #121926; /* dark background */
    border: 2px solid #1f2a3a; /* bordo leggermente più chiaro del background */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); /* shadow più pronunciata su dark */
    border-radius: 1.5rem;
    color: #e0e6f0; /* testo chiaro per contrasto */
    transition: all 0.3s ease;
}

/* Hover effect più moderno */
.card:hover, .mid-card:hover, .wide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* Titoli e testi all’interno della card */
.card h3, .mid-card h3, .wide-card h3 {
    color: #fff; /* titoli chiari */
}

.card p, .mid-card p, .wide-card p {
    color: #cbd5e1; /* testo secondario leggermente più chiaro */
}

/* contenitore glass */
.table100.manutenzione {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(16,22,34,.84) 0%, rgba(9,15,27,.78) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

.form-control {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

.form-select {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

.accordion-item {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #E8F1FF;
  background-color: transparent !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.45);
  overflow: hidden;
}

/* header */
.table100.manutenzione thead tr{
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%) !important;
}
.table100.manutenzione th {
  padding: 9px 12px;
  font: 800 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  letter-spacing:.03em;
  text-transform: uppercase;
  color:#F4F7FF;
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

/* reset aggressivo: impedisce sfondi chiari ereditati da Bootstrap/ASP */
.table100.manutenzione tbody tr,
.table100.manutenzione tbody td{
  background-color: transparent !important;
}

/* righe: base scura + zebra discreta */
.table100.manutenzione tbody tr{
  background: rgba(255,255,255,.035) !important;    /* base scura */
}
.table100.manutenzione tbody tr:nth-child(even){
  background: rgba(6,12,24,.18) !important;         /* zebra */
}

/* hover scuro (non bianco) */
.table100.manutenzione tbody tr:hover{
  background: rgba(255,255,255,.10) !important;     /* lieve schiarita, resta dark */
}

/* celle compatte, no wrap, ellissi */
.table100.manutenzione td{
  padding: 7px 10px;
  font-size: 12px;
  color: #CFE0F5;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* checkbox */
.table100.manutenzione td:nth-child(2) input[type="checkbox"]{
  width:16px; height:16px; accent-color:#F59E0B;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

/* ultima riga senza bordo */
.table100.manutenzione tbody tr:last-child td{ border-bottom: none; }

/* spazio-indicator.css
   Stili isolati per SpazioIndicator (namespace .si-*)
*/
.si-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111827;
  margin-top: 20px;
}

/* Circle */
.si-circle {
  width: 140px;
  height: 140px;
  position: relative;
  flex: 0 0 140px;
}
.si-circle svg {
  display: block;
  width: 100%;
  height: 100%;
}
.si-circle .si-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.si-circle .si-center .si-label {
  font-size: 12px;
  color: #6b7280; /* gray-500 */
}
.si-circle .si-center .si-value {
  font-size: 20px;
  font-weight: 600;
  margin-top: 3px;
}

.si-value {
  color: rgb(107, 114, 128);
}

/* Linear bar */
.si-bar {
  flex: 1 1 320px;
  min-width: 220px;
}
.si-bar .si-bar-headers {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .5rem;
  margin-bottom: .35rem;
}
.si-bar .si-small {
  font-size: 12px;
  color: #6b7280;
}

.si-usage-left, .si-usage-value {
  font-size: 12px;
  color: #6b7280;
}

.si-progress {
  position: relative;
  height: 18px;
  border-radius: 10px;
  background: #eef2f7; /* light background for assigned */
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.si-progress .si-free {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg,#34d399,#84cc16); /* green gradient */
  transition: width 800ms cubic-bezier(.2,.9,.2,1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-sizing: border-box;
}
.si-progress .si-free .si-innervalue {
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

/* Legend */
.si-legend {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
  align-items: center;
  font-size: 12px;
  color: #4b5563;
}
.si-legend .si-key {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
}
.si-legend .si-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.si-swatch-free { background: linear-gradient(90deg,#34d399,#84cc16); }
.si-swatch-assigned { background: #e6e7ea; }

/* Responsive tweaks */
@media (max-width: 520px) {
  .si-wrapper { justify-content: center; }
  .si-circle { width: 110px; height: 110px; flex-basis: 110px; }
}
