.dashboard__infographics__config-tiles-container {
  align-items: stretch;
  display: grid;
  justify-content: space-around;
  flex: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  grid-template-columns: auto auto auto;
  margin-left: 1px;
  width: 100%;
}

#favourites-list {
  height: 100% !important;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

@media (max-width: 575.99px) {
  .dashboard__infographics__config-tiles-container {
    grid-template-columns: auto;
  }
  .config-tile-container {
    width: 310px !important;
  }
}
@media (min-width: 576px) and (max-width: 767.99px) {
  .dashboard__infographics__config-tiles-container {
    grid-template-columns: auto auto;
  }
  .config-tile-container {
    width: 260px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.99px) {
  .dashboard__infographics__config-tiles-container {
    grid-template-columns: auto auto;
  }
  .config-tile-container {
    width: 220px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.99px) {
  .dashboard__infographics__config-tiles-container {
    grid-template-columns: auto auto;
  }
  .config-tile-container {
    width: 270px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .dashboard__infographics__config-tiles-container {
    grid-template-columns: auto auto auto;
  }
  .config-tile-container {
    width: 270px !important;
  }
}
.admin-dashboard-page {
  background: var(--bg-color);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow-x: clip;
}

.admin-dashboard-page > .row {
  margin-left: 0;
  margin-right: 0;
}

/* HEADER */
.admin-dashboard-page h4 {
  color: var(--text-color);
  font-size: 24px;
}

.admin-dashboard-page .text-muted {
  font-size: 13px;
}

/* MAIN WHITE BOX */
.dashboard-box {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dashboard-box h6 {
  font-size: 14px;
}

.dashboard-box a {
  text-decoration: none;
}

/* QUICK ACTION */
.quick-card {
  height: 72px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--card-color);
  color: var(--text-color);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.quick-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.quick-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-hover-color);
  color: var(--theme-color);
  border-radius: 5px;
}

.quick-card-content {
  margin-left: 13px;
  flex: 1;
}

.quick-card-title {
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 600;
}

.quick-card-subtitle {
  color: var(--text-color);
  opacity: 0.65;
  font-size: 11px;
  margin-top: 3px;
}

.quick-card-arrow {
  color: var(--text-color);
  opacity: 0.6;
}

/* =========================================
   ADD USER DRAWER
========================================= */
.admin-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/* Right drawer */
.add-users__right-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px;
  box-sizing: border-box;
}

.admin-user-drawer {
  position: fixed;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: 420px !important;
  max-width: 420px !important;
  min-width: 420px !important;
  height: 100vh !important;
  background: #ffffff;
  z-index: 9999;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.admin-user-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #eeeeee;
}

.admin-user-drawer__header h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #292929;
}

.admin-user-drawer__header p {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.admin-user-drawer__close {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #222222;
  cursor: pointer;
  padding: 0;
  margin-left: 15px;
}

.admin-user-drawer__close:hover {
  color: #00aeb5;
}

/* ADMIN MODULE CARD */
.admin-module-card {
  position: relative;
  min-height: 155px;
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  background: var(--card-color);
  color: var(--text-color);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.admin-module-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.admin-module-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--theme-color);
}

.admin-module-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0 20px;
  background: var(--theme-hover-color);
  color: var(--theme-color);
  border-radius: 7px;
  font-size: 19px;
}

.admin-module-content {
  flex: 1;
  padding: 20px 15px 12px;
}

.admin-module-content h6 {
  color: var(--theme-color);
  font-size: 16px;
}

.admin-module-content p {
  color: var(--text-color);
  opacity: 0.65;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.admin-module-icon-image {
  width: 24px;
  height: 24px;
  display: block;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.module-count {
  color: #00b7bd;
  font-size: 12px;
  font-weight: 500;
}

.module-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--theme-color);
  border-radius: 6px;
  background: var(--card-color);
  color: var(--theme-color);
}

.module-arrow:hover {
  background: var(--theme-color);
  color: #fff;
}

.view-all-link {
  color: var(--theme-color);
  font-size: 11px;
  text-decoration: none;
}

.dashboard-task-list {
  max-height: 350px;
  overflow-y: hidden;
  transition: max-height 0.3s ease;
}

.dashboard-task-list.show-all {
  max-height: 350px;
  overflow-y: auto;
}

.dashboard-task-box .dashboard-task-list > * {
  border-bottom: 1px solid #d1d5db;
}

.dashboard-task-box .dashboard-task-list > *:last-child {
  border-bottom: none;
}

