/* ── Admin layout ── */
.pet-admin {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--pet-bg);
}

.pet-admin-topbar {
  background: var(--pet-structural);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.pet-admin-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.pet-admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--pet-structural);
  color: rgba(255, 255, 255, 0.85);
  overflow-y: auto;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  padding: 1.25rem 0 2rem;
}

.pet-admin-sidebar-section {
  padding: 0 1rem;
  margin-bottom: 1.25rem;
}

.pet-admin-sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pet-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
}

.pet-admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  margin: 0.1rem 0;
  border-radius: var(--pet-radius-sm);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.pet-admin-sidebar-link:hover {
  background: var(--pet-sidebar-hover);
  color: #fff;
}

.pet-admin-sidebar-link.active {
  background: var(--pet-sidebar-active);
  color: var(--pet-primary);
  font-weight: 500;
}

.pet-admin-sidebar-link .fa-fw {
  width: 1.25rem;
  text-align: center;
  opacity: 0.85;
}

.pet-admin-sidebar-badge {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 0.2em 0.5em;
}

.pet-admin-main {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.75rem 3rem;
}

.pet-admin-offcanvas {
  background: var(--pet-structural);
  color: rgba(255, 255, 255, 0.85);
  max-width: min(100vw, 280px);
}

.pet-admin-stat-card {
  background: var(--pet-surface);
  border: 1px solid var(--pet-border);
  border-radius: var(--pet-radius);
  padding: 1.25rem;
  height: 100%;
}

.pet-admin-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.pet-admin-stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--pet-text-muted);
}

.pet-admin-stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--pet-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.pet-admin-filter-bar {
  background: var(--pet-surface);
  border: 1px solid var(--pet-border);
  border-radius: var(--pet-radius);
  padding: 1rem 1.25rem;
}

.pet-admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .pet-admin-sidebar--desktop {
    display: none;
  }

  .pet-admin-main {
    padding: 1.25rem 1rem 2.5rem;
  }
}

@media (min-width: 992px) {
  .pet-admin-sidebar--offcanvas {
    display: none;
  }
}
