/* ! Reset */
body,
html {
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  line-height: 1;
  font-size: 62.5%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  line-height: 1.5;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 2.6rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 0.8rem;
}

h6 {
  font-size: 0.6rem;
}

p {
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: .3s ease-in-out;
}

button {
  font-family: inherit;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

body {
  background-color: var(--cream);
}

:root {

  /* ! Color */
  --cream: #FFFCD4;
  --lime: #C8FF45;
  --maize: #F2E34B;
  --polyGreen: #205012;
  --screaminGreen: #6EED75;
  --byzantineBlue: #2A4DD3;
  --brightPink: #FF4F76;
  --skyBlue: #89D2FF;
  --federalBlue: #050553;
  --majorelBlue: #7657EB;
  --aliceBlue: #DBE5EF;
  --mauve: #E4A4F9;
  --chocolate: #44121C;
  --black: #000001;
  --eerieBlack: #1F1F1F;
  --white: #FFFFFF;

  /* ! Color Special */
  --gray: #EFEFEC;
  --red: #f10808;

  /* ! Fonts */
  --font-primary: "FactorA", sans-serif;

  --fs-xl: clamp(3rem, 6vw, 6rem);
  --fs-l: clamp(2.5rem, 4vw, 4rem);
  --fs-lg: clamp(2.2rem, 2.5vw, 2.5rem);
  --fs-md: clamp(2rem, 2rem, 2rem);
  --fs-text: clamp(1.6rem, 1.6vw, 1.6rem);
  --fs-text-sm: clamp(1.3rem, 1.3vw, 1.3rem);

  --title-ar: clamp(3rem, 5vw, 5rem);

}

/* ! CTA */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s ease;
}

.cta-bracket {
  transition: transform 0.4s ease;
}

.cta:hover .left {
  transform: translateX(-150px);
}

.cta:hover .right {
  transform: translateX(150px);
}

.cta-text {
  transition: transform 0.4s ease;
}

.cta:hover .cta-text {
  transform: translateX(-10px);
}

.cta .base {
  display: inline-block;
  transform: translateX(90%);
  transition: transform 0.4s ease;
}

.cta .extra {
  display: inline-block;
  transform: translateX(100%);
  opacity: 0;
  white-space: nowrap;
  transition: transform 0.4s ease, opacity 0.4s ease;
  margin-left: 6px;
}

.cta:hover .base,
.cta:hover .extra {
  transform: translateX(0);
  opacity: 1;
}

.cta--functions .base,
.cta--404 .base {
  transform: translateX(110%);
}

@media (max-width: 768px) {

  .cta {
    width: 100%;
  }

  .cta.text-xl {
    font-size: 2.5rem;
  }

  .cta-bracket {
    width: 30px;
  }

  .cta .base,
  .cta .extra {
    transform: translateX(0);
    opacity: 1;
  }

}

/* ! Form */
form,
input,
textarea,
select {
  width: 100%;
  border: none;
}

input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

label {
  display: inline-block;
}

textarea {
  resize: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--eerieBlack);
  padding: 2.5rem 3rem;
  background: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: var(--black);
  opacity: 0.5;
}

input:focus-visible::placeholder,
textarea:focus-visible::placeholder {
  visibility: hidden;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
}

select {
  color: var(--eerieBlack);
}

select:focus-visible {
  outline: none;
}

/* ! Popup generico */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  padding: 0 2rem;
  background-color: rgba(68, 65, 65, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  z-index: 1000;
}

.popup.open {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  position: relative;
  width: 70%;
  max-height: 450px;
  padding: 2.4rem 3.2rem;
  background-color: #FFFEF6;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.popup-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--brightPink);
  border-radius: 50%;
  z-index: 10;
}

.popup-content button {
  padding: 2.3rem 10rem;
  border-radius: 100px;
}

/* ! Popup accessibilità */
#accessibility-popup .popup-content {
  max-height: 560px;
  padding: 2rem 0;
  background-color: #FFFEF6;
}

