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

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo .app-brand-logo-img {
  display: block;
  width: auto;
  max-width: 188px;
  height: 82px;
  object-fit: contain;
}

.app-brand-logo.demo .app-brand-logo-img-auth {
  max-width: 190px;
  height: 94px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

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

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

/*
* 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;
}

/*
* 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;
}

/*
* Compact listing tables
******************************************************************************/

.card .table-responsive {
  scrollbar-width: thin;
}

.table.dataTable,
.dataTables_wrapper .table {
  color: #566a7f;
  font-size: 0.8125rem;
}

.table.dataTable > thead > tr > th,
.dataTables_wrapper .table > thead > tr > th {
  padding: 0.72rem 1rem;
  background-color: #f8f9fa !important;
  color: #566a7f;
  border-bottom: 2px solid #dee2e6 !important;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
}

.table.dataTable.table-dark > thead > tr > th,
.table.dataTable > thead.table-dark > tr > th,
.table.dataTable > thead > tr.table-dark > th,
.dataTables_wrapper .table.table-dark > thead > tr > th,
.dataTables_wrapper .table > thead.table-dark > tr > th,
.dataTables_wrapper .table > thead > tr.table-dark > th,
.table-dark > th,
.table-dark > td,
.table-dark th,
.table-dark td {
  background-color: #f8f9fa !important;
  color: #566a7f !important;
  border-color: #dee2e6 !important;
}

.table.dataTable > thead,
.table.dataTable > thead.table-dark,
.dataTables_wrapper .table > thead,
.dataTables_wrapper .table > thead.table-dark {
  --bs-table-bg: #f8f9fa;
  --bs-table-color: #566a7f;
  --bs-table-border-color: #dee2e6;
}

.table.dataTable > tbody > tr > td,
.dataTables_wrapper .table > tbody > tr > td {
  padding: 0.62rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  vertical-align: middle;
}

.dataTables_wrapper .table tbody small,
.dataTables_wrapper .table .text-muted,
.dataTables_wrapper .table .text-secondary {
  font-size: 0.75rem;
  line-height: 1.25;
}

.dataTables_wrapper .table .fw-bold,
.dataTables_wrapper .table strong {
  font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: #697a8d;
  font-size: 0.8125rem;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.8125rem;
  border-radius: 0.35rem;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  margin: 0;
  gap: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .page-link {
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.375rem 0.62rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  border-radius: 0.35rem;
}

.dataTables_wrapper .btn,
.dataTables_wrapper .btn-sm {
  padding: 0.35rem 0.55rem;
  font-size: 0.8125rem;
  line-height: 1;
}

.dataTables_wrapper .btn i,
.dataTables_wrapper .btn-sm i {
  font-size: 1rem;
  line-height: 1;
}

.dataTables_wrapper .btn-group .btn,
.dataTables_wrapper .action-buttons .btn,
.dataTables_wrapper td .btn {
  min-width: 2rem;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dataTables_wrapper .badge {
  padding: 0.28rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.dataTables_wrapper div.dataTables_scrollBody {
  scrollbar-width: thin;
}

@media (max-width: 767.98px) {
  .table.dataTable > thead > tr > th,
  .dataTables_wrapper .table > thead > tr > th,
  .table.dataTable > tbody > tr > td,
  .dataTables_wrapper .table > tbody > tr > td {
    padding: 0.55rem 0.75rem;
  }
}
