/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
/* Hide scrollbar but keep scroll functionality */
.month-navbar {
  overflow-x: auto;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE 10+ */
  cursor: grab;
}

.month-navbar::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}

.month-navbar:active {
  cursor: grabbing;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1031;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--app-panel, #ffffff);
  border-top: 1px solid var(--app-border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.bottom-nav__button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.25rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--bs-body-color, #4e5965);
  font-size: 0.85rem;
  line-height: 1.1;
  transition: all 0.18s ease;
}

.bottom-nav__button .fa-solid {
  font-size: 1.2rem;
}

.bottom-nav__button:focus-visible,
.bottom-nav__button:hover {
  background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
  color: var(--bs-primary, #696cff);
  outline: none;
}

.bottom-nav__button:active {
  transform: translateY(1px);
}

.layout-page {
  padding-bottom: 74px; /* keep content above nav */
}

@media (min-width: 992px) {
  .bottom-nav {
    display: none;
  }
  .layout-page {
    padding-bottom: 0;
  }
}

/* Hide the side menu on mobile widths */
@media (max-width: 991.98px) {
  #layout-menu {
    display: none !important;
  }

  .layout-page {
    margin-left: 0;
  }
}
:root[data-bs-theme="dark"] {
  --app-surface: #1f2733;
  --app-panel: #243447;
  --app-border: #2f3b4d;
  --app-muted: #9fb0c0;
  color-scheme: dark;
}

:root[data-bs-theme="dark"] body,
:root[data-bs-theme="dark"] .content-wrapper,
:root[data-bs-theme="dark"] .layout-page {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

:root[data-bs-theme="dark"] .layout-menu,
:root[data-bs-theme="dark"] .menu-inner,
:root[data-bs-theme="dark"] .bg-menu-theme {
  background-color: var(--app-panel) !important;
  color: var(--bs-body-color);
}

:root[data-bs-theme="dark"] .layout-navbar,
:root[data-bs-theme="dark"] .bg-navbar-theme {
  background-color: var(--app-panel) !important;
  color: var(--bs-body-color);
  border-color: var(--app-border);
}

:root[data-bs-theme="dark"] .card,
:root[data-bs-theme="dark"] .card-header,
:root[data-bs-theme="dark"] .card-footer,
:root[data-bs-theme="dark"] .dropdown-menu,
:root[data-bs-theme="dark"] .offcanvas,
:root[data-bs-theme="dark"] .form-control,
:root[data-bs-theme="dark"] .input-group-text,
:root[data-bs-theme="dark"] .list-group-item,
:root[data-bs-theme="dark"] .modal-content,
:root[data-bs-theme="dark"] .table {
  background-color: var(--app-surface) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--app-border) !important;
}

:root[data-bs-theme="dark"] .text-muted,
:root[data-bs-theme="dark"] .form-text,
:root[data-bs-theme="dark"] .dropdown-item-text {
  color: var(--app-muted) !important;
}

:root[data-bs-theme="dark"] .form-control::placeholder {
  color: var(--app-muted);
}

:root[data-bs-theme="dark"] .dropdown-item {
  color: var(--bs-body-color);
}

:root[data-bs-theme="dark"] .dropdown-item:hover,
:root[data-bs-theme="dark"] .dropdown-item:focus {
  background-color: var(--bs-tertiary-bg);
}

:root[data-bs-theme="dark"] .menu-inner > .menu-item.open > .menu-link,
:root[data-bs-theme="dark"] .menu-inner > .menu-item.active > .menu-link,
:root[data-bs-theme="dark"] .menu-inner > .menu-item > .menu-link:hover {
  color: var(--bs-body-color);
}

:root[data-bs-theme="dark"] .table > :not(caption) > * > * {
  background-color: transparent;
  color: var(--bs-body-color);
}


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

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

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

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    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;
}
