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

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

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

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

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

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

/* 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: 1.25rem !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: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}

/*
* App UI — hover & warna selaras tema Materialize
******************************************************************************/

.app-card-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.app-card-lift:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.25rem rgba(47, 43, 61, 0.11) !important;
}
[data-bs-theme='dark'] .app-card-lift:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.42) !important;
}

.users-index-card {
  border: 1px solid rgba(var(--bs-border-color-rgb), 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.users-index-card:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.28);
  box-shadow: 0 0.375rem 1.125rem rgba(var(--bs-primary-rgb), 0.07);
}
[data-bs-theme='dark'] .users-index-card:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.28);
}

.users-index-card .users-dt-toolbar {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0;
}
[data-bs-theme='dark'] .users-index-card .users-dt-toolbar {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.12) 0%, transparent 100%);
}

.users-index-card .dataTables_wrapper .dataTables_filter input.form-control:focus,
.users-index-card .dataTables_wrapper .dataTables_length select:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.55);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
}

.users-index-card .table-users tbody tr {
  transition: background-color 0.15s ease;
}
.users-index-card .table-users tbody tr:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.06) !important;
}

.users-index-card .users-actions .btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.users-index-card .users-actions .btn:hover {
  transform: translateY(-1px);
}
.users-index-card .users-actions .btn:active {
  transform: translateY(0);
}

.users-index-card .dataTables_wrapper .dataTables_info {
  margin: 0;
  padding: 1rem 1rem 0.625rem;
  color: var(--bs-secondary-color);
  font-size: 0.9375rem;
  line-height: 1.5;
  border-top: 1px solid rgba(var(--bs-border-color-rgb), 0.65);
}
@media (min-width: 992px) {
  .users-index-card .dataTables_wrapper .dataTables_info {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.125rem;
  }
}

.users-index-card .dataTables_wrapper .dataTables_paginate {
  margin: 0;
  padding: 0.5rem 1rem 1.25rem;
}
@media (min-width: 992px) {
  .users-index-card .dataTables_wrapper .dataTables_paginate {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* DataTables v2 pagination buttons (dt-paging-button) */
.users-index-card nav[aria-label='pagination'] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.125rem;
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button {
  appearance: none;
  border: 1px solid rgba(var(--bs-border-color-rgb), 0.9);
  background: rgba(var(--bs-secondary-rgb), 0.08);
  color: var(--bs-body-color);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button:hover:not(.disabled):not([aria-disabled='true']) {
  background: rgba(var(--bs-secondary-rgb), 0.14);
  border-color: rgba(var(--bs-secondary-rgb), 0.25);
  transform: translateY(-1px);
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
  border-color: rgba(var(--bs-primary-rgb), 0.45);
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button.current {
  background: rgba(var(--bs-primary-rgb), 0.16);
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  color: var(--bs-heading-color);
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button.current:hover {
  background: rgba(var(--bs-primary-rgb), 0.22);
  border-color: rgba(var(--bs-primary-rgb), 0.45);
}

.users-index-card nav[aria-label='pagination'] .dt-paging-button.disabled,
.users-index-card nav[aria-label='pagination'] .dt-paging-button[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