#accessibility-popup .popup-content .popup-icon {
  width: 32px;
  height: 32px;
  top: 2rem;
  right: 2rem;
  border: none;
  background-color: #FFCAD6;
}

.accessibility-card {
  display: flex;
  align-items: center;
  padding: 1rem 2rem 1rem 1rem;
  background-color: var(--white);
  border: solid 1px var(--brightPink);
  border-radius: 1rem;
}

.accessibility-card .icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #FFDCE4;
  border-radius: 5px;
}

.accessibility-switch {
  width: 52px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
  background-color: #FFCAD6;
  border: solid 1px var(--brightPink);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accessibility-switch.on {
  background-color: var(--brightPink);
}

.accessibility-circle {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 3.5px;
  left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: var(--white);
  border-radius: 50%;
  transition: left 0.3s;
}

.accessibility-switch.on .accessibility-circle {
  left: 24px;
}


#accessibility-popup .popup-content #annulla-button {
  border: solid 1px var(--eerieBlack);
}

/* ! Popup messaggi */
#message-popup.popup-content #annulla-button {
  border: solid 1px var(--eerieBlack);
}

#message-popup .popup-content {
  max-height: 560px;
  padding: 2rem 0;
  background-color: #FFFEF6;
}

#message-popup .popup-content .popup-icon {
  width: 32px;
  height: 32px;
  top: 2rem;
  right: 2rem;
  border: none;
  background-color: #FFCAD6;
}

.saved-message {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 2rem;
  font-size: 1.6rem;
  color: var(--eerieBlack);
  background: var(--screaminGreen);
  border-radius: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 9999;
}

.saved-message.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {

  .popup-content {
    width: 80%;
  }

}

@media (max-width: 768px) {

  .popup-icon {
    width: 34px;
    height: 34px;
  }

  .popup-content {
    width: 100%;
  }

}

/* ! Dropdown generico */

.dropdown-menu {
  display: none;
  position: absolute;
  width: max-content;
  min-width: 100%;
  background-color: var(--cream);
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 10;
}

/* ! Font */
.text-xl {
  font-size: var(--fs-xl);
  line-height: 1.2;
}

.text-l {
  font-size: var(--fs-l);
  line-height: 1.2;
}

.text-lg {
  font-size: var(--fs-lg);
  line-height: 1.2;
}

.text-md {
  font-size: var(--fs-md);
  line-height: 1.3;
}

.text {
  font-size: var(--fs-text);
  line-height: 1.3;
}

.text-sm {
  font-size: var(--fs-text-sm);
  line-height: 1.3;
}

.title {
  font-size: var(--title-ar);
  line-height: 1.2;
}


/* ! Grid System */
.container {
  display: flex;
  flex-flow: row;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container--center {
  justify-content: center;
}

.container--ar {
  max-width: 1200px;
}

[class*='col-'] {
  position: relative;
  padding: 0 1rem;
}

.container .container [class*='col-'] {
  padding: 0px;
}

.col-20 {
  width: 20%;
}

.col-25 {
  width: 25%;
}

.col-30 {
  width: 30%;
}

.col-33 {
  width: 33.33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-70 {
  width: 70%;
}

.col-80 {
  width: 80%;
}

.col-90 {
  width: 90%;
}

.col-100 {
  width: 100%;
}

@media (max-width: 991px) {
  .tab-20 {
    width: 20%;
  }

  .tab-25 {
    width: 25%;
  }

  .tab-33 {
    width: 33.33%;
  }

  .tab-50 {
    width: 50%;
  }

  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  [class*='col-'] {
    width: 100%;
  }

  .sma-20 {
    width: 20%;
  }

  .sma-25 {
    width: 25%;
  }

  .sma-33 {
    width: 33.33%;
  }

  .sma-50 {
    width: 50%;
  }

  .sma-100 {
    width: 100%;
  }
}

/* ! Animazioni allo scroll */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ! Header */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--cream);
  transition: top 0.3s ease;
  z-index: 1000;
}

