/* ============================================
   Dashboard - Dark theme (tham khảo ảnh)
   ============================================ */

.dashboard-body {
  background: #1a1d21;
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  height: 56px;
  background: #25282c;
  border-bottom: 1px solid #2d3136;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-header__left,
.dashboard-header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}
.dashboard-logo__img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.dashboard-header__toggle {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
}

.dashboard-header__toggle:hover {
  color: #fff;
}

.dashboard-header__balance {
  font-size: 0.875rem;
  color: #d1d5db;
}

#balance-value {
  font-weight: 600;
  color: #fbbf24;
}

.dashboard-header__icon {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.dashboard-header__icon:hover {
  color: #fff;
}

.dashboard-header__avatar-wrap {
  position: relative;
}
.dashboard-header__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  border: none;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 1.125rem;
}
.dashboard-header__avatar:hover {
  background: #4b5563;
  color: #fff;
}
.dashboard-header__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 140px;
  background: #25282c;
  border: 1px solid #2d3136;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0.35rem 0;
  display: none;
  z-index: 200;
}
.dashboard-header__dropdown.is-open {
  display: block;
}
.dashboard-header__dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: #e5e7eb;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.dashboard-header__dropdown-item:hover {
  background: #2d3136;
  color: #fff;
}

/* Sidebar */
.dashboard-wrap {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 56px);
}

.dashboard-sidebar {
  width: 240px;
  background: #25282c;
  border-right: 1px solid #2d3136;
  flex-shrink: 0;
  transition: width 0.2s, margin 0.2s;
}

.dashboard-sidebar.collapsed {
  width: 64px;
}

.dashboard-sidebar.collapsed .dashboard-nav__label,
.dashboard-sidebar.collapsed .dashboard-nav__item span:not(.nav-icon) {
  display: none;
}

.dashboard-nav {
  padding: 1rem 0;
}

.dashboard-nav__section {
  margin-bottom: 1rem;
}

.dashboard-nav__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #6b7280;
  padding: 0 1rem 0.5rem;
}

.dashboard-nav__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.dashboard-nav__item:hover {
  background: #2d3136;
  color: #fff;
}

.dashboard-nav__item--active {
  background: #2563eb;
  color: #fff;
}

.nav-icon {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
}

/* Main content */
.dashboard-main {
  flex: 1;
  padding: 1.5rem;
  overflow: auto;
  background: #1a1d21;
}

