﻿.wc-install-prompt {
  display: none !important;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: #fff;
  color: #2f3438;
  /*font-family: "Source Sans Pro", Arial, sans-serif;*/
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
}
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f7fa;
  background-image: url("../images/background_lg.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: min(92vw, 920px) auto;
}
.auth-main {
  width: 420px;
  max-width: calc(100vw - 32px);
  margin-top: 16px;
}
.auth-main-register {
  width: min(600px, calc(100vw - 32px));
}
.auth-card {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.auth-logo {
  margin-bottom: 26px;
  text-align: center;
}
.auth-logo img {
  display: block;
  width: 100%;
  max-width: 285px;
  margin: 0 auto;
}
.register-panel .form-control {
  height: 38px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
}
.register-panel label {
  color: #222;
  font-weight: 600;
}
.auth-error {
  margin-bottom: 16px;
  color: #e7501e;
  text-align: center;
  font-weight: 600;
}
.auth-card label {
  margin-bottom: 6px;
  color: #222;
  font-weight: 600;
}
.auth-input {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 9px;
  background: #fff;
  text-align: center;
}
.auth-link {
  color: #e7501e;
  text-decoration: underline;
}
.auth-btn {
  height: 38px;
  border: 1px solid #e7501e;
  border-radius: 8px;
  background: #e7501e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.auth-btn:hover,
.auth-btn:focus {
  background: #d74418;
  border-color: #d74418;
  color: #fff;
}
.auth-btn-outline {
  height: 38px;
  border: 2px solid #e7501e;
  border-radius: 8px;
  background: transparent;
  color: #e7501e;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
}
.auth-btn-outline:hover,
.auth-btn-outline:focus {
  background: #e7501e;
  color: #fff;
}
.auth-footer {
  margin-top: 110px;
  color: #000;
  text-align: center;
}
.auth-footer a {
  margin-left: 14px;
  color: #e7501e;
  text-decoration: underline;
}
.first-admin-panel {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e7e8ea;
}
.first-admin-panel h2 {
  margin: 0 0 16px;
  color: #2d3b45;
  font-size: 18px;
  font-weight: 600;
}
.wrapper {
  min-height: 100vh;
}
.topnavbar-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  background-image: url(../images/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #d8dde3;
  box-shadow: none;
}
.topnavbar {
  height: 90px;
  justify-content: space-between;
  padding-left: 12px !important;
  padding-right: 18px !important;
}
.brand-img {
  width: 170px;
  max-height: 58px;
}
.navbar-username {
  color: #e7501e !important;
  font-size: 18px;
  font-weight: 600;
  margin-right: 10px;
}
.navbar-user-toggle {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.navbar-user-toggle:hover,
.navbar-user-toggle:focus {
  text-decoration: none;
}
.navbar-user-img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}
.navbar-user-menu .dropdown-menu {
  min-width: 170px;
  padding: 6px 0;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(47, 52, 56, 0.12);
}
.navbar-user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #596068;
  font-weight: 600;
}
.navbar-user-menu .dropdown-item i {
  color: #e7501e;
  font-size: 18px;
}
.navbar-user-menu .dropdown-item:hover,
.navbar-user-menu .dropdown-item:focus {
  background: #fff5f2;
  color: #e7501e;
}
.navbar-actions {
  gap: 10px;
}
.mobile-menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e7501e;
  border-radius: 8px;
  background: #e7501e;
  color: #fff;
  padding: 0;
  cursor: pointer;
}
.mobile-menu-toggle i {
  font-size: 26px;
  line-height: 1;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #d74418;
  border-color: #d74418;
  color: #fff;
  outline: none;
}
.mobile-sidebar-backdrop {
  display: none;
}
.aside-container {
  position: fixed;
  top: 90px;
  bottom: 0;
  left: 0;
  width: 220px;
  background: #fff;
  border-right: 1px solid #d8dde3;
}
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 13px 0;
}
.sidebar-nav > li {
  margin-bottom: 12px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 16px;
  color: #2c2f32;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.sidebar-nav a > span {
  display: inline-flex;
  align-items: center;
}
.sidebar-nav a > span > span {
  margin-left: 5px;
  color: #2c2f32;
}
.sidebar-nav i {
  width: 20px;
  color: #e7501e;
  font-size: 24px;
  line-height: 1;
  margin-right: 5px;
  text-align: center;
}
.sidebar-nav li.active a,
.sidebar-nav a:hover {
  background: #fff;
  color: #e7501e;
}
.sidebar-nav li.active a > span > span,
.sidebar-nav a:hover > span > span {
  color: #e7501e;
}
.sidebar-group > a {
  position: relative;
}
.notifications-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e7501e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.sidebar-group-arrow {
  margin-left: auto;
  margin-right: 0;
  color: #9ba2a9;
  font-size: 18px;
  transition: transform 0.18s ease;
}
.sidebar-group > a[aria-expanded="true"] .sidebar-group-arrow {
  transform: rotate(180deg);
  color: #e7501e;
}
.sidebar-subnav {
  padding: 0 0 8px 0;
}
.sidebar-subnav > li {
  width: 220px;
}
.sidebar-subnav a {
  min-height: 30px;
  padding: 5px 16px 5px 45px;
  color: #697179;
  font-size: 13px;
  font-weight: 600;
}
.sidebar-subnav a > span {
  display: inline-block;
}
.sidebar-subnav li.active a,
.sidebar-subnav a:hover {
  color: #e7501e;
  background: #fff5f2;
}
.sidebar-notifications {
  padding-top: 4px;
}
.sidebar-notifications a {
  min-height: 0;
  padding-left: 28px;
}
.sidebar-notification-link {
  align-items: flex-start !important;
  color: #697179 !important;
  line-height: 1.2;
}
.sidebar-notification-link div {
  max-width: 170px;
}
.sidebar-notification-link strong {
  display: block;
  color: #2c2f32;
  font-size: 14px;
  font-weight: 700;
}
.sidebar-notification-link span {
  display: block;
  margin-top: 2px;
  color: #8b939a;
  font-size: 13px;
}
.section-container {
  margin-left: 220px;
  padding-top: 90px;
  max-width: calc(100vw - 220px);
  overflow-x: hidden;
}
.content-wrapper {
  padding: 18px 10px 28px 10px;
  max-width: 100%;
  overflow-x: hidden;
}
.app-footer {
  padding: 0 14px 10px;
  color: #b5bbc1;
  font-size: 10px;
  line-height: 1;
  text-align: right;
}
.content-heading {
  margin-bottom: 18px;
}
.content-heading .row {
  margin-right: 0;
  margin-left: 0;
}
.content-heading h1 {
  margin: 0 0 0 12px;
  color: #e7501e;
  font-size: 25px;
  font-weight: 600;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.heading-actions .btn {
  min-width: 150px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 7px !important;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.heading-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #e7501e;
  background: transparent;
  border-radius: 0;
  font-size: 22px;
  font-weight: 700;
}
.card-primary {
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(231, 80, 30, 0.08);
}
.user-config-panel {
  height: 100%;
  padding: 18px 18px 20px;
  background: #fbfcfd;
  border: 1px solid #dfe4ea;
  border-left: 4px solid #e7501e;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(47, 52, 56, 0.07);
}
.user-config-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ebef;
  color: #2f3438;
  font-size: 15px;
  font-weight: 700;
}
.user-config-panel-title i {
  color: #e7501e;
  font-size: 20px;
  line-height: 1;
}
.user-condomini-panel {
  margin-top: 18px;
}
.condominio-users-panel {
  margin-top: 18px;
}
.condominio-linked-accordion {
  margin-top: 18px;
}
.linked-accordion-card {
  margin-bottom: 14px;
  overflow: hidden;
}
.linked-accordion-card.condominio-users-panel {
  margin-top: 0;
}
.linked-accordion-header {
  border-bottom: 1px solid #edf0f3;
}
.linked-accordion-toggle {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 0;
  background: #fff;
  color: #e7501e;
  cursor: pointer;
  text-align: left;
}
.linked-accordion-toggle .user-linked-heading {
  margin-bottom: 0;
}
.linked-accordion-toggle .user-linked-heading > span:last-child {
  color: #e7501e;
  font-size: 20px;
  font-weight: 700;
}
.linked-accordion-toggle > i {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.linked-accordion-toggle[aria-expanded="true"] > i {
  transform: rotate(180deg);
}
.linked-accordion-toggle:hover,
.linked-accordion-toggle:focus {
  background: #fff5f2;
  color: #e7501e;
  outline: none;
}
.condominio-pratiche-table {
  margin-top: 0 !important;
}
.user-condomini-add {
  margin-bottom: 18px;
}
.user-condomini-add label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.user-condomini-add .btn {
  height: 36px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 16px;
}
.user-linked-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.user-linked-heading h2 {
  margin: 0;
  color: #e7501e;
  font-size: 22px;
  font-weight: 700;
}
.okasa-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.okasa-switch-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.okasa-switch-slider {
  position: relative;
  width: 48px;
  height: 26px;
  flex: 0 0 48px;
  background: #c4ccd4;
  border-radius: 999px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.okasa-switch-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(47, 52, 56, 0.22);
  transition: transform 0.18s ease;
}
.okasa-switch-checkbox:checked + .okasa-switch-slider {
  background: #e7501e;
  box-shadow: 0 0 0 3px rgba(231, 80, 30, 0.14);
}
.okasa-switch-checkbox:checked + .okasa-switch-slider::before {
  transform: translateX(22px);
}
.okasa-switch-checkbox:focus + .okasa-switch-slider {
  box-shadow: 0 0 0 3px rgba(231, 80, 30, 0.22);
}
.okasa-switch-text {
  color: #596068;
  font-weight: 600;
}
.okasa-switch-text::after {
  content: "Off";
}
.okasa-switch-checkbox:checked ~ .okasa-switch-text::after {
  content: "On";
  color: #e7501e;
}
.select2-container {
  width: 100% !important;
}
.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px);
  border-color: #ced4da;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.25rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.25rem;
}
.top-filters {
  margin-bottom: 22px;
}
.password-input-wrap {
  position: relative;
}
.password-input-wrap .form-control {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a9299;
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus {
  color: #e7501e;
  outline: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  padding: 3px 20px;
  border-radius: 10px;
  border-width: 2px;
  line-height: 1.1;
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.btn-primary {
  border-color: #e7501e;
  background: #e7501e;
  font-weight: 600;
  font-size: 12px;
  text-transform: capitalize;
  border-radius: 10px !important;
}
.btn-primary:hover {
  border-color: #d74418;
  background: #d74418;
}
.okasa-table tbody tr {
  background: #fbfbfc;
  border: 3px solid #f3f3f4;
}
.okasa-table th {
  border-top: 0;
  color: #333;
  font-weight: 600;
}
.hidden-column {
  display: none;
}
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 14px;
  text-align: right;
}
.dataTables_wrapper .dataTables_length {
  float: none;
  margin-bottom: 0;
}
.dataTables_wrapper .dataTables_length label {
  color: #2f3438;
  font-weight: 500;
}
.dataTables_wrapper .dataTables_length select {
  width: auto;
  height: 34px;
  margin: 0 6px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
}
.dataTables_wrapper .table-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.okasa-footer-left {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex-direction: row-reverse;
}
.okasa-footer-left .dataTables_info.okasa-table-info {
  padding-top: 0px;
  margin-left: 50px;
}
.okasa-footer-left .dataTables_info,
.okasa-footer-left .dataTables_length {
  margin: 0;
  padding: 0;
}
.okasa-footer-left .dataTables_length label {
  margin: 0;
  color: #8b9299;
}
.okasa-footer-left .dataTables_length select {
  height: 30px;
  padding: 2px 24px 2px 8px;
  font-size: 13px;
}
.dataTables_wrapper .dataTables_filter label {
  color: #2f3438;
  font-weight: 500;
}
.dataTables_wrapper .dataTables_filter input {
  height: 36px;
  margin-left: 8px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
}
.table-wrapper {
  width: 100%;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 8px 0;
  color: #7a7f84;
}
.dataTables_info {
  color: #7a7f84;
  font-size: 14px;
}
.dataTables_paginate .pagination {
  margin: 0;
}
.dataTables_paginate .page-link {
  border: 0;
  color: #2f3438;
  background: transparent;
}
.dataTables_paginate .page-item.active .page-link {
  color: #e7501e;
  background: #fff3ef;
  border-radius: 3px;
}
.dataTables_paginate .page-item.disabled .page-link {
  color: #b9bdc1;
}
.table-action {
  color: #e7501e;
  font-weight: 600;
}
.pratiche-page .card-body {
  padding: 16px 16px 18px;
}
.pratiche-page .top-filters {
  margin-bottom: 18px;
}
.pratiche-page .top-filters label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.pratiche-page .top-filters .form-control {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
  font-size: 14px;
}
.pratiche-page .btn-primary {
  min-width: 136px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 18px;
}
.pratiche-page .dataTables_filter {
  display: none;
}
.pratiche-table {
  margin-top: 0 !important;
}
.pratiche-table thead th {
  padding: 12px 8px 8px;
  border-bottom: 0;
  white-space: nowrap;
  font-size: 13px;
}
.pratiche-table thead tr[role="row"] th {
  background: #fff5f2;
}
.pratiche-table thead tr.column-filters th {
  padding: 0 8px 14px;
  background: #fff5f2;
  border-top: 0;
}
.pratiche-table thead tr.column-filters .form-control {
  height: 34px;
  border-color: #e5e7ea;
  border-radius: 8px;
  color: #6d747c;
  font-size: 13px;
}
.pratiche-table tbody td {
  padding: 13px 8px;
  border-top: 1px solid #eceff2;
  color: #596068;
  vertical-align: middle;
}
.pratiche-table tbody td:first-child {
  width: 8%;
  min-width: 78px;
  text-align: center;
}
.pratiche-table tbody th:first-child {
  width: 8%;
  min-width: 78px;
  text-align: center;
}
.pratiche-table .column-link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}
.pratiche-table .progressivo-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border: 1px solid #edf0f3;
  border-radius: 999px;
  background: #f8f9fa;
  color: #8b9299;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: nowrap;
  padding: 3px 16px;
}
.pratiche-table .progressivo-badge.pill-status-closed {
  border-color: #ffab5e !important;
  background: #fff !important;
  color: #ffab5e;
}
.pratiche-table .progressivo-badge.pill-status-payed {
  border-color: #10bd67 !important;
  background: #fff !important;
  color: #10bd67;
}
.pratiche-table .progressivo-badge.pill-status-signed {
  border-color: #d7d20b !important;
  background: #fff !important;
  color: #d7d20b;
}
.pratiche-table .progressivo-badge.pill-status-sended {
  border-color: #74d4ff !important;
  background: #fff !important;
  color: #74d4ff;
}
.condomini-page .card-body {
  padding: 16px 16px 18px;
}
.condomini-page .top-filters {
  margin-bottom: 18px;
}
.condomini-page .top-filters label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.condomini-page .top-filters .form-control {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
  font-size: 14px;
}
.condomini-page .dataTables_filter {
  display: none;
}
.condomini-filters .col-md {
  min-width: 128px;
}
.condomini-action-col {
  display: flex;
  align-items: flex-end;
}
.condomini-action-col .btn {
  width: 100%;
  min-width: 158px;
  height: 36px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.condomini-action-col i {
  margin-right: 4px;
  font-size: 14px;
  line-height: 1;
}
.condomini-table {
  margin-top: 0 !important;
}
.condomini-table thead th {
  padding: 12px 8px 8px;
  border-bottom: 0;
  white-space: nowrap;
  font-size: 13px;
}
.condomini-table thead tr[role="row"] th {
  background: #fff5f2;
}
.condomini-table thead tr.column-filters th {
  padding: 0 8px 14px;
  background: #fff5f2;
  border-top: 0;
}
.condomini-table thead tr.column-filters .form-control {
  height: 34px;
  border-color: #e5e7ea;
  border-radius: 8px;
  color: #6d747c;
  font-size: 13px;
}
.condomini-table tbody td {
  padding: 13px 8px;
  border-top: 1px solid #eceff2;
  color: #596068;
  vertical-align: middle;
}
.condomini-table tbody td:nth-child(1) {
  width: 48%;
}
.condomini-table tbody td:nth-child(2) {
  width: 15%;
}
.condomini-table tbody td:nth-child(3) {
  width: 29%;
}
.condomini-table .column-link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}
.condomini-table .table-actions-cell {
  width: 8%;
  min-width: 92px;
}
.condomini-table .table-actions {
  gap: 12px;
}
.condomini-table .table-action-icon {
  color: #8c9399;
  font-size: 21px;
}
.condomini-table .table-action-icon:hover {
  color: #e7501e;
  text-decoration: none;
}
.practice-main {
  color: #343a40;
  font-weight: 700;
  line-height: 1.25;
}
.practice-sub,
.practice-note {
  color: #8b9299;
  line-height: 1.35;
}
.practice-note {
  margin-top: 2px;
  text-transform: none;
}
.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  background: #fff;
  color: #8b9299;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}
