body {
  background-color: #faf9f8 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: none !important;
}


#app {
  height: 100%;
}

.attiva-mainlayout {
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.attiva-mainlayout-body {
  flex-grow: 1;
  overflow-y: auto;
  height: 100%;
  padding-left: 8px;
  padding-right: 16px;
  box-sizing: border-box;
}

.attiva-mainlayout-company {
  width: 250px;
  max-width: 250px;
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF;
}

/* Launcher Outlook / Microsoft 365: 9 puntini bianchi su griglia 3×3 */
.attiva-o365-waffle-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  font: inherit;
  color: inherit;
}

.attiva-o365-waffle-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.attiva-o365-waffle-btn:active {
  background-color: rgba(255, 255, 255, 0.18);
}

.attiva-o365-waffle-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 1px;
}

.attiva-o365-waffle-dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 3px;
  place-items: center;
}

.attiva-o365-waffle-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #ffffff;
  display: block;
}

.attiva-mainlayout-footer {
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  padding-top: 3px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: rgb(3, 106, 196);
  color: #ebf3fc;
  line-height: 24px;
}

.attiva-mainlayout-stack {
  flex-grow: 1 !important;
  height: 0; /* Trucco CSS: permette al flex-grow di calcolare correttamente lo spazio */
  overflow: hidden;
}

.attiva-body {
  width: calc(100% - 36px) !important;
  max-width: 2000px;
  margin: auto !important;
  height: calc(100vh - 74px);
  min-height: calc(100vh - 74px);
  max-height: calc(100vh - 74px);
}


.attiva-datagrid {
}

.attiva-login {
  position: relative;
  height: calc(100vh - 100px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.attiva-mainlayout-header {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  width: 100% !important;
  min-width: 100% !important;
  width: 100%;
  border-bottom: 1px solid #eaeaea;
  margin-left: 0px;
  padding-left: 0px;
}

.attiva-mainlayout-menu {
  background-color: #f2f2f2;
  width: 250px !important;
  min-width: 250px !important;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 16px;
  border-right: 1px solid var(--neutral-stroke-rest);
  padding-top:8px;
}

.attiva-mainlayout-menu-title {
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  width: 250px;
  max-width: 250px;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 600 !important;
  line-height: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #242424;
}

.attiva-mb-12 {
  margin-bottom: 12px !important;
}

.attiva-mb-16 {
  margin-bottom: 16px !important;
}

.attiva-mb-4 {
  margin-bottom: 4px !important;
}

.attiva-mb-8 {
  margin-bottom: 8px !important;
}

.attiva-ml-12 {
  margin-left: 12px !important;
}

.attiva-ml-16 {
  margin-left: 16px !important;
}

.attiva-ml-4 {
  margin-left: 4px !important;
}

.attiva-ml-8 {
  margin-left: 8px !important;
}

.attiva-mr-12 {
  margin-right: 12px !important;
}

.attiva-mr-16 {
  margin-right: 16px !important;
}

.attiva-mr-4 {
  margin-right: 4px !important;
}

.attiva-mr-8 {
  margin-right: 8px !important;
}

.attiva-mt-12 {
  margin-top: 12px !important;
}

.attiva-mt-16 {
  margin-top: 16px !important;
}

.attiva-mt-4 {
  margin-top: 4px !important;
}

.attiva-mt-8 {
  margin-top: 8px !important;
}

.attiva-row {
  min-height: 52px;
  width: 100%;
}

.attiva-toolbar-divider {
  min-height: 24px;
  height: 24px;
}

.attiva-user-roles-grid {
  min-height: calc(100vh - 70vh) !important;
  max-height: calc(100vh - 70vh) !important;
  overflow: auto;
}

.attiva-user-roles-modal-grid {
  max-height: 90%;
  min-height: 50%;
  height: 100%;
  overflow: auto;
}

.fluent-nav-menu {
}

.fluent-presence-badge {
  font-weight: normal !important;
  font-size: 18px;
}

/*.main-layout-build-version {
  line-height: 20px;
}

.main-layout-home {
  background-color: transparent !important;
  border: 0px;
}

.main-layout-home-button {
  background-color: #f5f5f5 !important;
  color: black;
}*/
.header-gutters {
  margin-left: 0px !important;
}

.attiva-ai-request {
  display: inline-block;
  background-color: #f0f0f0;
  border-start-start-radius: 0px;
  border-start-end-radius: 16px;
  border-end-start-radius: 16px;
  border-end-end-radius: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  border: 1px solid #FFFFFF;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.attiva-ai-response {
  margin-top: 8px;
  margin-bottom: 24px;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.flex-column {
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.flex-row {
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.align-items-start {
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.align-items-end {
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: flex-end !important;
}

.align-items-center {
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.align-items-stretch {
  -webkit-box-align: stretch !important;
  -ms-flex-align: stretch !important;
  align-items: stretch !important;
}

table td {
  cursor: default;
}