.header.hidden {
  top: -150px;
}

.header__content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 224px;
  z-index: 1;
}

.header__menu>ul>li {
  display: inline-block;
  position: relative;
  padding: 0 2.5rem;
}

.header__menu>ul>li>a {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 400;
  color: var(--brightPink);
  transition: all .3s ease-in-out;
}

.header__menu>ul>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brightPink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header__menu>ul>li>a.active::after,
.header__menu>ul>li>a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__menu>ul>li>a:hover::after {
  transform: scaleX(1);
}

.header__menu>ul>li:last-child>a {
  padding: 1rem 2.5rem;
  color: var(--cream);
  background-color: var(--brightPink);
  border-radius: 10rem;
}

.header__menu>ul>li:last-child>a::after {
  display: none;
}

.header__social,
.header__policy {
  display: none;
}

.header__burger {
  display: none;
}

@media (max-width: 992px) {

  .logo {
    width: 158px;
  }

  .header__menu {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    padding: 0 2rem;
    background-color: var(--cream);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .open .header__menu {
    transform: translateY(0);
    opacity: 1;
  }

  .header__menu>ul {
    width: 100%;
    margin-top: 130px;
  }

  .header__menu>ul>li {
    display: block;
    padding: 2.5rem 0;
  }

  .header__menu>ul>li:last-child>a {
    width: 100%;
    text-align: center;
    padding: 2rem;
    margin-bottom: 100px;
  }

  .header__social,
  .header__policy {
    display: block;
    margin-bottom: 50px;
  }

  .header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 3.5rem;
    right: 2rem;
    padding: 0.8rem 0;
    background-color: var(--brightPink);
    border-radius: 10rem;
    cursor: pointer;
  }

  .header__burger span {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--cream);
    left: 50%;
    transform: translate(-50%);
  }

  .header__burger span:nth-child(1) {
    top: 10px;
  }

  .header__burger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header__burger span:nth-child(3) {
    bottom: 10px;
  }

  .open .header__burger span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
    top: 50%;
  }

  .open .header__burger span:nth-child(2) {
    opacity: 0;
  }

  .open .header__burger span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
    top: 50%;
  }

}

/* ! Hero */

.hero {
  width: 100%;
  height: 800px;
  position: relative;
  background: url(../images/hero-background.webp) no-repeat center center;
  background-size: cover;
}

