/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 90px;
}

.dark-style .menu .app-brand.demo {
  height: 90px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 64px;
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

body.customer-portal-layout .app-brand-logo.demo {
  width: 52px;
  height: 52px;
}

body.customer-portal-layout .app-brand-text.demo {
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

/*
* Shared sidebar typography
******************************************************************************/

.layout-menu.menu-vertical .menu-inner>.menu-item>.menu-link,
.layout-menu.menu-vertical .menu-sub>.menu-item>.menu-link {
  font-weight: 600;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/* Use the reclaimed menu space while preserving the theme's desktop margins. */
@media (min-width: 1200px) {
  html.layout-menu-collapsed {
    --collapsed-menu-reclaimed-width: 11.875rem;
  }

  html.layout-menu-collapsed .layout-content-navbar .layout-navbar.navbar-detached.container-xxl {
    max-width: calc(1440px - 3rem + var(--collapsed-menu-reclaimed-width));
  }

  html.layout-menu-collapsed .layout-content-navbar .content-wrapper>.container-xxl,
  html.layout-menu-collapsed .layout-content-navbar .content-footer>.container-xxl {
    max-width: calc(1600px + var(--collapsed-menu-reclaimed-width));
  }
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.swal2-container {
  z-index: 100000 !important;
}

/*
* Staff dashboard surfaces
******************************************************************************/

.staff-dashboard-header {
  border: 1px solid rgba(47, 43, 61, .10);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 247, 250, .96));
  padding: 1.5rem;
}

.staff-dashboard-title {
  color: #444050;
  font-weight: 800;
  margin-bottom: .35rem;
}

.staff-dashboard-subtitle {
  color: #6d6b77;
  max-width: 760px;
}

.staff-dashboard-kicker {
  color: #6d6b77;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.staff-metric-card,
.staff-table-card,
.staff-workspace-card,
.staff-resource-card {
  border: 1px solid rgba(47, 43, 61, .08);
  box-shadow: none;
}

.staff-metric-card .metric-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  font-size: 1.25rem;
}

.staff-metric-value {
  color: #444050;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.staff-metric-label {
  color: #6d6b77;
  font-weight: 600;
  margin-bottom: 0;
}

.staff-section-title {
  color: #444050;
  font-weight: 800;
  margin-bottom: .25rem;
}

.staff-section-subtitle {
  color: #6d6b77;
  margin-bottom: 0;
}

.staff-workspace-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  font-size: 1.2rem;
}

.staff-workspace-card .card-title,
.staff-resource-card .card-title {
  color: #444050;
  font-weight: 700;
}

.staff-resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-resource-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(47, 43, 61, .08);
}

.staff-resource-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.staff-resource-list li:last-child {
  padding-bottom: 0;
}

.staff-resource-name {
  color: #444050;
  font-weight: 600;
}

.staff-resource-meta {
  color: #6d6b77;
  font-size: .8125rem;
}

.staff-table-card .card-header {
  border-bottom: 0;
  padding-bottom: .6rem;
}

.staff-table-card .card-datatable,
.staff-table-card .table-responsive {
  padding: .45rem 1.25rem 1.25rem;
}

.staff-table-card .dataTables_wrapper>.row:first-child {
  margin-bottom: .75rem !important;
}

.staff-table-actions {
  padding: 0 1.25rem .75rem;
}

.staff-table-card .card-header .dt-buttons,
.staff-table-actions .dt-buttons {
  margin: 0;
}

.staff-project-picker .modal-content {
  border: 1px solid rgba(47, 43, 61, .1);
  box-shadow: 0 .35rem 1.75rem rgba(47, 43, 61, .12);
}

.staff-project-picker .modal-header,
.staff-project-create-form>.modal-header,
.staff-modal-form>.modal-header {
  align-items: center;
  border-bottom: 1px solid rgba(47, 43, 61, .1);
  justify-content: center;
  padding: 1.45rem 1.75rem 1.2rem;
  position: relative;
}

.staff-project-picker .modal-header .btn-close,
.staff-project-create-form>.modal-header .btn-close,
.staff-modal-form>.modal-header .btn-close {
  position: absolute;
  right: 1.75rem;
  top: 1.6rem;
}

.staff-project-picker .modal-body,
.staff-project-create-form>.modal-body,
.staff-modal-form>.modal-body {
  padding: 1.35rem 1.75rem;
}

.staff-project-picker .modal-footer,
.staff-project-create-form>.modal-footer,
.staff-modal-form>.modal-footer {
  border-top: 1px solid rgba(47, 43, 61, .1);
  gap: .65rem;
  padding: 1.15rem 1.75rem;
}

.staff-project-create-form>.modal-header .modal-title,
.staff-modal-form>.modal-header .modal-title {
  color: #444050;
  font-weight: 700;
  max-width: calc(100% - 3rem);
  text-align: center;
}

.staff-project-create-form>.modal-body>.row,
.staff-modal-form>.modal-body>.row {
  margin-top: 0;
}

.staff-project-create-form>.modal-body hr,
.staff-modal-form>.modal-body hr {
  border-color: rgba(47, 43, 61, .1);
  margin-bottom: .1rem;
  margin-top: .15rem;
  opacity: 1;
}

