@charset "UTF-8";

.noty_layout_mixin,
#noty_layout__centerRight,
#noty_layout__centerLeft,
#noty_layout__center,
#noty_layout__bottomRight,
#noty_layout__bottomCenter,
#noty_layout__bottomLeft,
#noty_layout__bottom,
#noty_layout__topRight,
#noty_layout__topCenter,
#noty_layout__topLeft,
#noty_layout__top {
  position: fixed;
  margin: 0;
  padding: 0;
  z-index: 9999999;
  transform: translateZ(0) scale(1, 1);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  filter: blur(0);
  -webkit-filter: blur(0);
  max-width: 90%;
}

#noty_layout__top {
  top: 0;
  left: 5%;
  width: 90%;
}

#noty_layout__topLeft {
  top: 20px;
  left: 20px;
  width: 325px;
}

#noty_layout__topCenter {
  top: 5%;
  left: 50%;
  width: 325px;
  transform: translate(calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__topRight {
  top: 20px;
  right: 20px;
  width: 325px;
}

#noty_layout__bottom {
  bottom: 0;
  left: 5%;
  width: 90%;
}

#noty_layout__bottomLeft {
  bottom: 20px;
  left: 20px;
  width: 325px;
}

#noty_layout__bottomCenter {
  bottom: 5%;
  left: 50%;
  width: 325px;
  transform: translate(calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__bottomRight {
  bottom: 20px;
  right: 20px;
  width: 325px;
}

#noty_layout__center {
  top: 50%;
  left: 50%;
  width: 325px;
  transform: translate(calc(-50% - 0.5px), calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__centerLeft {
  top: 50%;
  left: 20px;
  width: 325px;
  transform: translate(0, calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__centerRight {
  top: 50%;
  right: 20px;
  width: 325px;
  transform: translate(0, calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

.noty_progressbar {
  display: none;
}

.noty_has_timeout.noty_has_progressbar .noty_progressbar {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: #646464;
  opacity: 0.2;
  filter: alpha(opacity=10);
}

.noty_bar {
  -webkit-backface-visibility: hidden;
  transform: translate(0, 0) scale(1, 1);
  -webkit-font-smoothing: subpixel-antialiased;
  overflow: hidden;
}

.noty_effects_open {
  opacity: 0;
  transform: translate(50%);
  animation: noty_anim_in 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation-fill-mode: forwards;
}

.noty_effects_close {
  animation: noty_anim_out 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation-fill-mode: forwards;
}

.noty_fix_effects_height {
  animation: noty_anim_height 75ms ease-out;
}

.noty_close_with_click {
  cursor: pointer;
}

.noty_close_button {
  position: absolute;
  top: 2px;
  right: 2px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.noty_close_button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.noty_modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 10000;
  opacity: 0.3;
  left: 0;
  top: 0;
}

.noty_modal.noty_modal_open {
  opacity: 0;
  animation: noty_modal_in 0.3s ease-out;
}

.noty_modal.noty_modal_close {
  animation: noty_modal_out 0.3s ease-out;
  animation-fill-mode: forwards;
}

@keyframes noty_modal_in {
  100% {
    opacity: 0.3;
  }
}

@keyframes noty_modal_out {
  100% {
    opacity: 0;
  }
}

@keyframes noty_anim_in {
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes noty_anim_out {
  100% {
    transform: translate(50%);
    opacity: 0;
  }
}

@keyframes noty_anim_height {
  100% {
    height: 0;
  }
}

.noty_theme__relax.noty_bar {
  margin: 4px 0;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.noty_theme__relax.noty_bar .noty_body {
  padding: 10px;
}

.noty_theme__relax.noty_bar .noty_buttons {
  border-top: 1px solid #e7e7e7;
  padding: 5px 10px;
}

.noty_theme__relax.noty_type__alert,
.noty_theme__relax.noty_type__notification {
  background-color: #fff;
  border: 1px solid #dedede;
  color: #444;
}

.noty_theme__relax.noty_type__warning {
  background-color: #FFEAA8;
  border: 1px solid #FFC237;
  color: #826200;
}

.noty_theme__relax.noty_type__warning .noty_buttons {
  border-color: #dfaa30;
}

.noty_theme__relax.noty_type__error {
  background-color: #FF8181;
  border: 1px solid #e25353;
  color: #FFF;
}

.noty_theme__relax.noty_type__error .noty_buttons {
  border-color: darkred;
}

.noty_theme__relax.noty_type__info,
.noty_theme__relax.noty_type__information {
  background-color: #78C5E7;
  border: 1px solid #3badd6;
  color: #FFF;
}

.noty_theme__relax.noty_type__info .noty_buttons,
.noty_theme__relax.noty_type__information .noty_buttons {
  border-color: #0B90C4;
}

.noty_theme__relax.noty_type__success {
  background-color: #BCF5BC;
  border: 1px solid #7cdd77;
  color: darkgreen;
}

.noty_theme__relax.noty_type__success .noty_buttons {
  border-color: #50C24E;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: #333;
}

body .text-dark {
  color: #333;
}

body.basic-invoice #basic-invoice-result thead th:last-child {
  font-weight: 700;
}

body.basic-invoice #basic-invoice-result tbody tr.danger td {
  background-color: #fee3e3;
}

body.utility-page #main {
  background: #f6f7fa !important;
}

body.utility-page #content .allcp-form {
  margin-top: 0 !important;
}

body.sb-l-m .navbar-logo-image .sb-l-m-logo {
  max-width: 50px;
  margin-left: 4px;
  margin-top: 15px;
}

#content .panel-heading .nav.panel-tabs {
  bottom: -22px !important;
}

.navbar-logo-image {
  margin: 5px 0 0 40px;
}

img.sb-l-o-logo {
  max-width: 150px;
}

.checkbox-custom label,
.radio-custom label {
  color: #2a2f43 !important;
}

.chute h5 {
  padding-left: 0 !important;
}

.popup-basic.lg {
  max-width: 600px !important;
}

.popup-basic.xl {
  max-width: 750px !important;
}

.popup-basic.full {
  max-width: 100% !important;
}

@media (max-width: 767px) {
  .info-block .panel-body > div > div:last-child {
    position: static;
    float: left;
  }
}

.ui-datepicker {
  z-index: 999997 !important;
  top: 300px !important;
}

.panel-heading {
  padding-top: 15px !important;
}

.activities-widget ul.activities-list .activities-handle {
  color: #fff !important;
}

.info-circle.circle-text-info .circle-text-value:before {
  background-color: #fc4303;
}

.info-circle.circle-text-primary .circle-text-value:before {
  background-color: #333333;
}

.info-circle.circle-text-system .circle-text-value:before {
  background-color: #009AD5;
}

.info-circle.circle-text-success .circle-text-value:before {
  background-color: #0bd86c;
}

.info-circle.circle-text-warning .circle-text-value:before {
  background-color: #9300ca;
}

.info-circle.circle-text-danger .circle-text-value:before {
  background-color: #f5393d;
}

.info-circle.circle-text-alert .circle-text-value:before {
  background-color: #FFBC0B;
}

.allcp-form .select,
.allcp-form .allcp-form .gui-input,
.allcp-form .allcp-form .gui-textarea,
.allcp-form .allcp-form .select > select,
.allcp-form .allcp-form .select-multiple select {
  color: #555 !important;
}

.allcp-form .btn-primary,
.allcp-form .button.btn-primary {
  background-color: #222;
}

.allcp-form .btn-primary:hover,
.allcp-form .button.btn-primary:hover {
  background-color: #000;
  border-color: #000;
}

.tm-tag {
  font-size: 14px !important;
  margin-top: 10px !important;
}

.tag-container span {
  display: inline-block !important;
}

.topbar-fixed {
  position: fixed !important;
  z-index: 999 !important;
  width: 96% !important;
}

.btn > a:hover,
.btn-group > a:hover {
  text-decoration: none;
}

.ui-sortable-handle:hover {
  cursor: pointer;
}

#noty_layout__topRight {
  top: 70px;
}

/* Apply blur and disable pointer events */

.blurred {
  pointer-events: none;
  filter: blur(5px);
  /* You can adjust the blur strength */
  opacity: 0.5;
  /* Adjust opacity to your preference */
}

/* Add an overlay on top to indicate that the section is disabled */

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent overlay */
  z-index: 1000;
  /* Ensures overlay is above content */
}

/* ========================================
   Notification Menu Enhancements
   ======================================== */

#notificationsMenu {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 12px;
  overflow: hidden;
  background: #fff;
}