.status-pill-active {
  border-color: rgba(16, 189, 103, 0.35);
  color: #10bd67;
}
.status-pill-muted {
  border-color: rgba(220, 53, 69, 0.25);
  color: #dc3545;
}
.pratiche-table .table-actions-cell {
  width: 142px;
}
.pratiche-table .table-actions {
  gap: 12px;
}
.pratiche-table .table-action-icon {
  color: #8c9399;
  font-size: 21px;
}
.pratiche-table .table-action-icon:hover {
  color: #e7501e;
  text-decoration: none;
}
.pratiche-page .table-footer {
  padding: 14px 8px 0;
}
.daterangepicker {
  background: #fff;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(47, 52, 56, 0.12);
  font-family: "Source Sans Pro", Arial, sans-serif;
  width: 610px;
  min-width: 0;
}
.daterangepicker.show-calendar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
}
.daterangepicker.show-calendar .drp-calendar {
  display: inline-block !important;
  vertical-align: top;
  background: #fff;
}
.daterangepicker.show-calendar .drp-calendar.left,
.daterangepicker.show-calendar .drp-calendar.right {
  width: 304px;
}
.daterangepicker.show-calendar .drp-calendar.right {
  border-left: 1px solid #edf0f3;
}
.daterangepicker .calendar-table {
  border: 0;
  background: #fff;
}
.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  min-width: 32px;
  width: 32px;
  height: 28px;
  color: #343a40;
  font-size: 13px;
}
.daterangepicker .calendar-table th.month {
  color: #596068;
  font-weight: 700;
}
.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
  color: #b8bec5;
  background: #fff;
}
.daterangepicker td.in-range {
  background: #eaf5f7;
  color: #343a40;
}
.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.start-date,
.daterangepicker td.end-date {
  background: #357ebd;
  color: #fff;
}
.daterangepicker .drp-selected {
  width: auto;
  margin-right: auto;
  padding-bottom: 0;
  color: #7b8289;
  font-size: 13px;
}
.daterangepicker .drp-buttons {
  flex: 0 0 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 8px 8px;
  background: #fff;
  border-top: 1px solid #edf0f3;
  text-align: right;
}
.daterangepicker.show-calendar .drp-buttons {
  display: flex !important;
}
.daterangepicker:not(.show-calendar) .drp-buttons {
  display: none !important;
}
.daterangepicker .drp-buttons .btn {
  min-width: 70px;
  height: 34px;
  margin-left: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.daterangepicker .drp-buttons .applyBtn {
  border-color: #e7501e;
  background: #e7501e;
}
.daterangepicker .drp-buttons .applyBtn:hover {
  border-color: #d74418;
  background: #d74418;
}
.daterangepicker .drp-buttons .cancelBtn {
  border-color: #f0f1f3;
  background: #f7f7f8;
  color: #2f3438;
}
.pratica-detail-page .content-heading h1 {
  margin-left: 8px;
}
.detail-back {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #8b9299;
  font-size: 22px;
  text-decoration: none;
}
.detail-back:hover {
  color: #e7501e;
  text-decoration: none;
}
.detail-progressivo {
  margin-left: 16px;
  padding: 5px 18px;
  color: #8b9299;
  font-size: 18px;
  font-weight: 700;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(620px, 780px) minmax(520px, 1fr);
  gap: 28px;
  align-items: flex-start;
  margin-right: 0;
  margin-left: 0;
}
.detail-layout > [class*="col-"] {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  flex: none;
}
.detail-card {
  max-width: none;
}
.paid-promemoria-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1055;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  gap: 8px;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid #e7e1d8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 43, 49, 0.22);
  color: #2f3438;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transform: translateX(-50%);
}
.paid-promemoria-toast i {
  color: #f4b83b;
  font-size: 26px;
  line-height: 1;
}
.paid-promemoria-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #70777d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.detail-card .card-body,
.chat-panel {
  padding: 0;
}
.detail-tabs {
  border-bottom: 1px solid #edf0f3;
}
.detail-tabs .nav-link {
  padding: 22px 12px 14px;
  border: 0;
  border-bottom: 4px solid transparent;
  color: #6b7177;
  font-weight: 700;
}
.detail-tabs .nav-link.active {
  color: #5c6268;
  background: transparent;
  border-bottom-color: #e7501e;
}
.detail-tab-content {
  min-height: 75vh;
  max-height: 75vh;
  overflow: auto;
  padding: 0 22px 24px;
}
.detail-section {
  margin: 28px 0;
}
.detail-section h2 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f3;
  color: #686e74;
  font-size: 20px;
  font-weight: 700;
}
.detail-section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f3;
}
.detail-section-heading h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.detail-section-link,
.detail-inline-link {
  color: #e7501e;
  font-weight: 700;
  text-decoration: none;
}
.detail-section-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
}
.detail-section-link i {
  font-size: 18px;
  line-height: 1;
}
.detail-section-link:hover,
.detail-section-link:focus,
.detail-inline-link:hover,
.detail-inline-link:focus {
  color: #d74418;
  text-decoration: underline;
}
.practice-summary .summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.practice-summary .summary-item {
  padding: 13px 14px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}