.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__words {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__words .word {
  opacity: 0;
}

.hero__words .word.is-visible {
  opacity: 1;
}

.hero__bracket {
  width: 150px;
  height: 450px;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero__bracket.left.bracket-1 {
  background-image: url(../images/hero_bracket_1_sx.svg);
}

.hero__bracket.right.bracket-1 {
  background-image: url(../images/hero_bracket_1_dx.svg);
}

.hero__bracket.left.bracket-2 {
  background-image: url(../images/hero_bracket_2_sx.svg);
}

.hero__bracket.right.bracket-2 {
  background-image: url(../images/hero_bracket_2_dx.svg);
}

.hero__bracket.left.bracket-3 {
  background-image: url(../images/hero_bracket_3_sx.svg);
}

.hero__bracket.right.bracket-3 {
  background-image: url(../images/hero_bracket_3_dx.svg);
}

@media (max-width: 576px) {

  .hero__bracket {
    width: 50px;
    height: 200px;
  }

}

@media (max-width: 320px) {

  .hero__bracket {
    display: none;
  }

}

.wavy-col,
.rounded-col,
.curly-col,
.square-col {
  align-items: center;
}

.wavy-col span,
.rounded-col span,
.curly-col span,
.square-col span {
  padding: 0 3rem;
}

@media (max-width: 768px) {

  .wavy-col,
  .rounded-col,
  .curly-col .square-col {
    align-items: flex-start;
  }

  .wavy-col span,
  .rounded-col span,
  .curly-col span,
  .square-col span {
    padding: 0 1.5rem;
  }

}

@media (max-width: 480px) {

  .wavy-col .bracket {
    width: 16px;
  }

  .rounded-col .bracket,
  .curly-col .bracket,
  .square-col .bracket {
    width: 30px;
  }

}

@media (max-width: 360px) {

  .bracket {
    display: none;
  }

}

.slider-navigation .arrow-left,
.slider-navigation .arrow-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 2.5rem;
  color: var(--byzantineBlue);
  background-color: var(--skyBlue);
  border-radius: 100%;
  cursor: pointer;
}

.contatti-home,
.chi-siamo-home,
.funzioni-home {
  width: 50%;
  padding: 100px;
}

.contatti-home .full,
.chi-siamo-home .full,
.funzioni-home .full {
  display: none;
}

.contatti-home a:hover .empty,
.chi-siamo-home a:hover .empty,
.funzioni-home a:hover .empty {
  display: none;
}

.contatti-home a:hover .full,
.chi-siamo-home a:hover .full,
.funzioni-home a:hover .full {
  display: block;
}

.funzioni-home:has(a:hover) {
  background-color: var(--screaminGreen);
}

@media (max-width: 992px) {

  .contatti-home,
  .chi-siamo-home,
  .funzioni-home {
    padding: 100px 20px;
  }

}

@media (max-width: 768px) {

  .contatti-home,
  .chi-siamo-home,
  .funzioni-home {
    width: 100%;
  }

}

.accordion-item {
  border-radius: 100px;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 4rem;
  text-align: left;
}

.accordion-icon {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--lime);
  background-color: var(--black);
  border-radius: 100px;
  flex-shrink: 0;
}

.accordion-item.accordion-active .accordion-icon .fa-arrow-down {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 4rem 2rem 4rem;
  background-color: var(--white);
  display: none;
  border-radius: 25px;
  transition: .3s ease;
}

.accordion-item.accordion-active {
  display: block;
  border-radius: 25px;
}

.accordion-item.accordion-active .accordion-body {
  display: block;
}

@media (max-width: 768px) {
  .faq__title {
    margin-bottom: 3rem;
  }

  .accordion-header {
    padding: 1rem 2rem;
  }

  .accordion-body {
    padding: 0 2rem 1rem 2rem;
  }
}

@media (max-width: 380px) {
  .accordion-item {
    border-radius: 25px;
  }
}

.footer {
  padding: 10rem 0;
}

.footer__logo {
  margin-bottom: 100px;
}

@media (max-width: 768px) {

  .footer {
    padding: 5rem 0;
  }

  .footer__actors {
    margin-bottom: 50px;
  }


}

.card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 5rem 2rem 2rem 2rem;
}

.card .card__button {
  margin-top: auto;
}

.card .card__button a {
  display: block;
  width: 100%;
  padding: 2rem;
  border-radius: 100px;
}

.contatti__form-group {
  width: 50%;
  padding: 0 1rem;
}

.contatti__form-group label {
  margin-left: 3rem;
}

.contatti__form-group textarea {
  border-radius: 3rem;
}

.contatti__form-group .success {
  padding: 2rem;
  color: var(--eerieBlack);
  background-color: #07cb14;
}

.contatti__form-group .error {
  padding: 2rem;
  color: var(--white);
  background-color: #ff0000;
}

.contatti__form-checkbox label {
  margin-left: 10px;
}

@media (max-width: 768px) {

  .contatti__form-group {
    width: 100%;
  }

}

.accedi {
  width: 100%;
  height: 100vh;
  display: flex;
}

.accedi-img {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.accedi-text {
  width: 50%;
  padding-top: 10rem;
  overflow-y: auto;
}

.accedi-text input[type="radio"] {
  display: none;
}

.accedi-text .label-radio {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: var(--white);
  border-radius: 10rem;
  cursor: pointer;
  transition: background-color 0.3 ease;
}

.accedi-text .label-radio .radio-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--polyGreen);
  color: var(--screaminGreen);
  background-color: transparent;
  margin-right: 2rem;
}

