/* 
  * Root variables
*/
:root {
  --hsc-color-text: hsla(198, 66%, 16%, 1);
  --hsc-color-text-contrast: hsla(0, 0%, 100%, 1);
  --hsc-color-background: hsla(0, 0%, 100%, 1);

  --hsc-color-green-500: #B3F130;
  --hsc-color-green-400: hsla(96, 63%, 84%, 1);
  --hsc-color-green-350: #d1f0bc80;
  --hsc-color-green-300: hsla(95, 46%, 95%, 1);
  --hsc-color-lilac: hsla(263, 100%, 84%, 1);
  --hsc-color-lilac-grey: hsla(263, 18%, 96%, 1);
  --hsc-color-yellow: #ffb800;
  --hsc-color-orange: #FF8B38;
  --hsc-color-pink: hsla(346, 100%, 70%, 1);
  --hsc-color-alert-red: hsla(4, 85%, 49%, 1);
  --hsc-color-blue: hsla(209, 100%, 66%, 1);
  --hsc-color-teal-blue: hsla(187, 55%, 33%, 1);

  --hsc-color-ink-black: hsla(198, 66%, 16%, 1);
  --hsc-color-ink-black-a7: hsla(198, 66%, 16%, 0.7);
  --hsc-color-ink-black-a5: hsla(198, 66%, 16%, 0.5);
  --hsc-color-ink-black-a4: hsla(198, 66%, 16%, 0.4);
  --hsc-color-ink-black-a2: hsla(198, 66%, 16%, 0.2);
  --hsc-color-ink-black-a1: hsla(198, 66%, 16%, 0.1);
  --hsc-color-ink-black-30: hsla(193, 21%, 71%, 1);
  --hsc-color-gray-80: hsla(198, 4%, 24%, 1);
  --hsc-color-gray-60: hsla(204, 2%, 42%, 1);
  --hsc-color-gray-40: hsla(195, 4%, 68%, 1);
  --hsc-color-gray-20: hsla(151, 9%, 87%, 1);
  --hsc-color-gray-10: rgba(14, 52, 68, 0.1);
  --hsc-color-gray: hsla(150, 18%, 96%, 1);
  --hsc-color-gray-a2: hsla(198, 66%, 16%, 0.2);
  --hsc-color-white: hsla(0, 0%, 100%, 1);

  --hsc-font-weight-light: 400;
  --hsc-font-weight-normal: 500;
  --hsc-font-weight-medium: 600;
  --hsc-font-weight-semi-bold: 700;
  --hsc-font-weight-bold: 800;
  --hsc-font-weight-black: 900;
  --hsc-font-size-xs: 1.2rem;
  --hsc-font-size-sm: 1.4rem;
  --hsc-font-size-base: 1.6rem;
  --hsc-font-size-lg: 2rem;
  --hsc-font-size-xl: 2.4rem;
  --hsc-font-size-2xl: 3.2rem;
  --hsc-font-size-3xl: 4rem;

  --hsc-spacing-1: 0.8rem;
  --hsc-spacing-2: 1.2rem;
  --hsc-spacing-3: 1.6rem;
  --hsc-spacing-4: 2.4rem;
  --hsc-spacing-5: 3.2rem;
  --hsc-spacing-6: 4.8rem;
  --hsc-spacing-7: 6.4rem;
  --hsc-spacing-8: 9.6rem;
  --hsc-breakpoint-mobile-min: 375px;
  --hsc-breakpoint-tablet-min: 768px;
  --hsc-breakpoint-desktop-min: 1024px;
  --hsc-container-padding: 2.4rem;
  --hsc-container-padding-mobile: 6.4rem;

  --hsc-transition-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --hsc-transition-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --hsc-transition-linear: linear;
  --hsc-duration-200: 0.2s;
  --hsc-duration-300: 0.3s;

  overscroll-behavior: none;
}

/* 
  * CSS Reset
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html,
body {
  -webkit-text-size-adjust: 100%;
  font-size: 10px;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}
@media screen and (min-width: 1921px) {
  html {
    font-size: 0.5vw;
  }
}
body {
  color: var(--hsc-color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-size: inherit;
}
#root,
#__next {
  isolation: isolate;
}

/* 
  * Custom CSS
  * Components Prefix: hsc (HscComponentname)
*/

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/63b97f17bfc430a76ee1.ttf) format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/eb52c4570a34a02898c8.ttf) format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/9f5bdeaa4791672a1407.ttf) format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/e7c36b47e6cec9d98046.ttf) format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/20d002e242f16b5005ac.ttf) format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/4f69ac3b22741c171be3.ttf) format("truetype");
}

html {
  --hsc-font-family-body: "Figtree", system-ui, sans-serif;
  --hsc-font-family-heading: "Fraunces", sans-serif;/* non rimuovere */
  font-family: var(--hsc-font-family-body);
  font-feature-settings: "ss02" on;
  font-variant-alternates: styleset(ss02);
}

/* Global */
input,
button,
select,
option {
  font-size: var(--hsc-font-size-sm);
  font-weight: var(--hsc-font-weight-light);
  color: var(--hsc-color-text);
  background: var(--hsc-color-background);
}

ul {
  padding-left: 1rem;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--hsc-spacing-4);

  /* font boosting fix */
  width: 100%;
  height: auto;
  min-height: 1px;
  max-height: 999999px;
}

a {
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--scurisci-20, rgba(14, 52, 68, 0.2));
}

/* Layout */
.hsc-wrapper {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1024px) {
  /* .hsc-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "sidebar header"
      "sidebar main"
      "sidebar footer";
  } */
}

.hsc-container {
  max-width: 90rem;
  position: relative;
  z-index: 2;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: var(--hsc-spacing-3) var(--hsc-spacing-5);
}