.practice-summary .summary-wide {
  grid-column: 1 / -1;
}
.practice-summary .summary-item span,
.practice-summary .summary-item strong {
  display: block;
}
.practice-summary .summary-item span {
  margin-bottom: 5px;
  color: #8b9299;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.practice-summary .summary-item strong {
  color: #596068;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.detail-row,
.detail-form-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  color: #737a80;
}
.detail-row span,
.detail-form-row > label {
  margin: 0;
  color: #737a80;
  font-weight: 600;
}
.detail-row strong {
  color: #737a80;
  font-weight: 600;
}
.detail-form-row .form-control {
  min-height: 36px;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  color: #596068;
  font-size: 14px;
}
.subject-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) 42px;
  gap: 10px;
  align-items: center;
}
.pratica-insert-card {
  max-width: 900px;
  border-radius: 6px;
}
.pratica-insert-card .card-body {
  padding: 0;
}
.insert-alert {
  max-width: 900px;
  border-radius: 8px;
}
.insert-modal-title {
  padding: 22px 20px 18px;
  border-bottom: 1px solid #edf0f3;
  color: #6a6f74;
  font-size: 20px;
  font-weight: 700;
}
.insert-section {
  margin: 0;
  padding: 16px 18px;
}
.insert-section.separated {
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
.insert-section.first {
  padding-top: 20px;
}
.insert-section .detail-form-row {
  grid-template-columns: 220px minmax(0, 1fr);
  margin-bottom: 14px;
}
.insert-section .detail-form-row > label {
  color: #737a80;
  font-size: 14px;
}
.insert-section .form-control {
  min-height: 38px;
  border-color: #e1e5e9;
  border-radius: 9px;
}
.insert-section textarea.form-control {
  min-height: 54px;
}
.insert-section .select2-container .select2-selection--single {
  height: 38px;
  border-color: #e1e5e9;
  border-radius: 9px;
}
.insert-section .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}
.insert-section .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}
.new-condominio-panel {
  display: none;
}
.condominio-mode,
.privacy-check {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: #596068;
  font-weight: 600;
}
.condominio-mode {
  min-height: 32px;
}
.condominio-mode label,
.privacy-check {
  margin: 0;
}
.condominio-mode input,
.privacy-check input {
  margin-right: 6px;
}
.subject-list {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}
.add-subject {
  border-color: #e7501e;
  color: #e7501e;
}
.insert-help {
  margin: 6px 0 18px;
  color: #686e74;
  font-size: 13px;
  font-weight: 700;
}
.insert-confirm {
  width: 100%;
  height: 38px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.privacy-check {
  gap: 6px;
  align-items: flex-start;
  line-height: 1.45;
}
.radio-row,
.search-row {
  margin-bottom: 12px;
}
.insert-section .radio-row,
.insert-section .search-row {
  grid-template-columns: 1fr;
}
.insert-section .radio-row > label,
.insert-section .search-row > label {
  display: none;
}
.insert-section .radio-row .condominio-mode {
  padding-left: 0;
}
.subject-row .form-control[readonly] {
  background: #e9edf2;
}
.action-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 2px solid #e7501e;
  border-radius: 10px;
  background: #fff;
  color: #e7501e;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.status-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.status-radio-row label {
  margin: 0;
  color: #596068;
  font-weight: 600;
}
.franchigia-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr) 42px;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.franchigia-list {
  display: grid;
  gap: 10px;
}
.franchigia-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, auto) 42px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
  color: #596068;
}
.franchigia-row span,
.franchigia-row strong {
  overflow-wrap: anywhere;
}
.detail-save {
  min-width: 96px;
  height: 38px;
  border-radius: 7px;
  text-transform: uppercase;
}
.detail-attachments td {
  vertical-align: middle;
}
.detail-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #596068;
  font-weight: 600;
}
.detail-attachments .btn-xs {
  width: 26px;
  height: 26px;
  padding: 0;
  line-height: 20px;
}
.empty-tab {
  padding: 28px 0;
  color: #8b9299;
}
.practice-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  padding-top: 22px;
}
.practice-image-card {
  display: block;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
  color: #596068;
  text-decoration: none;
}
.practice-image-card:hover {
  color: #e7501e;
  text-decoration: none;
}
.practice-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f6f7f8;
}
.practice-image-card span {
  display: block;
  padding: 8px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.practice-image-item {
  min-width: 0;
}
.attachment-visibility-card,
.attachment-visibility-list {
  display: grid;
  gap: 7px;
}
.attachment-visibility-card {
  margin-top: 8px;
  padding: 9px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}
.attachment-visibility-item {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
  color: #596068;
  font-size: 12px;
  font-weight: 700;
}
.attachment-visibility-item input {
  margin-top: 2px;
  accent-color: #e7501e;
}
.attachment-visibility-item small {
  display: block;
  color: #8b9299;
  font-size: 10px;
  font-weight: 600;
}
.attachment-visibility-save {
  width: 100%;
  height: 30px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  text-transform: uppercase;
}
.attachment-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  padding: 12px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}
.attachment-upload-row .form-control-file {
  width: auto;
  min-width: 240px;
  flex: 1 1 260px;
  color: #596068;
}
.attachment-delete-button {
  width: 100%;
  height: 30px;
  margin-top: 7px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  text-transform: uppercase;
}
.memo-area {
  margin-top: 24px;
}
.chat-panel {
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(231, 80, 30, 0.08);
  overflow: hidden;
}
.chat-alert {
  margin: 10px;
}
.chat-shell {
  display: grid;
  grid-template-columns: minmax(150px, 26%) minmax(0, 1fr);
  height: 75vh;
  max-height: calc(100vh - 190px);
  min-height: 520px;
}
.chat-channel-list {
  overflow: auto;
  border-right: 1px solid #edf0f3;
  background: #fbfcfd;
}
.chat-channel-link {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 64px;
  padding: 10px 9px;
  border-bottom: 1px solid #edf0f3;
  color: #596068;
  text-decoration: none;
}
.chat-channel-link:hover,
.chat-channel-link.active {
  background: #fff5f2;
  color: #e7501e;
  text-decoration: none;
}
.chat-channel-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7501e;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.chat-channel-text {
  flex: 1 1 auto;
  min-width: 0;
}
.chat-channel-text strong,
.chat-channel-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-channel-text strong {
  color: inherit;
  font-size: 13px;
}
.chat-channel-text small {
  color: #8b9299;
  font-size: 11px;
  font-weight: 600;
}
.chat-unread-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 999px;
  background: #e7501e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.chat-conversation-list {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.chat-conversation {
  height: 100%;
  min-height: 0;
  display: none;
}
.chat-conversation.active {
  display: flex !important;
  flex-direction: column;
}
.chat-conversation-header {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}
.chat-conversation-header strong,
.chat-conversation-header small {
  display: block;
}
.chat-conversation-header strong {
  color: #343a40;
  font-size: 14px;
}
.chat-conversation-header small {
  color: #8b9299;
  font-size: 12px;
  font-weight: 600;
}
.chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 12px;
  background: #efe8df;
}
.chat-message {
  display: flex;
  margin-bottom: 10px;
}
.chat-message-in {
  justify-content: flex-start;
}
.chat-message-out {
  justify-content: flex-end;
}
.chat-bubble {
  max-width: min(82%, 360px);
  padding: 8px 10px 6px;
  border-radius: 8px;
  color: #3d4247;
  box-shadow: 0 1px 2px rgba(47, 52, 56, 0.08);
}
.chat-message-in .chat-bubble {
  background: #fff;
}
.chat-message-out .chat-bubble {
  background: #d8f5c5;
}
.chat-bubble strong {
  display: block;
  margin-bottom: 3px;
  color: #e7501e;
  font-size: 12px;
}
.chat-bubble p {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.chat-bubble small {
  display: block;
  color: #7d858c;
  font-size: 10px;
  text-align: right;
}
.chat-attachments {
  display: grid;
  gap: 7px;
  margin: 7px 0;
}
.chat-image-attachment img {
  display: block;
  width: min(220px, 100%);
  max-height: 180px;
  border-radius: 7px;
  object-fit: cover;
}
.chat-file-attachment {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: #596068;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.chat-file-attachment:hover {
  color: #e7501e;
  text-decoration: none;
}
.chat-compose {
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  border-top: 1px solid #edf0f3;
  background: #f8f9fa;
}
.chat-compose textarea {
  min-height: 42px;
  height: 42px;
  resize: vertical;
  border: 1px solid #d9dfe6;
  border-radius: 8px;
}
.chat-compose-tools {
  display: grid;
  grid-template-columns: 38px 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.chat-compose-tools-simple {
  grid-template-columns: 38px minmax(0, 1fr);
}
.chat-attach-button,
.chat-visibility-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid #d9dfe6;
  border-radius: 8px;
  background: #fff;
  color: #737a80;
  cursor: pointer;
  font-size: 20px;
}
.chat-attach-button:hover,
.chat-visibility-toggle:hover {
  border-color: #e7501e;
  color: #e7501e;
}
.chat-attach-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.chat-send-button {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  text-transform: uppercase;
}
.chat-visibility-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
}
.chat-visibility-title {
  margin-bottom: 8px;
  color: #596068;
  font-size: 12px;
  font-weight: 800;
}
.chat-visibility-list {
  display: grid;
  gap: 7px;
}
.chat-visibility-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  color: #596068;
  font-size: 12px;
  font-weight: 700;
}
.chat-visibility-item input {
  margin-top: 2px;
  accent-color: #e7501e;
}
.chat-visibility-item small {
  display: block;
  color: #8b9299;
  font-size: 10px;
  font-weight: 600;
}
.chat-selected-files,
.chat-visibility-empty,
.chat-empty-channel {
  margin-top: 8px;
  color: #8b9299;
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .detail-layout {
    display: block;
  }
  .detail-card {
    max-width: none;
  }
  .chat-panel {
    margin-top: 20px;
  }
}
@media (max-width: 767.98px) {
  .detail-row,
  .detail-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .subject-editor {
    grid-template-columns: 1fr;
  }
  .practice-summary .summary-grid {
    grid-template-columns: 1fr;
  }
}
.utenti-table .table-role-icon {
  width: 72px;
  color: #858a8f;
  font-size: 19px;
  vertical-align: middle;
}
.utenti-table .web-access-disabled-icon {
  color: #dc3545;
}
.utenti-page .card-body {
  padding: 16px 16px 18px;
}
.utenti-page .top-filters {
  margin-bottom: 18px;
}
.utenti-page .top-filters label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.utenti-page .top-filters .form-control {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
  font-size: 14px;
}
.utenti-page .dataTables_filter {
  display: none;
}
.utenti-filters .col-md {
  min-width: 180px;
}
.utenti-action-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.utenti-action-col .btn {
  width: 100%;
  min-width: 190px;
  height: 36px;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.utenti-table {
  margin-top: 0 !important;
}
.utenti-table thead th {
  padding: 12px 8px 8px;
  border-bottom: 0;
  white-space: nowrap;
  font-size: 13px;
}
.utenti-table thead tr[role="row"] th {
  background: #fff5f2;
}
.utenti-table thead tr.column-filters th {
  padding: 0 8px 14px;
  background: #fff5f2;
  border-top: 0;
}
.utenti-table thead tr.column-filters .form-control {
  height: 34px;
  border-color: #e5e7ea;
  border-radius: 8px;
  color: #6d747c;
  font-size: 13px;
}
.utenti-table tbody td {
  padding: 13px 8px;
  border-top: 1px solid #eceff2;
  color: #596068;
  vertical-align: middle;
}
.utenti-table tbody td:nth-child(1) {
  width: 72px;
}
.utenti-table tbody td:nth-child(2) {
  width: 18%;
}
.utenti-table tbody td:nth-child(3) {
  width: 18%;
}
.utenti-table tbody td:nth-child(4) {
  width: 24%;
}
.utenti-table tbody td:nth-child(5) {
  width: 11%;
}
.utenti-table tbody td:nth-child(6) {
  width: 25%;
}
.utenti-table .user-address-cell {
  min-width: 250px;
}
.utenti-table .user-address-cell small {
  display: block;
  margin-top: 2px;
  color: #8b9299;
  font-size: 12px;
  line-height: 1.25;
}
.utenti-table .user-address-text {
  color: #596068;
  line-height: 1.25;
}
.table-actions-cell {
  width: 90px;
  white-space: nowrap;
}
.table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.table-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #858a8f;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}
.table-action-icon:hover,
.table-action-icon:focus {
  color: #e7501e;
  text-decoration: none;
}
.section-title {
  margin: 0 0 16px;
  color: #2d3b45;
  font-size: 20px;
  font-weight: 600;
}
.editor-area {
  min-height: 260px;
}
.mailing-page .card-body {
  padding: 16px 16px 18px;
}
.mailing-page .top-filters label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.mailing-page .top-filters .form-control {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
  font-size: 14px;
}
.mailing-page .dataTables_filter {
  display: none;
}
.mailing-table thead th {
  padding: 12px 8px 8px;
  border-bottom: 0;
  white-space: nowrap;
  font-size: 13px;
}
.mailing-table thead tr[role="row"] th {
  background: #fff5f2;
}
.mailing-table thead tr.column-filters th {
  padding: 0 8px 14px;
  background: #fff5f2;
  border-top: 0;
}
.mailing-table thead tr.column-filters .form-control {
  height: 34px;
  border-color: #e5e7ea;
  border-radius: 8px;
  color: #6d747c;
  font-size: 13px;
}
.mailing-table tbody td {
  padding: 13px 8px;
  border-top: 1px solid #eceff2;
  color: #596068;
  vertical-align: middle;
}
.mailing-select-col {
  width: 46px;
  text-align: center;
}
.mailing-check {
  width: 17px;
  height: 17px;
  accent-color: #e7501e;
  cursor: pointer;
}
.mailing-selected-summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 2px;
  color: #8b9299;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mailing-selected-summary.has-selection {
  color: #e7501e;
}
.mailing-compose-dialog {
  width: min(1120px, calc(100vw - 48px));
  max-width: min(1120px, calc(100vw - 48px));
}
.mailing-compose-modal .modal-header {
  border-bottom-color: #edf0f3;
}
.mailing-compose-modal .modal-title {
  color: #2f3438;
  font-size: 18px;
  font-weight: 700;
}
.mailing-compose-modal label {
  color: #44494e;
  font-weight: 600;
  margin-bottom: 4px;
}
.mailing-compose-modal .form-control {
  border: 1px solid #d9dfe6;
  border-radius: 7px;
}
.mailing-compose-modal .modal-body {
  padding: 16px;
}
.mailing-compose-modal .modal-footer {
  display: block;
  padding: 16px;
  border-top-color: #edf0f3;
}
.mailing-compose-modal .btn-send-mail {
  width: 100%;
}
.mailing-compose-modal .tox-tinymce {
  border-color: #d9dfe6;
  border-radius: 7px;
}
.mailing-compose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 18px;
  align-items: stretch;
}
.mailing-compose-preview {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
.mailing-preview-switch {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 8px;
  padding: 4px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}
.mailing-preview-tab {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #697179;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.mailing-preview-tab.active {
  background: #fff5f2;
  color: #e7501e;
}
.mailing-preview-panel {
  display: none;
  min-height: 0;
  flex: 1 1 auto;
}
.mailing-preview-panel.active {
  display: flex;
  flex-direction: column;
}
.mailing-selected-panel {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  border: 1px solid #d9dfe6;
  border-radius: 8px;
  background: #fff;
}
.mailing-selected-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f3;
  color: #44494e;
}
.mailing-clear-selected {
  border: 0;
  background: transparent;
  color: #e7501e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.mailing-selected-list {
  display: grid;
  gap: 6px;
  max-height: 560px;
  overflow-y: auto;
  padding: 10px;
}
.mailing-selected-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}
.mailing-selected-avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff5f2;
  color: #e7501e;
  font-size: 13px;
  font-weight: 900;
}
.mailing-selected-text {
  min-width: 0;
}
.mailing-selected-text strong,
.mailing-selected-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mailing-selected-text strong {
  color: #44494e;
  font-size: 13px;
}
.mailing-selected-text span {
  color: #8b9299;
  font-size: 11px;
  font-weight: 600;
}
.mailing-selected-remove {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #8b9299;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.mailing-selected-remove:hover,
.mailing-selected-remove:focus {
  background: #fff5f2;
  color: #e7501e;
}
.mailing-selected-empty {
  padding: 18px;
  color: #8b9299;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.newsletter-preview-frame {
  width: 100%;
  min-height: 620px;
  border: 1px solid #d9dfe6;
  border-radius: 8px;
  background: #f4f4f4;
}
.newsletter-detail-preview-frame {
  min-height: 560px;
  border: 0;
  border-radius: 0;
}
.newsletter-detail-layout {
  display: grid;
  grid-template-columns: minmax(420px, 48%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.newsletter-detail-card .card-body {
  padding: 22px;
}
.newsletter-results-card .card-body {
  padding: 18px;
}
.newsletter-results-table thead th,
.newsletter-results-table tbody td {
  padding-right: 7px;
  padding-left: 7px;
  font-size: 12px;
}
.newsletter-message-preview {
  min-height: 160px;
  padding: 18px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
  color: #596068;
  overflow-wrap: anywhere;
}
.newsletter-message-preview-frame-wrap {
  padding: 0;
  overflow: hidden;
  background: #f4f4f4;
}
.newsletter-message-preview img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 991.98px) {
  .mailing-compose-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-detail-layout {
    grid-template-columns: 1fr;
  }
  .newsletter-preview-frame {
    min-height: 520px;
  }
  .mailing-selected-panel {
    min-height: 520px;
  }
  .mailing-selected-list {
    max-height: 460px;
  }
}
.attachment-list {
  display: grid;
  gap: 8px;
}
.attachment-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  color: #596068;
  font-weight: 700;
  text-decoration: none;
  background: #fbfcfd;
}
.attachment-row:hover,
.attachment-row:focus {
  color: #e7501e;
  text-decoration: none;
}
.attachment-row i {
  font-size: 20px;
  line-height: 1;
}
.attachment-row span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.attachment-row small {
  color: #8b9299;
  font-size: 12px;
  font-weight: 600;
}
.report-card {
  min-height: 170px;
  margin-bottom: 18px;
}
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.report-tabs a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  background: #fff;
  color: #596068;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.report-tabs a.active,
.report-tabs a:hover {
  border-color: #e7501e;
  color: #e7501e;
  background: #fff5f2;
  text-decoration: none;
}
.report-page .card-body {
  padding: 16px 16px 18px;
}
.report-page .top-filters {
  margin-bottom: 18px;
}
.report-page .top-filters label {
  color: #44494e;
  font-size: 13px;
  font-weight: 600;
}
.report-page .top-filters .form-control {
  height: 36px;
  border: 1px solid #d9dfe6;
  border-radius: 6px;
  color: #596068;
  font-size: 14px;
}
.report-filter-btn {
  min-width: 100%;
  height: 36px;
  margin-top: 25px;
  padding: 8px 14px;
  border-radius: 7px;
  line-height: 16px;
}
.report-export-btn {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  border-radius: 8px;
  background: #24a148;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
.report-export-btn:hover,
.report-export-btn:focus {
  background: #1f8f40;
  color: #fff;
  text-decoration: none;
}
.report-chart-panel {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  padding: 14px 16px 10px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
}
.report-table thead th {
  padding: 12px 8px 8px;
  border-bottom: 0;
  white-space: nowrap;
  font-size: 13px;
}
.report-table tbody td {
  padding: 13px 8px;
  border-top: 1px solid #eceff2;
  color: #596068;
  vertical-align: middle;
}
.import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.back-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #e7501e;
  font-size: 24px;
  text-decoration: none;
}
.back-link:hover {
  color: #d74418;
  text-decoration: none;
}
.form-message {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-message-ok,
.form-message-success {
  color: #198754;
}
.form-message-error {
  color: #e7501e;
}
.transfer-page .card-body {
  padding: 18px;
}
.transfer-page h2 {
  margin: 0 0 12px;
  color: #44494e;
  font-size: 17px;
  font-weight: 700;
}
.transfer-grid {
  row-gap: 22px;
}
.transfer-search,
.transfer-select {
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid #d9dfe6;
  border-radius: 7px;
  color: #596068;
  font-size: 14px;
}
.transfer-box {
  max-height: 58vh;
  overflow: auto;
  border: 1px solid #ffab5e;
  border-radius: 6px;
  background: #fff;
}
.transfer-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f2f4;
  color: #596068;
  cursor: pointer;
}
.transfer-row:hover,
.transfer-row:has(input:checked) {
  background: rgba(255, 171, 94, 0.18);
}
.transfer-row input {
  margin-top: 3px;
  accent-color: #e7501e;
}
.transfer-row strong,
.transfer-row small {
  display: block;
}
.transfer-row strong {
  color: #343a40;
  line-height: 1.3;
}
.transfer-row small {
  margin-top: 3px;
  color: #8b9299;
  line-height: 1.25;
}
.transfer-submit {
  height: 38px;
  margin-top: 18px;
  border-radius: 7px;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  body.sidebar-mobile-open {
    overflow: hidden;
  }
  .topnavbar-wrapper {
    right: auto;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }
  .topnavbar {
    position: relative;
    width: 100%;
    height: 74px;
    flex-wrap: nowrap;
    padding-left: 16px !important;
    padding-right: 72px !important;
  }
  .navbar-header {
    min-width: 0;
    max-width: calc(100vw - 104px);
    overflow: hidden;
  }
  .navbar-brand {
    margin-right: 0;
  }
  .brand-img {
    width: 150px;
    max-height: 48px;
  }
  .navbar-actions {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    flex: 0 0 auto;
    transform: translateY(-50%);
  }
  .aside-container {
    position: fixed;
    top: 74px;
    bottom: 0;
    left: 0;
    z-index: 1040;
    width: min(82vw, 300px);
    margin-top: 0;
    overflow-y: auto;
    border-right: 1px solid #d8dde3;
    box-shadow: 12px 0 28px rgba(47, 52, 56, 0.14);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  .sidebar-mobile-open .aside-container {
    transform: translateX(0);
  }
  .mobile-sidebar-backdrop {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    left: min(82vw, 300px);
    z-index: 1030;
    display: none;
    background: rgba(47, 52, 56, 0.35);
  }
  .sidebar-mobile-open .mobile-sidebar-backdrop {
    display: block;
  }
  .section-container {
    margin-left: 0;
    padding-top: 74px;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .content-wrapper {
    padding: 16px 12px 24px;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .content-heading .row {
    gap: 12px;
  }
  .heading-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .heading-actions .btn {
    flex: 1 1 180px;
  }
  .card-primary {
    max-width: 100%;
  }
  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive .dataTables_wrapper {
    min-width: max-content;
  }
  .pratiche-table,
  .mailing-table {
    min-width: 720px;
  }
}