.accedi-text .label-radio .radio-custom i {
  display: none;
}

.accedi-text input[type="radio"]:checked+label .radio-custom {
  background-color: var(--polyGreen);
}

.accedi-text input[type="radio"]:checked+label .radio-custom i {
  display: block;
}

.accedi-text button span {
  padding: 0 7rem;
}

@media (max-width: 992px) {

  .accedi-img {
    display: none;
  }

  .accedi-text {
    width: 100%;
  }

  .accedi-text label .radio-custom {
    width: 40px;
    height: 40px;
  }

}

/*-------------------------- Area Riservata --------------------------------------------------------*/

.header-ar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--brightPink);
  z-index: 1000;
}

.header-ar .open-btn {
  font-size: 2.4rem;
  color: var(--cream);
  margin-right: 10px;
}

.header-ar .logo {
  width: 140px;
}

.header-ar .profile {
  padding: 5px;
  background-color: var(--white);
  border-radius: 100px;
}

.header-ar .profile img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 100px;
  margin-right: 5px;
}

.header-ar #user-dropdown {
  top: 110%;
  right: 0;
}

.main-sidebar {
  width: 360px;
  height: 100%;
  position: fixed;
  top: 0;
  left: -100%;
  padding: 1rem 2rem;
  background-color: var(--cream);
  overflow-y: auto;
  transition: all .3s ease-in-out;
  z-index: 1000;
}

.open .main-sidebar {
  left: 0;
}

.main-sidebar .close-btn {
  font-size: 2.4rem;
  color: var(--brightPink);
}

.main-sidebar .logo {
  width: 140px;
}

.main-sidebar .menu ul li a {
  display: block;
  font-size: 2rem;
  padding: 2rem;
}

.main-sidebar .menu ul li a.active {
  color: var(--white);
  background-color: var(--brightPink);
}

@media (max-width: 576px) {

  .header-ar .logo {
    width: 120px;
  }

  .header-ar .profile {
    padding: 2px;
  }

  .header-ar .profile img {
    margin-right: 0;
  }

  .header-ar .profile span {
    display: none;
  }

}

@media (max-width: 480px) {

  .main-sidebar {
    width: 100%;
  }

  .main-sidebar .logo {
    width: 120px;
  }

}

/* ! Dashboard */

.dashboard-card {
  display: flex;
  flex-direction: column;
  min-height: 225px;
  padding: 2rem;
}

.dashboard-card__icon {
  width: 40px;
  height: 40px;
}

.dashboard-card__title {
  margin-top: auto;
}

/* ! Chat */

.chat__container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.chat__msg {
  width: 60%;
  margin: 100px 0 5px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* .msg-utente,
.msg-muselia {
  display: none;
} */

.msg-utente {
  width: 60%;
  padding: 2rem 1rem;
  margin-left: auto;
  margin-bottom: 10px;
  background-color: var(--cream);
  border-radius: 2rem;
}

.msg-muselia {
  width: 80%;
  padding: 2rem 1rem;
  margin-bottom: 10px;
  background-color: #FFDCE4;
  border-radius: 2rem;
}

.msg-muselia .reader-dropdown {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  background-color: var(--white);
  border: solid 1px var(--brightPink);
  border-radius: 4px;
  z-index: 1;
}

.msg-muselia .reader-dropdown input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  background-color: var(--brightPink);
  outline: none;
  padding: 0;
}

.msg-muselia .reader-dropdown input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background-color: var(--byzantineBlue);
  border-radius: 50%;
  cursor: pointer;
}

.msg-muselia .reader-dropdown input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.msg-muselia .reader-dropdown.show {
  display: block;
}

.msg-muselia #report-button,
.msg-muselia #reader-button,
.msg-muselia #bookmark-button {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: var(--white);
  border-radius: 100px;
}