.hsc-main {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--hsc-spacing-5) 0 0;
  padding-bottom: var(--hsc-spacing-6);
  flex-grow: 1;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
@media screen and (min-width: 1024px) {
  .hsc-main {
    padding-left: 24rem !important;
  }
}

.hsc-main .hsc-section {
  position: relative;
  z-index: 0;
}

.hsc-main .hsc-section:first-of-type {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .hsc-main {
    padding: var(--hsc-spacing-4) 0 0;
    padding-bottom: var(--hsc-spacing-6);
  }
}

@media screen and (min-width: 1440px) {
  .hsc-main {
    padding: var(--hsc-spacing-5) 0 0;
    padding-bottom: var(--hsc-spacing-6);
  }
}
.hsc-main--full {
  padding: 0 0;
  padding-bottom: var(--hsc-spacing-6);
}

.hsc-main--full .hsc-section:first-of-type:not(.hsc-section--full) {
  padding-top: var(--hsc-spacing-4);
}

.hsc-main .hsc-section + .hsc-section {
  margin-top: var(--hsc-spacing-6);
}

.hsc-main .hsc-section + .hsc-section--no-margin {
  margin-top: 0;
}

.hsc-main .hsc-section--full + .hsc-section--full {
  margin-top: 0;
}

.hsc-full-height {
  min-height: auto;
}
@media screen and (min-width: 1024px) {
  .hsc-full-height {
    min-height: 100vh;
  }
}

.hsc-section {
  padding: 0 var(--hsc-spacing-4);
}

@media screen and (min-width: 1024px) {
  .hsc-section {
    padding: 0 var(--hsc-spacing-6);
  }
}

.hsc-section--full {
  padding: 0;
}

.hsc-section--column {
  display: flex;
  flex-direction: column;
  gap: var(--hsc-spacing-3);
}

.hsc-section--footer {
  padding-top: var(--hsc-spacing-6);
  border-top: 1px solid var(--hsc-color-gray);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hsc-spacing-4);
}

.hsc-section--mt-0 {
  margin-top: 0 !important;
}

/* Root preview layout */
.root-list {
  padding-top: var(--hsc-spacing-3);
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--hsc-spacing-1);
}

.root-list li {
  display: flex;
  align-items: center;
  gap: var(--hsc-spacing-1);
}

.badge {
  font-family: system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.badge.ready {
  color: rgb(21, 128, 61);
  background-color: rgb(220, 252, 231);
}
.badge.ready svg {
  fill: #22c55e;
}
.badge.wip {
  color: rgb(133, 77, 14);
  background-color: rgb(254, 249, 195);
  margin-right: 1.2rem;
}
.badge.wip svg {
  fill: #eab308;
}
.badge.qa {
  color: rgb(255, 255, 255);
  background-color: rgb(236, 98, 7);
  margin-right: 1.2rem;
}
.badge.qa svg {
  fill: rgb(255, 255, 255);
}
.layer-pwd {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  background-color: #ffffffa8;
  display: grid;
  place-content: center;
  backdrop-filter: blur(10px);
}
.layer-pwd input {
  width: auto;
  color: var(--hsc-color-text);
  background-color: var(--hsc-color-white);
  border: 0.1rem solid var(--hsc-color-gray-40);
  border-radius: 1.2rem;
  padding: 1.4rem var(--hsc-spacing-3);
  margin: 0.5rem 0;
  transition: all var(--hsc-duration-300) var(--hsc-transition-ease-out);
  font-family: var(--hsc-font-family-body);
  font-size: var(--hsc-font-size-xl);
  font-weight: var(--hsc-font-weight-normal);
  line-height: 2.4rem;
  letter-spacing: 0;
  appearance: textfield;
  letter-spacing: 3rem;
  width: 31rem;
}
.layer-pwd input[data-error="true"] {
  border: 3px solid red;
  outline: 0;
}
.sr-only {
  display: none;
}

.hsc-sidebar-open {
  position: fixed;
  width: 100%;
  height: 100%;
}

.hsc-main--full > hr {
  border-color: hsla(150, 18%, 96%, 1);
  margin: var(--hsc-spacing-4) 0;
}

[data-radix-select-viewport] {
  scrollbar-width: thin !important;
}
[data-radix-select-viewport]::-webkit-scrollbar {
  display: block !important;
}

/* clears the ‘X’ from Internet Explorer */
input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

html body {
  overflow: auto !important;
  margin-right: 0 !important;
}

[data-radix-popper-content-wrapper] {
  z-index: 9999999 !important;
}

.hsc-chatbot {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  bottom: var(--hsc-spacing-3);
  right: var(--hsc-spacing-3);
  border-radius: 100%;
  background-color: var(--hsc-color-green-500);
}

@media screen and (min-width: 768px) {
  .hsc-chatbot {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .hsc-wrapper footer {
    padding-left: 24rem !important;
  }
  .HscPreFooterWrapper {
    padding-left: 24rem !important;
  }
}

.react-tooltip {
  top: auto !important;
  bottom: 0 !important;
  left: 50% !important;
  translate: -50% 0;
  min-width: 30rem;
  background-color: var(--hsc-color-white);
  border: 1px solid var(--hsc-color-green-500);
  border-radius: 0 1.6rem 1.6rem;
  padding: var(--hsc-spacing-2);
  font-weight: 550;
  z-index: 1500;
  box-shadow: 0 4px 24px 0 #12455929;
  opacity: 1 !important;
}

.react-tooltip-arrow {
  display: none;
}

.HscBody2 {
  font-family: var(--hsc-font-family-body);
  font-size: var(--hsc-font-size-base);
  font-weight: var(--hsc-font-weight-normal);
  line-height: 1.5;
  letter-spacing: 0em;
}