.dashboard-page-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.dashboard-card {
  background: #25282c;
  border-radius: 8px;
  border: 1px solid #2d3136;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.dashboard-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

/* Dashboard index - UI tổng quan */
.dashboard-index { position: relative; }
.dashboard-index__breadcrumb { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.5rem; }
.dashboard-index__breadcrumb a { color: #60a5fa; text-decoration: none; }
.dashboard-index__breadcrumb a:hover { text-decoration: underline; }
.dashboard-index__breadcrumb .sep { margin: 0 0.35rem; color: #6b7280; }

.dashboard-index__filter-card { margin-bottom: 1.5rem; }
.dashboard-card__title--small { margin-bottom: 0.75rem; font-size: 0.9375rem; }
.dashboard-index__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.dashboard-index__field { display: flex; flex-direction: column; gap: 0.25rem; }
.dashboard-index__field label { font-size: 0.75rem; color: #6b7280; }
.dashboard-index__input {
  padding: 0.5rem 0.75rem;
  background: #1a1d21;
  border: 1px solid #2d3136;
  border-radius: 6px;
  color: #e5e7eb;
  font-size: 0.875rem;
  min-width: 140px;
}
.dashboard-index__input:focus { outline: none; border-color: #3b82f6; }
.dashboard-index__btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.dashboard-index__btn--primary { background: #3b82f6; color: #fff; }
.dashboard-index__btn--primary:hover { background: #2563eb; }
.dashboard-index__btn--secondary { background: #374151; color: #e5e7eb; }
.dashboard-index__btn--secondary:hover { background: #4b5563; }
.dashboard-index__period { font-size: 0.8rem; color: #6b7280; margin-top: 0.75rem; margin-bottom: 0; }

/* KPI cards */
.dashboard-index__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dashboard-index__kpi {
  background: #25282c;
  border: 1px solid #2d3136;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.dashboard-index__kpi--balance { border-color: #3b82f6; background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%); }
.dashboard-index__kpi-icon { font-size: 1.75rem; line-height: 1; }
.dashboard-index__kpi-content { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.dashboard-index__kpi-label { font-size: 0.8rem; color: #9ca3af; }
.dashboard-index__kpi-value { font-size: 1.35rem; font-weight: 700; color: #fbbf24; }
.dashboard-index__kpi--balance .dashboard-index__kpi-value { color: #93c5fd; }
.dashboard-index__kpi-unit { font-size: 0.75rem; color: #6b7280; }

/* Thống kê chi tiết - 2 cột */
.dashboard-index__detail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.dashboard-index__detail-card { margin-bottom: 0; }
.dashboard-index__detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dashboard-index__detail-head .dashboard-card__title { margin-bottom: 0; }
.dashboard-index__link { font-size: 0.8rem; color: #60a5fa; text-decoration: none; }
.dashboard-index__link:hover { text-decoration: underline; }
.dashboard-index__detail-body { display: flex; flex-direction: column; gap: 0; }
.dashboard-index__stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid #2d3136;
  font-size: 0.875rem;
}
.dashboard-index__stat-row:last-child { border-bottom: none; }
.dashboard-index__stat-label { color: #9ca3af; }
.dashboard-index__stat-value { color: #e5e7eb; }
.dashboard-index__stat-row--success .dashboard-index__stat-value { color: #6ee7b7; }
.dashboard-index__stat-row--pending .dashboard-index__stat-value { color: #93c5fd; }
.dashboard-index__stat-row--failed .dashboard-index__stat-value { color: #fca5a5; }

.admin-dashboard__section-title { font-size: 1rem; font-weight: 600; color: #9ca3af; margin: 1rem 0 0.75rem; }
.admin-dashboard__section-title:first-of-type { margin-top: 0; }
.admin-dashboard__balances { margin-bottom: 1rem; }

/* Loading overlay */
.dashboard-index__loading {
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 33, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.dashboard-index__loading.is-visible { opacity: 1; pointer-events: auto; }
.dashboard-index__loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #2d3136;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: dashboard-spin 0.7s linear infinite;
}
@keyframes dashboard-spin { to { transform: rotate(360deg); } }


/* Profile page */
.profile-page__breadcrumb { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.5rem; }
.profile-page__breadcrumb a { color: #60a5fa; text-decoration: none; }
.profile-page__breadcrumb a:hover { text-decoration: underline; }
.profile-page__breadcrumb .sep { margin: 0 0.35rem; color: #6b7280; }
.profile-page .form-group { margin-bottom: 1rem; }
.profile-page .form-label { display: block; margin-bottom: 0.35rem; color: #9ca3af; font-size: 0.875rem; }
.profile-page .form-input { width: 100%; max-width: 400px; padding: 0.5rem 0.75rem; background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; color: #e5e7eb; }
.profile-page .btn-primary { padding: 0.5rem 1rem; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; }
.profile-page .btn-primary:hover { background: #2563eb; }

/* Footer */
.dashboard-footer {
  padding: 0.75rem 1.5rem;
  background: #25282c;
  border-top: 1px solid #2d3136;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.btn-scroll-top {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #3b82f6;
  background: transparent;
  color: #3b82f6;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.btn-scroll-top:hover {
  background: #3b82f6;
  color: #fff;
}

/* Api & Demo */
.api-demo { margin-bottom: 2rem; }
.api-demo__base-url { margin-bottom: 1.5rem; }
.api-demo__base-url .api-desc code { background: #0d1117; padding: 0.2rem 0.5rem; border-radius: 4px; color: #a5f3fc; font-size: 0.95rem; }
.api-doc-list { margin: 0.5rem 0 0 1.25rem; padding: 0; color: #9ca3af; font-size: 0.9rem; }
.api-doc-list li { margin-bottom: 0.5rem; }
.api-doc-list code { background: #0d1117; padding: 0.1rem 0.35rem; border-radius: 4px; color: #a5f3fc; font-size: 0.85rem; word-break: break-all; }
.api-demo__breadcrumb { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.5rem; }
.api-demo__breadcrumb a { color: #60a5fa; text-decoration: none; }
.api-demo__breadcrumb a:hover { text-decoration: underline; }
.api-demo__breadcrumb .sep { margin: 0 0.35rem; color: #6b7280; }
.api-demo__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; border-bottom: 1px solid #2d3136; padding-bottom: 0.5rem; }
.api-demo__tab { padding: 0.5rem 1rem; font-size: 0.875rem; background: transparent; color: #9ca3af; border: 1px solid #2d3136; border-radius: 6px; cursor: pointer; transition: all 0.15s; }
.api-demo__tab:hover { color: #fff; background: #2d3136; }
.api-demo__tab.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.api-demo__tab--disabled,
.api-demo__tab:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.api-demo__panels { margin-top: 0.5rem; }
.api-demo__panel { display: none; }
.api-demo__panel.active { display: block; }
.api-key-grid { display: flex; flex-direction: column; gap: 1rem; }
.api-key-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.api-key-row label { font-weight: 500; color: #9ca3af; min-width: 100px; }
.api-key-value { font-family: ui-monospace, monospace; font-size: 0.9rem; color: #d1d5db; word-break: break-all; }
.api-key-row .btn-copy { margin-left: auto; padding: 0.25rem 0.6rem; font-size: 0.75rem; background: #3b82f6; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
.api-key-row .btn-copy:hover { background: #2563eb; }
.api-desc { color: #9ca3af; font-size: 0.9rem; margin-bottom: 1rem; }
.api-doc-block { background: #1a1d21; border: 1px solid #2d3136; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; font-size: 0.875rem; }
.api-doc-block__title { font-size: 0.95rem; color: #e5e7eb; margin: 0 0 0.75rem; }
.api-doc-block__note { margin: 0 0 0.75rem; color: #9ca3af; font-size: 0.85rem; }
.api-doc-block__label { margin: 1rem 0 0.4rem; color: #9ca3af; font-size: 0.85rem; font-weight: 500; }
.api-doc-block__label:first-of-type { margin-top: 0.75rem; }
.api-doc-block p { margin: 0 0 0.5rem; color: #9ca3af; }
.api-doc-block ul { margin: 0.25rem 0 0.75rem 1.25rem; padding: 0; color: #9ca3af; }
.api-doc-block li { margin-bottom: 0.35rem; }
.api-doc-block code { background: #0d1117; padding: 0.15rem 0.4rem; border-radius: 4px; color: #a5f3fc; font-size: 0.85rem; }
.api-doc-block__example { background: #0d1117; border: 1px solid #2d3136; border-radius: 6px; padding: 0.75rem 1rem; margin: 0.5rem 0 0; overflow-x: auto; font-size: 0.8rem; line-height: 1.5; color: #a5f3fc; white-space: pre; }
.api-doc-block__json { background: #0d1117; border: 1px solid #2d3136; border-radius: 6px; padding: 1rem 1.25rem; margin: 0; overflow-x: auto; font-size: 0.82rem; line-height: 1.6; color: #a5f3fc; white-space: pre; font-family: ui-monospace, monospace; }
.api-doc-table { width: 100%; min-width: 320px; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.85rem; }
.api-doc-table th, .api-doc-table td { padding: 0.5rem 0.75rem; text-align: left; border: 1px solid #2d3136; }
.api-doc-table th { background: #111827; color: #9ca3af; font-weight: 500; }
.api-doc-table td { color: #d1d5db; }
.api-doc-table code { background: transparent; padding: 0; }
.api-spec { margin-bottom: 1rem; }
.api-spec__row { font-size: 0.875rem; margin-bottom: 0.25rem; }
.api-spec__row .label { color: #6b7280; margin-right: 0.5rem; }
.api-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; }
.api-table th, .api-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid #2d3136; }
.api-table th { color: #9ca3af; font-weight: 500; }
.api-table td { color: #d1d5db; }
.api-code { background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; padding: 1rem; overflow-x: auto; margin: 1rem 0; font-size: 0.8rem; line-height: 1.5; }
.api-code code { color: #a5f3fc; white-space: pre; }
.api-textarea { font-family: ui-monospace, monospace; font-size: 0.875rem; }
.api-demo .form-group { margin-bottom: 1rem; }
.api-demo .form-label { display: block; margin-bottom: 0.35rem; color: #9ca3af; font-size: 0.875rem; }
.api-demo .form-input { width: 100%; max-width: 600px; padding: 0.5rem 0.75rem; background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; color: #e5e7eb; }
.api-demo .btn-primary { padding: 0.5rem 1rem; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; }
.api-demo .btn-primary:hover { background: #2563eb; }
.api-demo .btn-link { background: none; border: none; color: #60a5fa; cursor: pointer; font-size: 0.8rem; padding: 0; }
.api-demo .btn-link:hover { text-decoration: underline; }
.api-demo h3 { font-size: 0.95rem; color: #e5e7eb; margin: 1rem 0 0.5rem; }
.api-demo__cashin-form { margin-top: 1rem; max-width: 520px; }
.api-demo__cashin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.api-demo__form-group { margin-bottom: 1rem; }
.api-demo__form-group label { display: block; margin-bottom: 0.35rem; color: #9ca3af; font-size: 0.875rem; }
.api-demo__input { width: 100%; max-width: 100%; padding: 0.5rem 0.75rem; background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; color: #e5e7eb; font-size: 0.875rem; }
.api-demo__field-hint { font-size: 0.8rem; color: #6b7280; margin-top: 0.35rem; margin-bottom: 0; line-height: 1.4; }
.api-demo__field-hint code { font-size: 0.75rem; background: #1a1d21; padding: 0.1rem 0.3rem; border-radius: 3px; }
.api-demo__required { color: #f87171; }
.api-demo__btn-primary { padding: 0.5rem 1rem; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; margin-top: 0.25rem; }
.api-demo__btn-primary:hover { background: #2563eb; }
.api-demo__btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.api-demo__cashin-result { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: 8px; font-size: 0.875rem; line-height: 1.5; display: none; }
.api-demo__cashin-result.is-success { display: block; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); color: #86efac; }
.api-demo__cashin-result.is-success a { color: #93c5fd; }
.api-demo__cashin-result.is-success code { background: #1a1d21; padding: 0.15rem 0.4rem; border-radius: 4px; }
.api-demo__cashin-result.is-error { display: block; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.api-demo__cashin-qr-wrap { margin: 0.75rem 0; }
.api-demo__cashin-qr { display: block; max-width: 200px; height: auto; background: #fff; padding: 8px; border-radius: 6px; }
.api-demo__cashin-qr-url { font-size: 0.85rem; margin: 0.5rem 0; word-break: break-all; }
.api-demo__cashin-qr-url a { color: #93c5fd; }
.api-demo__cashout-type-fields { margin-top: 0.5rem; }
@media (max-width: 560px) { .api-demo__cashin-row { grid-template-columns: 1fr; } }
.api-demo__listbank-actions { margin-top: 1rem; }
.api-demo__listbank-result { margin-top: 1rem; display: none; }
.api-demo__listbank-result:not(:empty) { display: block; }
.api-demo__listbank-pre { background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; padding: 1rem; overflow-x: auto; font-size: 0.8rem; line-height: 1.5; margin: 0; }
.api-demo__listbank-pre code { color: #a5f3fc; white-space: pre; }
.api-demo__listbank-msg { font-size: 0.875rem; margin: 0; padding: 0.5rem 0; }
.api-demo__listbank-msg--error { color: #fca5a5; }

/* List pages (deposits, withdrawals) */
.list-page__breadcrumb { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.5rem; }
.list-page__breadcrumb a { color: #60a5fa; text-decoration: none; }
.list-page__breadcrumb a:hover { text-decoration: underline; }
.list-page__breadcrumb .sep { margin: 0 0.35rem; color: #6b7280; }
.list-page__toolbar { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.list-page__filter-label { font-size: 0.875rem; color: #9ca3af; margin-right: 0.5rem; }
.list-page__select { padding: 0.4rem 0.75rem; background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; color: #e5e7eb; font-size: 0.875rem; }
.list-page__btn { padding: 0.4rem 1rem; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 0.875rem; }
.list-page__btn:hover { background: #2563eb; }
.list-page__tabs { display: flex; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; border-bottom: 1px solid #2d3136; }
.list-page__tabs .list-page__tab { padding: 0.5rem 1rem; color: #9ca3af; text-decoration: none; border-radius: 6px 6px 0 0; font-size: 0.875rem; }
.list-page__tabs .list-page__tab:hover { color: #e5e7eb; background: #2d3136; }
.list-page__tabs .list-page__tab.active { color: #3b82f6; background: #1a1d21; border-bottom: 1px solid #111827; margin-bottom: -1px; }
.list-page__tab-panel { display: none; }
.list-page__tab-panel.active { display: block; }
.list-page__tab-desc { font-size: 0.875rem; color: #9ca3af; margin: 0 0 1rem; line-height: 1.5; }
.list-page__table-wrap { overflow-x: auto; margin: 0.5rem 0; }
.list-page__table { width: 100%; min-width: 480px; }
.list-page__ref { font-size: 0.8rem; word-break: break-all; }
.list-page__status { font-size: 0.8rem; padding: 0.2rem 0.5rem; border-radius: 4px; }
.list-page__status.status-success { background: #065f46; color: #6ee7b7; }
.list-page__status.status-failed { background: #7f1d1d; color: #fca5a5; }
.list-page__status.status-pending { background: #1e3a5f; color: #93c5fd; }
.list-page__loading, .list-page__empty, .list-page__error { color: #9ca3af; font-size: 0.875rem; padding: 1rem; text-align: center; }
.list-page__empty-hint { font-size: 0.8rem; color: #6b7280; margin-top: 0.5rem; display: inline-block; }
.list-page__empty-hint a { color: #60a5fa; text-decoration: none; }
.list-page__empty-hint a:hover { text-decoration: underline; }
.list-page__error { color: #f87171; }
.list-page__meta { font-size: 0.8rem; color: #6b7280; margin-top: 0.75rem; }
.list-page__pagination { margin-top: 0.75rem; }
.list-page__load-more { padding: 0.5rem 1rem; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 0.875rem; }
.list-page__load-more:hover { background: #2563eb; }
.list-page__btn-sm { padding: 0.25rem 0.5rem; font-size: 0.8rem; }

/* Admin user switch (Active/Inactive) */
.admin-user-switch { position: relative; display: inline-block; width: 40px; height: 22px; vertical-align: middle; }
.admin-user-switch input { opacity: 0; width: 0; height: 0; }
.admin-user-switch__slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #374151; border-radius: 22px; transition: 0.2s; }
.admin-user-switch__slider::before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 2px; background: #9ca3af; border-radius: 50%; transition: 0.2s; }
.admin-user-switch input:checked + .admin-user-switch__slider { background: #2563eb; }
.admin-user-switch input:checked + .admin-user-switch__slider::before { transform: translateX(18px); background: #fff; }
.admin-user-switch input:focus + .admin-user-switch__slider { box-shadow: 0 0 0 2px #3b82f6; }
.admin-user-switch input:disabled + .admin-user-switch__slider { opacity: 0.6; cursor: not-allowed; }

/* Admin modal - Thêm user */
.admin-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.admin-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.admin-modal__content { position: relative; background: #25282c; border: 1px solid #2d3136; border-radius: 8px; padding: 1.5rem; min-width: 320px; max-width: 400px; }
.admin-modal__title { margin: 0 0 1rem; font-size: 1.125rem; }
.admin-modal__form .form-group { margin-bottom: 1rem; }
.admin-modal__form .form-label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; color: #9ca3af; }
.admin-modal__form .form-input { width: 100%; padding: 0.5rem 0.75rem; background: #1a1d21; border: 1px solid #2d3136; border-radius: 6px; color: #e5e7eb; font-size: 0.875rem; }
.admin-modal__actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; justify-content: flex-end; }

@media (max-width: 768px) {
  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    z-index: 90;
  }

  .dashboard-sidebar.collapsed {
    margin-left: -240px;
    width: 240px;
  }
}