.msg-muselia .bookmark-message {
  position: absolute;
  top: -0.5rem;
  right: 0;
  transform: translateY(1rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 50;
  white-space: nowrap;
}

.msg-muselia .bookmark-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat__input {
  width: 60%;
  margin-top: auto;
  margin-bottom: 1rem;
}

.chat__input label,
.chat__input span {
  margin-left: 2rem;
}

.chat__input select {
  font-size: 1.8rem;
  color: var(--eerieBlack);
  opacity: 0.5;
  padding: 2rem;
  border: solid 1px var(--brightPink);
  border-radius: 5px;
}

.chat__textarea {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: solid 1px var(--brightPink);
  border-radius: 5px;
}

.chat__textarea textarea {
  font-size: 1.8rem;
  min-height: 70px;
  margin-bottom: 1rem;
  padding: 0;
  resize: none;
  overflow-y: auto;
}

.chat__textarea #actions-button,
.chat__textarea #tools-button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: solid 1px var(--brightPink);
  border-radius: 100px;
}

.chat__textarea #record-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.chat__textarea #send-button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--gray);
  border-radius: 100px;
  cursor: not-allowed;
}

.chat__textarea #send-icon {
  opacity: 1;
}

.chat__textarea #send-button.active {
  background-color: var(--brightPink);
  cursor: pointer;
}

.chat__textarea #send-button.active #send-icon {
  color: var(--white);
  opacity: 1;
}

.chat__textarea #actions-dropdown,
.chat__textarea #tools-dropdown {
  left: 0;
  bottom: 110%;
  background-color: var(--white);
  border: solid 1px var(--brightPink);
}

.chat__textarea .tools-label {
  display: flex;
  align-items: center;
  background-color: #FFDCE4;
  padding: 1rem;
  border-radius: 100px;
  margin-left: 4px;
}

.chat__textarea .tools-label[hidden] {
  display: none !important;
}

.chat__textarea .label-text {
  margin-left: 0;
}

.chat__textarea .remove-label {
  font-size: 1.2rem;
  margin-left: 1rem;
}

@media (max-width: 992px) {

  .chat__input,
  .chat__msg {
    width: 100%;
  }

  .msg-utente,
  .msg-muselia {
    width: 90%;
    padding: 1rem;
  }

}

@media (max-width: 768px) {

  .chat__input label,
  .chat__input span {
    margin-left: 1rem;
  }

  .chat__input select {
    padding: 1.6rem 1rem;
  }

  .chat__textarea {
    padding: 1rem;
  }

}

/* ! Cronologia */

.cronologia label {
  margin-left: 2rem;
}

.cronologia select,
.cronologia .search-input input {
  font-size: 1.8rem;
  color: var(--eerieBlack);
  opacity: 0.5;
  padding: 1.6rem 2rem;
  border: solid 1px var(--brightPink);
  border-radius: 5px;
}

.cronologia .search-input .search-icon {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
}

.cronologia .history-interaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2rem;
  background-color: var(--cream);
  border-radius: 1rem;
}

.cronologia .history-interaction .interaction-text {
  flex-grow: 1;
  min-width: 0;
  margin-right: 1rem;
}

.cronologia .history-interaction .interaction-text a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cronologia .history-interaction .interaction-text a:hover {
  text-decoration: underline;
}

.cronologia .history-interaction .interaction-text input {
  width: 100%;
  background-color: transparent;
  padding: 0;
}

.cronologia .interaction-options button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--white);
  border: solid 1px #FF4F76;
  border-radius: 100px;
}

