/* CardRush back-office — Bootstrap dashboard, light */
.adm-body {
  background: #f8f9fa;
  color: #212529;
  min-height: 100dvh;
  overflow-x: hidden;
}
.adm-navbar {
  min-height: 56px;
  z-index: 1030;
}
.adm-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.adm-offcanvas {
  --bs-offcanvas-width: 240px;
}
@media (min-width: 992px) {
  .adm-offcanvas {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    display: block !important;
    transform: none !important;
    visibility: visible !important;
    height: calc(100dvh - 56px);
    width: 220px;
    max-width: 220px;
    background: #fff;
    border-right: 1px solid #dee2e6;
    z-index: 1020;
  }
  .adm-offcanvas .offcanvas-body { overflow-y: auto; height: 100%; }
  .adm-main { margin-left: 220px; }
}
.adm-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #495057;
  font-weight: 600;
}
.adm-side-link:hover { background: #f1f3f5; color: #212529; }
.adm-side-link.active {
  background: #e7f1ff;
  color: #0d6efd;
}
.adm-main {
  padding: 16px 16px 40px;
  min-width: 0;
}
.adm-h { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
.adm-muted { color: #6c757d; font-size: 0.85rem; }
.adm-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.adm-stat {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.adm-stat:hover { border-color: #0d6efd; }
.adm-stat strong { display: block; font-size: 1.5rem; color: #0d6efd; }
.adm-stat span { font-size: 0.8rem; color: #6c757d; }
.adm-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.adm-search .form-control { flex: 1 1 160px; min-width: 0; }
.adm-search .form-select { flex: 0 1 140px; }
.adm-btn {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
}
.adm-btn-ghost {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #0d6efd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.adm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
}
.adm-table { margin: 0; font-size: 0.9rem; }
.adm-table th { white-space: nowrap; color: #6c757d; font-size: 0.75rem; }
.adm-table td { vertical-align: middle; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.adm-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9ecef;
  color: #495057;
  white-space: nowrap;
}
.adm-pill.live { background: #d1e7dd; color: #0f5132; }
.adm-pill.sold { background: #cff4fc; color: #055160; }
.adm-pill.ended { background: #e9ecef; color: #495057; }
.adm-pill.removed { background: #f8d7da; color: #842029; }
.adm-pill.admin { background: #cfe2ff; color: #084298; }
.adm-pill.off { background: #f8d7da; color: #842029; }
.adm-cards { display: flex; flex-direction: column; gap: 10px; }
.adm-row {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.adm-row:hover { border-color: #0d6efd; }
.adm-thumb {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #e9ecef;
  flex-shrink: 0;
}
.adm-row h3 { margin: 0; font-size: 0.95rem; line-height: 1.3; }
.adm-form {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.adm-form label { font-size: 0.8rem; color: #6c757d; }
.adm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #212529;
  font-size: 0.95rem;
}
.adm-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.adm-page {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #212529;
  text-decoration: none;
  padding: 0 10px;
}
.adm-page.is-on { background: #0d6efd; color: #fff; border-color: #0d6efd; }
.adm-err { color: #842029; }
.adm-desk { display: none; }
.adm-mob { display: block; }
.min-width-0 { min-width: 0; }
.adm-login-body {
  min-height: 100dvh;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.adm-login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 24px;
}
@media (min-width: 768px) {
  .adm-stats { grid-template-columns: repeat(4, 1fr); }
  .adm-desk { display: block; }
  .adm-mob { display: none; }
  .adm-main { padding: 24px 28px 48px; }
}