#notificationsMenu.dropdown-menu {
  padding: 0;
  min-width: 380px;
}

#notificationsMenu .panel {
  border: none;
  box-shadow: none;
  margin: 0;
  background: transparent;
}

#notificationsMenu .panel .panel-body {
  padding: 0;
}

#notificationsMenu::before {
  content: "Notificações";
  display: block;
  padding: 16px 20px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(to bottom, #fff 0%, #fafbfc 100%);
}

#notificationsList {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
}

#notificationsList::-webkit-scrollbar {
  width: 5px;
}

#notificationsList::-webkit-scrollbar-track {
  background: transparent;
}

#notificationsList::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

#notificationsList::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

#notificationsList .timeline-item {
  padding: 14px 20px;
  border-bottom: none;
  transition: all 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin: 0 8px 4px;
  border-radius: 8px;
}

#notificationsList .timeline-item:hover {
  background: linear-gradient(to right, #f8f9fc 0%, #f3f4f8 100%);
  cursor: pointer;
  transform: translateX(2px);
}

#notificationsList .timeline-item .timeline-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  position: relative;
}

#notificationsList .timeline-item .timeline-icon .fa {
  font-size: 16px;
  color: #fff;
  line-height: 1;
}

#notificationsList .timeline-item .timeline-icon.bg-timeline-massage {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#notificationsList .timeline-item .timeline-icon.bg-timeline-massage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#notificationsList .timeline-item .timeline-icon.bg-timeline-info {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