.cronologia .load-more {
    width: 100%;
    padding: 1.6rem 2rem;
    font-size: var(--fs-text);
    color: var(--brightPink);
    background-color: transparent;
    border: solid 1px var(--brightPink);
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cronologia .load-more:hover {
    color: var(--white);
    background-color: var(--brightPink);
}

@media (max-width: 768px) {

  .cronologia select {
    margin-bottom: 2rem;
  }

  .cronologia .history-interaction .interaction-text a,
  .cronologia .history-interaction .interaction-text input {
    font-size: 1.6rem;
  }

  .cronologia .interaction-text span {
    font-size: 1.4rem;
  }

  .cronologia .interaction-options button {
    width: 32px;
    height: 32px;
  }

}

/* ! Segnalibri */

.segnalibri label {
  margin-left: 2rem;
}

.segnalibri select,
.segnalibri .search-input input {
  font-size: 1.8rem;
  color: var(--eerieBlack);
  opacity: 0.5;
  padding: 1.6rem 2rem;
  border: solid 1px var(--brightPink);
  border-radius: 5px;
}

.segnalibri .search-input .search-icon {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
}

.segnalibri .history-interaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2rem;
  background-color: var(--cream);
  border-radius: 1rem;
}

.segnalibri .history-interaction .interaction-text {
  flex-grow: 1;
  min-width: 0;
  margin-right: 1rem;
}

.segnalibri .history-interaction .interaction-text a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.segnalibri .history-interaction .interaction-text a:hover {
  text-decoration: underline;
}

.segnalibri .history-interaction .interaction-text input {
  width: 100%;
  background-color: transparent;
  padding: 0;
}

.segnalibri .interaction-options button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--white);
  border: solid 1px #FF4F76;
  border-radius: 100px;
}

.segnalibri .history-interaction .interaction-text .tools-label {
  padding: 5px 1rem;
  background-color: var(--white);
  border-radius: 100px;
}

@media (max-width: 768px) {

  .segnalibri select {
    margin-bottom: 2rem;
  }

  .segnalibri .history-interaction .interaction-text a,
  .segnalibri .history-interaction .interaction-text input {
    font-size: 1.6rem;
  }

  .segnalibri .interaction-text span {
    font-size: 1.4rem;
  }

  .segnalibri .interaction-options button {
    width: 32px;
    height: 32px;
  }

}

/* ! Pagine Guida */

.pagine-guida label {
  margin-left: 2rem;
}

.pagine-guida select,
.pagine-guida .search-input input {
  font-size: 1.8rem;
  color: var(--eerieBlack);
  opacity: 0.5;
  padding: 1.6rem 2rem;
  border: solid 1px var(--brightPink);
  border-radius: 5px;
}

.pagine-guida .search-input .search-icon {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
}

.pagine-guida .guida {
  display: flex;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  background-color: var(--cream);
  border-radius: 1rem;
}

.pagine-guida .guida .guida-text {
  flex-grow: 1;
  min-width: 0;
  margin-right: 1rem;
}

.pagine-guida .guida .guida-text h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagine-guida .guida .guida-text button {
  padding: 5px 1rem;
  background-color: var(--white);
  border-radius: 100px;
}

.pagine-guida .guida .guida-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: var(--white);
  border: solid 1px #FF4F76;
  border-radius: 100px;
}