/* Optional scrollbar styling */
.dashboard-task-list::-webkit-scrollbar {
  width: 6px;
}

.dashboard-task-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.dashboard-task-list::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}

.dashboard-task-list::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.dashboard-task-box,
.dashboard-announcement-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.dashboard-announcement-box .announcement-list,
.dashboard-announcement-box .announcement-list > * {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .admin-dashboard-page {
    padding: 15px;
  }
  .admin-dashboard-page .col-md-4 {
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .admin-dashboard-page .row.align-items-center {
    display: block;
  }
  .admin-dashboard-page .col-md-4 {
    margin-top: 15px;
  }
}
.quick-actions-modal {
  position: fixed;
  width: 720px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 7px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.quick-actions-modal-header {
  display: flex;
  justify-content: space-between;
  padding: 22px 20px 17px;
  border-bottom: 1px solid #eee;
}

.quick-actions-modal-header h5 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #343a40;
}

.quick-actions-modal-header p {
  margin: 0;
  font-size: 11px;
  color: #777;
}

/* BODY */
.quick-actions-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  max-height: 470px;
}

/* LEFT */
.quick-actions-available {
  padding: 20px 15px 20px 20px;
  border-right: 1px solid #eee;
}

.quick-actions-selected {
  padding: 20px 20px 20px 15px;
}

.quick-actions-section-header span {
  font-size: smaller;
  font-weight: 300;
}

/* SEARCH */
.quick-actions-search {
  position: relative;
  margin-bottom: 13px;
}

.quick-actions-search input {
  width: 100%;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0 12px;
  font-size: 10px;
  outline: none;
}

/* AVAILABLE LIST */
.quick-actions-list {
  max-height: 315px;
  overflow-y: auto;
  padding-right: 4px;
}

.quick-action-option,
.selected-quick-action {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #fff;
}

.quick-action-option-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color);
  background: var(--theme-hover-color);
  border-radius: 4px;
  font-size: 12px;
}

.quick-action-option-content {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}

.quick-action-option-title {
  font-size: 11px;
  color: #333;
  font-weight: 500;
}

.quick-action-option-subtitle {
  font-size: 9px;
  color: #999;
  margin-top: 3px;
}

.quick-action-add {
  background-color: transparent;
  color: var(--theme-color);
}

.quick-action-delete {
  background-color: #fee2e2;
  color: #dc2626;
  border-radius: 2px;
}

/* SELECTED */
.selected-quick-actions-list {
  min-height: 210px;
}

.selected-quick-action {
  min-height: 58px;
  cursor: move;
}

.selected-drag-handle {
  color: #aaa;
  font-size: 10px;
  margin-right: 9px;
}

/* INFO */
.quick-actions-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: #edf5f8;
  border-radius: 5px;
  color: #777;
  font-size: 9px;
}

/* FOOTER */
.quick-actions-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #eee;
}

.quick-actions-footer-buttons {
  display: flex;
  gap: 10px;
}

.quick-actions-footer-buttons button {
  min-width: 75px;
  font-size: 10px;
  padding: 7px 16px;
}

.quick-actions-modal-close,
.quick-actions-reset {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.quick-actions-modal-close:hover,
.quick-actions-modal-close:focus,
.quick-actions-reset:hover,
.quick-actions-reset:focus {
  background: transparent !important;
  box-shadow: none;
}

.custom-theme-drawer-body {
  padding: 24px;
  overflow-y: auto;
}

.custom-theme-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
}

.custom-theme-card-header {
  margin-bottom: 24px;
}

.custom-theme-card-header h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.custom-theme-card-header p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.custom-theme-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.custom-theme-option:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.custom-theme-option .form-check-input {
  margin: 0;
  flex: 0 0 auto;
}

.custom-theme-option > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.custom-theme-option strong {
  font-size: 14px;
  color: #1f2937;
}

.custom-theme-option small {
  font-size: 12px;
  color: #6b7280;
}

.custom-theme-custom-option {
  justify-content: space-between;
}

.custom-theme-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.custom-theme-radio > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.custom-theme-color-btn {
  flex-shrink: 0;
}

.custom-theme-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 576px) {
  .custom-theme-drawer-body {
    padding: 16px;
  }
  .custom-theme-card {
    padding: 18px;
  }
  .custom-theme-custom-option {
    align-items: flex-start;
    flex-direction: column;
  }
  .custom-theme-actions {
    flex-wrap: wrap;
  }
}