.logo-lg img {
  width: 120px !important;
  height: auto;
}

.auth-logo img {
  width: 120px !important;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.tree {
  overflow-x: auto;
}

.tree ul {
  list-style: none;
  padding-inline-start: 1rem;
  margin: 0;
  border-left: 1px dashed #ccc;
}

.tree li {
  margin: 6px 0;
  padding: 4px 0;
  position: relative;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
}

.tree .toggle {
  color: var(--vz-primary);
  ;
  margin-right: 6px;
  font-size: 12px;
}

.tree .folder {
  color: #0d6efd;
  margin-right: 6px;
}

.tree li:hover {
  background-color: #f1f5ff;
  border-radius: 4px;
}

.tree li.highlight {
  background: #a7d0ff;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .tree {
    font-size: 14px;
  }
}

.scroll-btn {
  position: fixed;
  left: 20px;
  z-index: 999;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.scroll-btn:hover {
  background: #084298;
}

.move-to-bottom {
  top: 70px;
}

.move-to-top {
  bottom: 100px;
}

.modal .move-to-bottom {
  top: 65px;
}

.modal .move-to-top {
  bottom: 65px;
}

.ui-autocomplete {
  z-index: 2000;
}

table .voucher-one td  {
  font-weight: 600;
  backdrop-filter: brightness(0.92);
}

/* table .voucher-two td  {} */

/* Offcanvas */
.offcanvas {
  z-index: 1060 !important;
}

.offcanvas-backdrop {
  z-index: 1059 !important;
}

.bootstrap-select .dropdown-menu.inner.show {
  max-height: 300px;
}

.select-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.input-loading {
  position:relative;
}

.input-loading .spinner {
  position: absolute;
  display: none;
  top: 6px;
  right: 6px;
}
.input-loading .spinner-grow {
  width: 1.5rem;
  height: 1.5rem;
}
.input-loading.loading .spinner {
  display: block;
}

/* fix dropdown not fully visible inside .table-responsive */
.table-responsive {
  overflow: auto !important; /* allow dropdown to extend */
}
.table-responsive .dropdown:not(.bootstrap-select) {
  position: static !important; /* prevents clipping inside overflow */
}

/* Print Preview Iframe */
.print-preview-iframe {
  width: 210mm;
  min-height: 297mm;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  padding: 24px;
  overflow: auto; 
  border-radius: 4px;
}

/* Notifications List */
.notifications-list {
  max-height: 300px;
  overflow-y: scroll;
  margin-bottom: 40px;
}

/* Notification Actions */
.notification-actions {
  z-index: 1000;
}

.dir-ltr {
  text-align: left !important;
  direction: ltr !important;
}

.dir-rtl {
  text-align: right !important;
  direction: rtl !important;
}