@media (max-width: 768px) {

  .pagine-guida .search-input input {
    margin-bottom: 2rem;
  }

  .pagine-guida .guida .guida-text h3 {
    font-size: 1.6rem;
  }

  .pagine-guida .guida .guida-text button,
  .pagine-guida .guida .guida-text a {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .pagine-guida .guida .guida-icon {
    width: 28px;
    height: 28px;
  }

}

/* ! Corso di formazione */

.corso-di-formazione .videolezioni {
  display: flex;
  gap: 1rem;
  overflow-y: auto;
}

.corso-di-formazione .videolezioni button {
  display: block;
  width: 200px;
  flex: 0 0 200px;
  text-align: left;
}

/*-------------------------- Helpers --------------------------------------------------------*/

/* ! Color */

.cream {
  color: var(--cream);
}

.lime {
  color: var(--lime);
}

.maize {
  color: var(--maize);
}

.green {
  color: var(--polyGreen);
}

.light-green {
  color: var(--screaminGreen);
}

.blue {
  color: var(--byzantineBlue);
}

.pink {
  color: var(--brightPink);
}

.sky-blue {
  color: var(--skyBlue);
}

.federal-blue {
  color: var(--federalBlue);
}

.mj-blue {
  color: var(--majorelBlue);
}

.mauve {
  color: var(--mauve);
}

.chocolate {
  color: var(--chocolate);
}

.black {
  color: var(--black);
}

.light-black {
  color: var(--eerieBlack);
}

.white {
  color: var(--white);
}

/* ! Color Special */
.gray {
  color: var(--gray);
}

.red {
  color: var(--red);
}

/* ! Background Color */
.bg-cream {
  background-color: var(--cream);
}

.bg-lime {
  background-color: var(--lime);
}

.bg-maize {
  background-color: var(--maize);
}

.bg-green {
  background-color: var(--polyGreen);
}

.bg-light-green {
  background-color: var(--screaminGreen);
}

.bg-blue {
  background-color: var(--byzantineBlue);
}

.bg-pink {
  background-color: var(--brightPink);
}

.bg-mauve {
  background-color: var(--mauve);
}

.bg-skyblue {
  background-color: var(--skyBlue);
}

.bg-aliceblue {
  background-color: var(--aliceBlue);
}

.bg-chocolate {
  background-color: var(--chocolate);
}

.bg-white {
  background-color: var(--white);
}

/* ! Background Color Special */
.bg-gray {
  background-color: var(--gray);
}

.bg-red {
  background-color: var(--red);
}


/* ! Font Weight */
.fw-regular {
  font-weight: 400;
}

.fw-medium {
  font-weight: 500;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

/* ! Text Align */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ! Text Decoration */
.tdu {
  text-decoration: underline;
}

.hover-purple:hover {
  color: var(--purplePyzzazz);
}

.hover-white:hover {
  color: var(--ghostWhite);
}

.list-style-disc {
  list-style: disc;
}

/* ! Text Transform */
.ttu {
  text-transform: uppercase;
}

/* ! Layout */
.d-flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.align-items-start {
  align-items: start;
}

.align-items-center {
  align-items: center;
}

.j-content-center {
  justify-content: center;
}

.j-content-between {
  justify-content: space-between;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

.p-relative {
  position: relative;
}

.gap-2 {
  gap: 2rem;
}

.gap-4 {
  gap: 4rem;
}

.flow-column {
  flex-flow: column;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.radius-100 {
  border-radius: 10rem;
}

.cursor-pointer {
  cursor: pointer;
}

.rotate-180 {
  transform: rotate(180deg);
}

.opacity-05 {
  opacity: 0.5;
}

.hr {
  border: solid 1px var(--brightPink);
}

@media (max-width: 768px) {
  .column-reverse {
    flex-direction: column-reverse;
  }
}

/* ! Margin e Padding */

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-80 {
  margin-top: 80px;
}

.mt-90 {
  margin-top: 90px;
}

.mt-100 {
  margin-top: 100px;
}

.mt-150 {
  margin-top: 150px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mb-70 {
  margin-bottom: 70px;
}

.mb-80 {
  margin-bottom: 80px;
}

.mb-90 {
  margin-bottom: 90px;
}

.mb-100 {
  margin-bottom: 100px;
}

.ml-6 {
  margin-left: 6px;
}

.ml-8 {
  margin-left: 8px;
}

.ml-30 {
  margin-left: 30px;
}


.mr-4 {
  margin-right: 4px;
}

.mr-8 {
  margin-right: 8px;
}

.mr-10 {
  margin-right: 10px;
}

.ml-auto {
  margin-left: auto;
}

.m-auto {
  margin: 0 auto;
}

.px-40 {
  padding: 0 4rem;
}

.py-20 {
  padding: 2rem 0;
}

.py-50 {
  padding: 5rem 0;
}

.py-100 {
  padding: 10rem 0;
}

.py-150 {
  padding: 15rem 0;
}