#notificationsList .timeline-item .timeline-icon.bg-timeline-info::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#notificationsList .timeline-item:hover .timeline-icon {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#notificationsList .timeline-item .timeline-desc {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

#notificationsList .timeline-item .timeline-desc b {
  display: block;
  color: #1a202c;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

#notificationsList .timeline-item .timeline-desc a {
  color: #667eea;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#notificationsList .timeline-item .timeline-desc a:hover {
  color: #5568d3;
  text-decoration: none;
  gap: 4px;
}

#notificationsList .timeline-item .timeline-desc a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

#notificationsList .timeline-item .timeline-desc a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

#notificationsList .timeline-item .timeline-date {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 4px;
  text-transform: lowercase;
}

#notificationsList:empty::before {
  content: "🔔";
  display: block;
  text-align: center;
  font-size: 48px;
  padding-top: 40px;
  opacity: 0.3;
}

#notificationsList:empty::after {
  content: "Nenhuma notificação no momento";
  display: block;
  text-align: center;
  padding: 12px 20px 50px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

#notificationsButton,
#messagesButton {
  position: relative !important;
  transition: all 0.2s ease;
}

#notificationsButton .fa-bell,
#notificationsButton .fa-envelope,
#messagesButton .fa-bell,
#messagesButton .fa-envelope {
  transition: transform 0.3s ease;
}

#notificationsButton:hover .fa-bell,
#notificationsButton:hover .fa-envelope,
#messagesButton:hover .fa-bell,
#messagesButton:hover .fa-envelope {
  transform: scale(1.1);
  color: #667eea;
}

#notificationsButton[aria-expanded=true] .fa-bell,
#messagesButton[aria-expanded=true] .fa-bell {
  color: #667eea;
}

#notificationsBadge,
#messagesBadge {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  pointer-events: none;
  z-index: 10;
  transform: translate(50%, -50%);
}

#notificationsBadge .badge,
#messagesBadge .badge {
  min-width: 20px;
  height: 20px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.notifications-footer {
  padding: 12px 20px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  background: linear-gradient(to top, #fafbfc 0%, #fff 100%);
}

.notifications-footer a {
  color: #667eea;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notifications-footer a:hover {
  color: #5568d3;
  gap: 6px;
}

#notificationsMenu.animated {
  animation-duration: 0.25s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#notificationsMenu.fadeIn {
  animation-name: notificationSlideIn;
}

@keyframes notificationSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  #notificationsMenu {
    width: 320px;
    left: auto !important;
    right: 10px;
  }

  #notificationsList {
    max-height: 300px;
  }

  #notificationsList .timeline-item {
    padding: 12px 16px;
  }

  #notificationsList .timeline-item .timeline-icon {
    width: 32px;
    height: 32px;
  }

  #notificationsList .timeline-item .timeline-icon .fa {
    font-size: 14px;
  }

  #notificationsList .timeline-item .timeline-desc b {
    font-size: 13px;
  }

  #notificationsList .timeline-item .timeline-desc a {
    font-size: 12px;
  }
}