.staff-project-create-form>.modal-body h5,
.staff-modal-form>.modal-body h5 {
  align-items: center;
  color: #444050;
  display: flex;
  font-size: 1.05rem;
  gap: .65rem;
  margin-bottom: 0;
}

.staff-project-create-form>.modal-body h5::before,
.staff-modal-form>.modal-body h5::before {
  background: #7367f0;
  border-radius: 1rem;
  content: "";
  display: inline-block;
  flex: 0 0 .25rem;
  height: 1.3rem;
  width: .25rem;
}

.staff-project-create-form>.modal-body h5 strong,
.staff-modal-form>.modal-body h5 strong {
  font-weight: 800;
}

.staff-project-section-heading {
  align-items: flex-start;
  display: flex;
  gap: .9rem;
}

.staff-project-section-icon {
  align-items: center;
  background: rgba(115, 103, 240, .12);
  border-radius: .375rem;
  color: #7367f0;
  display: inline-flex;
  flex: 0 0 2.25rem;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.staff-project-section-copy {
  color: var(--bs-secondary-color);
  font-size: .875rem;
  line-height: 1.35;
}

.staff-batch-footer-summary {
  align-items: center;
  color: var(--bs-secondary-color);
  display: flex;
  gap: .55rem;
  min-height: 2.375rem;
}

.staff-batch-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.staff-dashboard-actions {
  align-items: flex-start;
}

.staff-dashboard-actions-primary,
.staff-dashboard-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

@media (min-width: 1200px) {
  .staff-dashboard-actions {
    align-items: flex-end;
  }

  .staff-dashboard-actions-primary,
  .staff-dashboard-export-actions {
    justify-content: flex-end;
  }
}

.staff-project-create-form .form-label,
.staff-modal-form .form-label {
  color: #5d596c;
  font-weight: 600;
}

.modal .position-relative {
  overflow: visible;
}

.modal .position-relative>.select2-container {
  width: 100% !important;
}

.modal.prp-external-scroll-modal {
  overflow-y: auto;
}

.modal.prp-external-scroll-modal .modal-content {
  max-height: none;
  overflow: visible;
}

.modal.prp-external-scroll-modal .modal-body {
  max-height: none;
  overflow: visible;
}

.modal.prp-external-scroll-modal .modal-dialog-scrollable {
  height: auto;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal.prp-external-scroll-modal .modal-dialog-scrollable .modal-content,
.modal.prp-external-scroll-modal .modal-dialog-scrollable .modal-body {
  max-height: none;
  overflow: visible;
}

.modal.prp-external-scroll-modal .modal-dialog>.select2-container--open {
  pointer-events: auto;
  z-index: calc(var(--bs-modal-zindex) + 1);
}

.modal.prp-external-scroll-modal .modal-dialog>.select2-container--open .select2-dropdown {
  pointer-events: auto;
  z-index: calc(var(--bs-modal-zindex) + 1);
}

.modal .select2-dropdown,
.modal .select2-results__options {
  overscroll-behavior: contain;
}

.modal .select2-results__options {
  max-height: 16rem;
  overflow-y: auto;
}

.staff-project-create-form .description-block {
  background: rgba(47, 43, 61, .035);
  border: 1px solid rgba(47, 43, 61, .08);
  border-radius: .5rem;
  padding: .5rem;
}

.staff-project-create-form .description-block .form-control {
  background: #fff;
}

.staff-project-picker-copy {
  color: #6d6b77;
  max-width: 36rem;
}

.staff-project-option-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-project-option {
  align-items: center;
  background: rgba(47, 43, 61, .025);
  border: 1px solid rgba(47, 43, 61, .12);
  border-radius: .5rem;
  color: #444050;
  display: grid;
  gap: .8rem;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  min-height: 4.5rem;
  padding: .8rem .9rem;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.staff-project-option:hover,
.staff-project-option:focus-visible {
  background: rgba(115, 103, 240, .08);
  border-color: rgba(115, 103, 240, .28);
  box-shadow: 0 .25rem .9rem rgba(47, 43, 61, .08);
  color: #444050;
}

.staff-project-option-icon {
  align-items: center;
  background: rgba(115, 103, 240, .12);
  border-radius: .375rem;
  color: #7367f0;
  display: inline-flex;
  font-size: 1.2rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.staff-project-option-label {
  display: block;
  font-weight: 750;
  line-height: 1.25;
}

.staff-project-option-arrow {
  color: #6d6b77;
  font-size: 1.15rem;
}

.staff-detail-header .staff-detail-chip {
  align-items: center;
  background: rgba(115, 103, 240, .08);
  border: 1px solid rgba(115, 103, 240, .14);
  border-radius: .375rem;
  color: #5d596c;
  display: inline-flex;
  font-size: .8125rem;
  font-weight: 600;
  gap: .35rem;
  padding: .35rem .6rem;
}

.staff-detail-header .staff-detail-chip i {
  font-size: 1rem;
}

.staff-detail-chip-highlight {
  background: rgba(47, 43, 61, .07) !important;
  border-color: rgba(47, 43, 61, .18) !important;
  color: #444050 !important;
}

.staff-detail-chip-project-type {
  background: rgba(115, 103, 240, .12) !important;
  border-color: rgba(115, 103, 240, .28) !important;
  color: #4f46c8 !important;
}

.staff-detail-chip-success {
  background: #28c76f !important;
  border-color: #28c76f !important;
  color: #fff !important;
}

.staff-detail-chip-warning {
  background: #ff9f43 !important;
  border-color: #ff9f43 !important;
  color: #fff !important;
}

.staff-detail-chip-danger {
  background: #cb2027 !important;
  border-color: #cb2027 !important;
  color: #fff !important;
}

.staff-detail-chip-info {
  background: #1da1f2 !important;
  border-color: #1da1f2 !important;
  color: #fff !important;
}

.staff-detail-chip-purple {
  background: #9c27b0 !important;
  border-color: #9c27b0 !important;
  color: #fff !important;
}

.staff-detail-card .card-header,
.staff-project-workspace .card-header,
.staff-timeline-card .card-header {
  border-bottom: 0;
  padding-bottom: .5rem;
}

.staff-detail-list {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
}

.staff-detail-list li {
  border-bottom: 1px solid rgba(47, 43, 61, .08);
  display: grid;
  gap: .35rem;
  padding-bottom: .85rem;
}

.staff-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.staff-summary-block {
  margin-bottom: 1.75rem;
}

.staff-summary-block:last-child {
  margin-bottom: 0;
}

.staff-summary-block>.staff-tab-section-title {
  align-items: center;
  border-bottom: 1px solid rgba(47, 43, 61, .1);
  display: flex;
  font-size: .95rem;
  gap: .5rem;
  letter-spacing: .01em;
  margin-bottom: 1rem !important;
  padding-bottom: .6rem;
}

.staff-summary-block>.staff-tab-section-title::before {
  background: #7367f0;
  border-radius: 1rem;
  content: "";
  display: inline-block;
  height: 1rem;
  width: .25rem;
}

.staff-summary-grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-summary-tile {
  border-bottom: 1px solid rgba(47, 43, 61, .08);
  min-height: auto;
  padding: 0 0 .75rem;
}

.staff-summary-label {
  color: #6d6b77;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.staff-summary-value {
  color: #444050;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.staff-summary-total {
  background: rgba(115, 103, 240, .12);
  border: 1px solid rgba(115, 103, 240, .28);
  border-radius: .5rem;
  color: #4f46c8;
  font-weight: 800;
  margin-top: 1rem;
  padding: .9rem 1rem;
}

.staff-detail-label {
  color: #6d6b77;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.staff-detail-value {
  color: #444050;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.staff-detail-tabs {
  background: rgba(47, 43, 61, .04);
  border-radius: .5rem;
  padding: .35rem;
}

.staff-detail-tabs .nav-link {
  border-radius: .4rem;
  font-weight: 700;
}

.staff-detail-tabs .badge.bg-label-primary {
  background: #7367f0 !important;
  color: #fff !important;
}

.staff-tab-section-header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.staff-tab-section-title {
  color: #444050;
  font-weight: 800;
  margin-bottom: .25rem;
}

.staff-tab-section-subtitle {
  color: #6d6b77;
  margin-bottom: 0;
}

.staff-table-card .table .btn-icon,
.staff-project-workspace .table .btn-icon {
  height: 2rem;
  width: 2rem;
}

.staff-timeline-card .timeline-event {
  border-radius: .5rem;
}

.staff-empty-state {
  border: 1px dashed rgba(47, 43, 61, .18);
  border-radius: .5rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.staff-empty-state-heading {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: .5rem;
}

.staff-empty-state-heading .avatar {
  flex: 0 0 auto;
  margin-bottom: 0 !important;
}

.staff-empty-state-title {
  margin-bottom: 0;
}

.staff-empty-state-centered {
  background: #fff;
  text-align: center;
}

.staff-empty-state-centered .staff-empty-state-heading {
  justify-content: center;
}

.staff-empty-state-centered .staff-empty-state-heading .avatar-initial {
  background: transparent !important;
  color: #D9493F !important;
}

.staff-empty-state-centered .staff-empty-state-heading .avatar-initial i {
  font-size: 1.5rem !important;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .staff-dashboard-header {
    padding: 1.1rem;
  }

  .staff-table-card .card-datatable,
  .staff-table-card .table-responsive {
    padding: .75rem;
  }

  .staff-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-resource-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-project-picker .modal-header,
  .staff-project-picker .modal-body,
  .staff-project-picker .modal-footer,
  .staff-project-create-form>.modal-header,
  .staff-project-create-form>.modal-body,
  .staff-project-create-form>.modal-footer,
  .staff-modal-form>.modal-header,
  .staff-modal-form>.modal-body,
  .staff-modal-form>.modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .staff-project-picker .modal-header .btn-close,
  .staff-project-create-form>.modal-header .btn-close,
  .staff-modal-form>.modal-header .btn-close {
    right: 1rem;
  }

  .staff-project-option-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .staff-summary-grid {
    grid-template-columns: 1fr;
  }
}