/* ═══════════════════════════════════════
   RehanApps — Google Play Store Clone
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg:         #ffffff;
  --surface:    #f8f9fa;
  --surface-2:  #f1f3f4;
  --border:     #e8eaed;
  --border-md:  #dadce0;
  --primary:    #01875f;
  --primary-dk: #00695c;
  --primary-bg: #e6f4ea;
  --blue:       #1a73e8;
  --text:       #202124;
  --text-md:    #3c4043;
  --text-muted: #5f6368;
  --text-dim:   #80868b;
  --yellow:     #f9ab00;
  --red:        #d93025;
  --shadow-1:   0 1px 2px rgba(60,64,67,.1), 0 1px 3px rgba(60,64,67,.05);
  --shadow-2:   0 1px 3px rgba(60,64,67,.15), 0 4px 8px rgba(60,64,67,.08);
  --shadow-3:   0 4px 12px rgba(60,64,67,.15), 0 8px 24px rgba(60,64,67,.1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Google Sans','Roboto',-apple-system,BlinkMacSystemFont,sans-serif;
  background: #fff;
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #dadce0; border: 3px solid #fff; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #bdc1c6; }

/* ══════════ NAVBAR (Play Store) ══════════ */
.ps-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ps-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ps-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.ps-logo-icon { display: block; }
.ps-logo-text {
  font-family: 'Google Sans',sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #5f6368;
  letter-spacing: -0.2px;
}
.ps-logo-text::first-letter { color: #202124; }

/* Top text tabs with underline */
.ps-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}
.ps-tab {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-md);
  text-decoration: none;
  position: relative;
  transition: color 0.15s;
}
.ps-tab:hover { color: var(--primary); }
.ps-tab.active { color: var(--primary); font-weight: 700; }
.ps-tab.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* Icon button */
.ps-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-md);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  font-size: 18px;
}
.ps-icon-btn:hover { background: var(--surface-2); }

/* Avatar circle */
.ps-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #01875f, #00d97e);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.15s;
}
.ps-avatar:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.ps-avatar-lg {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #01875f, #00d97e);
  color: #fff;
  font-weight: 500;
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Sign in / sign up buttons */
.ps-text-btn {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.15s;
}
.ps-text-btn:hover { background: var(--primary-bg); }
.ps-fill-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--primary);
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.15s;
}
.ps-fill-btn:hover { background: var(--primary-dk); box-shadow: 0 1px 3px rgba(60,64,67,.3); }

/* Dropdown */
.ps-dropdown {
  position: absolute;
  right: 0;
  margin-top: 8px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(60,64,67,.15);
  overflow: hidden;
  z-index: 200;
}
.ps-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  color: #3c4043;
  text-decoration: none;
  transition: background 0.15s;
}
.ps-menu-item:hover { background: var(--surface); }

/* Search overlay */
.ps-search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  padding: 80px 20px 20px;
  display: flex;
  justify-content: center;
}
.ps-search-box {
  background: #fff;
  border-radius: 28px;
  padding: 14px 24px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ══════════ CATEGORY CHIPS ══════════ */
.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border-md);
  color: var(--text-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}
.category-pill:hover {
  background: var(--surface-2);
  border-color: #bdc1c6;
}
.category-pill.active {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* ══════════ HERO BANNER (Dark Play Store) ══════════ */
.hero-banner {
  background: radial-gradient(circle at 70% 30%, #1a3a2e 0%, #0a1f17 50%, #000 100%);
  padding: 0;
  border-radius: 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,217,126,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  top: 20px; left: 24px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.hero-banner-content {
  padding: 70px 40px 24px;
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1;
}
.hero-title {
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
  font-family: 'Google Sans',sans-serif;
}
.hero-desc {
  font-size: 16px;
  color: #c4c7c5;
  line-height: 1.5;
  margin: 0;
}
.hero-banner-art {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 220px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00d97e, #01875f);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0,217,126,0.4);
}
.hero-banner-art i {
  font-size: 100px;
  color: #fff;
  opacity: 0.9;
}
.hero-app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}
.hero-app-icon-sm {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.hero-app-icon-sm i { font-size: 28px; color: var(--primary); }
.hero-app-info { flex: 1; min-width: 0; }
.hero-app-name { font-size: 16px; font-weight: 500; color: #fff; margin: 0; font-family: 'Google Sans',sans-serif; }
.hero-app-meta { font-size: 13px; color: #9aa0a6; margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.hero-app-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 11px;
  color: #fff;
  font-weight: 500;
}
.hero-install-btn {
  padding: 12px 28px;
  background: #00d97e;
  color: #000;
  border: none;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: inherit;
}
.hero-install-btn:hover { background: #00f590; transform: scale(1.02); }

@media (max-width: 768px) {
  .hero-banner { min-height: auto; margin: 16px 0; }
  .hero-banner-content { padding: 60px 24px 20px; }
  .hero-title { font-size: 22px; }
  .hero-desc { font-size: 14px; }
  .hero-banner-art { display: none; }
  .hero-app-bar { padding: 16px 24px; flex-wrap: wrap; }
  .hero-install-btn { padding: 10px 22px; font-size: 13px; }
}

/* ══════════ SECTION HEADER ══════════ */
.ps-section {
  margin: 32px 0;
}
.ps-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ps-section-title {
  font-family: 'Google Sans',sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.ps-section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 99px;
  transition: background 0.18s;
}
.ps-section-link:hover { background: var(--primary-bg); }

/* ══════════ APP GRID (Play Store style) ══════════ */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 20px 16px;
}

.ps-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.18s;
  padding: 6px;
}
.ps-card:hover { background: var(--surface-2); }

.ps-card-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--surface-2);
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ps-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
}
.ps-card-cat {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.ps-card-rating .star {
  color: var(--text-muted);
  font-size: 10px;
}

/* ══════════ HORIZONTAL ROW ══════════ */
.ps-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.ps-row::-webkit-scrollbar { display: none; }
/* Direct children are .ps-card-wrapper (not .ps-card), or the row grows to full width and icons become huge */
.ps-row > .ps-card-wrapper {
  flex: 0 0 110px;
  width: 110px;
  max-width: 110px;
  min-width: 0;
  scroll-snap-align: start;
}
.ps-card-wrapper {
  position: relative;
}

/* ══════════ FEATURED CARD (large) ══════════ */
.ps-feature {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
}
.ps-feature:hover {
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.ps-feature-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.ps-feature-info { min-width: 0; flex: 1; }
.ps-feature-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
  font-family: 'Google Sans',sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-feature-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.ps-feature-desc {
  font-size: 13px;
  color: var(--text-md);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ══════════ BUTTONS ══════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 99px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--primary-dk);
  box-shadow: 0 1px 3px rgba(60,64,67,.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 99px;
  background: #fff;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border-md);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--primary-bg); border-color: var(--primary); }

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 32px;
  border-radius: 99px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-download:hover { background: var(--primary-dk); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 99px;
  background: #fff;
  color: var(--red);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #f5c6c2;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-danger:hover { background: #fce8e6; }

.btn-sm { padding: 7px 16px !important; font-size: 13px !important; }

/* ══════════ FORMS ══════════ */
.form-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(1,135,95,0.2);
}
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input option { background: #fff; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-md);
  margin-bottom: 6px;
}

/* ══════════ BADGES ══════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}
.badge-green  { background: #e6f4ea; color: #137333; }
.badge-yellow { background: #fef7e0; color: #b06000; }
.badge-red    { background: #fce8e6; color: #c5221f; }
.badge-blue   { background: #e8f0fe; color: #1967d2; }
.badge-gray   { background: var(--surface-2); color: var(--text-muted); }

/* ══════════ TABLE ══════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-md);
  font-size: 14px;
}
.data-table tr:hover td { background: var(--surface); }

/* ══════════ STAT CARDS ══════════ */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.18s;
}
.stat-card:hover { box-shadow: var(--shadow-2); }

/* ══════════ SIDEBAR ══════════ */
.sidebar-link, .admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 99px;
  color: var(--text-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.sidebar-link:hover, .admin-sidebar-link:hover { background: var(--surface-2); }
.sidebar-link.active, .admin-sidebar-link.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 700;
}

/* ══════════ UPLOAD ZONE ══════════ */
.upload-zone {
  border: 2px dashed var(--border-md);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-bg);
}

/* ══════════ LIGHTBOX ══════════ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

/* ══════════ SCREENSHOTS ══════════ */
.screenshot-thumb {
  width: 110px;
  height: 196px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
  flex-shrink: 0;
}
.screenshot-thumb:hover { border-color: var(--primary); }

/* ══════════ APP DETAIL ══════════ */
.app-large-icon {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
  background: var(--surface-2);
}

/* ══════════ EMPTY STATE ══════════ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon {
  width: 80px; height: 80px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: var(--text-dim);
}

/* ══════════ PAGINATION ══════════ */
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s;
}
.page-btn.active { background: var(--primary); color: #fff; }
.page-btn:not(.active) { color: var(--text-md); }
.page-btn:not(.active):hover { background: var(--surface-2); }

/* ══════════ STARS ══════════ */
.stars { color: var(--yellow); letter-spacing: 1px; }
.stars .empty { color: var(--border-md); }

/* ══════════ STATUS DOTS ══════════ */
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.status-dot.approved { background: var(--primary); }
.status-dot.pending  { background: var(--yellow); }
.status-dot.rejected { background: var(--red); }

/* ══════════ DIVIDER ══════════ */
.glow-divider { height: 1px; background: var(--border); margin: 0; }

/* ══════════ PAGE HEADER ══════════ */
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

/* ══════════ APP DETAIL (classic store — matches light site chrome) ══════════ */
.app-detail {
  background: var(--surface);
  color: var(--text);
}
.app-detail-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0 32px;
}
.app-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.app-detail-breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}
.app-detail-breadcrumb a:hover {
  text-decoration: underline;
}
.app-detail-breadcrumb span:last-child {
  color: var(--text);
  font-weight: 600;
  max-width: 100%;
}
.app-detail-title {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.2;
}
.app-detail-dev {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.app-detail-dev:hover {
  text-decoration: underline;
}
.app-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.app-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-md);
  background: #fff;
  border: 1px solid var(--border-md);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow-1);
}
.app-detail-chip i {
  color: var(--primary);
  font-size: 11px;
}
.app-detail-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.app-detail-stat {
  flex: 1;
  min-width: 88px;
  text-align: center;
  padding: 0 12px;
}
.app-detail-stat-val {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.app-detail-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.app-detail-stat-div {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 40px;
}
.app-detail-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(1, 135, 95, 0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.app-detail-dl-btn:hover {
  background: var(--primary-dk);
  box-shadow: 0 4px 14px rgba(1, 135, 95, 0.4);
  transform: translateY(-1px);
}
.app-detail-dl-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}
.app-detail-section {
  padding: 32px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.app-detail-section--muted {
  background: var(--surface);
}
.app-detail-h2 {
  font-family: 'Google Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-detail-h2 i {
  color: var(--primary);
}
.app-detail-about-lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-md);
  margin: 0 0 12px;
  line-height: 1.5;
}
.app-detail-about-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.app-detail-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.app-detail-sidebar-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-md);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.app-detail-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.app-detail-info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.app-detail-info-row span:first-child {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.app-detail-info-row span:first-child i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}
.app-detail-info-row span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.app-detail-safe {
  background: linear-gradient(145deg, #e6f4ea 0%, #f1f8f4 100%);
  border: 1px solid #a8dab5;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.app-detail-safe .app-detail-dl-btn {
  width: 100%;
}
.app-detail-related-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-detail-related-title i {
  color: var(--primary);
}
.app-detail-related-grid a {
  text-decoration: none;
}
.app-detail-related-grid p {
  color: var(--text-md);
}
.app-detail-related-grid .text-dl {
  color: var(--text-muted);
  font-size: 11px;
}
@media (max-width: 640px) {
  .app-detail-stat-div {
    display: none;
  }
  .app-detail-stats {
    gap: 16px;
  }
  .app-detail-stat {
    flex: 1 1 45%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
  }
}

.glass-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}

/* ══════════ ANIMATIONS ══════════ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.3s ease forwards; }

/* ══════════ VISUALLY HIDDEN (focusable file inputs) ══════════ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
  opacity: 0;
}

/* ══════════ SECTION CARD (forms / panels) ══════════ */
.ps-section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.ps-section-card-title {
  font-family: 'Google Sans',sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #202124;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ══════════ UPLOAD OVERLAY ══════════ */
.upload-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.upload-overlay.active { display: flex; }
.upload-overlay-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}
.upload-spinner {
  position: relative;
  width: 90px; height: 90px;
  margin: 0 auto 24px;
}
.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #e8f5e9;
  border-top-color: #01875f;
  border-right-color: #01875f;
  animation: spin 1s linear infinite;
}
.spinner-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #01875f;
}
@keyframes spin { to { transform: rotate(360deg); } }
.upload-overlay-title {
  font-family: 'Google Sans',sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #202124;
  margin: 0 0 6px;
}
.upload-overlay-sub {
  font-size: 14px;
  color: #5f6368;
  margin: 0 0 20px;
}
.upload-progress-track {
  height: 8px;
  background: #e8f0fe;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 16px;
}
.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #01875f, #00d97e);
  border-radius: 99px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 12px rgba(1,135,95,0.3);
}
.upload-overlay-warn {
  font-size: 12px;
  color: #80868b;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.upload-overlay-warn i { color: #f9ab00; }

/* ══════════ AUTH PAGES (Login / Register) ══════════ */
.auth-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #f8fffe 0%, #f1f8f4 50%, #e8f5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,126,0.08), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.auth-page::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,135,95,0.06), transparent 70%);
  bottom: -200px; left: -200px;
  pointer-events: none;
}

.auth-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px 36px;
  box-shadow:
    0 1px 2px rgba(60,64,67,.08),
    0 8px 24px rgba(60,64,67,.08),
    0 24px 60px rgba(60,64,67,.06);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.auth-card-wide { max-width: 520px; }

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.auth-title {
  font-family: 'Google Sans',sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #202124;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.auth-sub {
  text-align: center;
  font-size: 15px;
  color: #5f6368;
  margin: 0 0 32px;
}

.auth-error {
  background: #fce8e6;
  color: #c5221f;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.auth-error > div { flex: 1; }
.auth-error i { margin-top: 2px; flex-shrink: 0; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .auth-row { grid-template-columns: 1fr; } }

.auth-label {
  font-size: 12px;
  font-weight: 500;
  color: #5f6368;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-icon {
  position: absolute;
  left: 16px;
  color: #80868b;
  font-size: 14px;
  pointer-events: none;
}
.auth-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  font-size: 15px;
  color: #202124;
  background: #fff;
  outline: none;
  font-family: inherit;
  transition: all 0.18s;
}
.auth-input:focus {
  border-color: #01875f;
  box-shadow: 0 0 0 3px rgba(1,135,95,0.12);
}
.auth-input::placeholder { color: #9aa0a6; }
.auth-input-trail {
  position: absolute;
  right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #80868b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.auth-input-trail:hover { background: #f1f3f4; color: #5f6368; }

.auth-hint-text {
  font-size: 12px;
  color: #80868b;
  margin: 6px 0 0 4px;
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #5f6368;
  cursor: pointer;
  line-height: 1.5;
}
.auth-terms input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: #01875f;
  flex-shrink: 0;
}
.auth-terms a { color: #01875f; font-weight: 500; }
.auth-terms a:hover { text-decoration: underline; }

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.auth-link {
  font-size: 14px;
  font-weight: 500;
  color: #01875f;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.auth-link:hover { background: #e6f4ea; }

.auth-submit {
  padding: 11px 28px;
  background: #01875f;
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(1,135,95,0.3);
}
.auth-submit:hover {
  background: #00695c;
  box-shadow: 0 4px 12px rgba(1,135,95,0.4);
  transform: translateY(-1px);
}

.auth-hint {
  margin-top: 24px;
  padding: 12px 16px;
  background: #e8f0fe;
  border-radius: 12px;
  font-size: 12px;
  color: #1967d2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-hint code {
  background: rgba(255,255,255,0.7);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-family: 'Roboto Mono',monospace;
  color: #1967d2;
}

@media (max-width: 480px) {
  .auth-card { padding: 36px 24px 28px; border-radius: 20px; }
  .auth-title { font-size: 22px; }
}

/* ══════════ DEVELOPER DASHBOARD (light, matches storefront) ══════════ */
.dev-dashboard {
  background: var(--surface);
  padding-bottom: 48px;
}
.dev-dashboard-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.dev-dashboard-hero h1 {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
}
.dev-dashboard-hero .dev-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.dev-dashboard-hero .dev-crumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dev-dashboard-hero .dev-crumb i {
  color: var(--primary);
}
.dev-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 640px) {
  .dev-stat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.dev-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dev-stat-card:hover {
  box-shadow: var(--shadow-2);
  border-color: #dadce0;
}
.dev-stat-card .dev-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dev-stat-card .dev-stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.dev-stat-card .dev-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 10px;
}
.dev-stat-card.dev-stat--blue .dev-stat-icon { background: #e8f0fe; color: #1967d2; }
.dev-stat-card.dev-stat--green .dev-stat-icon { background: #e6f4ea; color: #137333; }
.dev-stat-card.dev-stat--amber .dev-stat-icon { background: #fef7e0; color: #b06000; }
.dev-stat-card.dev-stat--purple .dev-stat-icon { background: #f3e8fd; color: #7b1fa2; }
.dev-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  margin-bottom: 24px;
}
.dev-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dev-panel-header h2 {
  font-family: 'Google Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dev-panel-header h2 i {
  color: var(--primary);
}
.dev-panel-note {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 20px 12px;
  margin: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dev-table-wrap {
  overflow-x: auto;
}
.dev-panel .data-table th {
  background: #f8f9fa;
  font-size: 11px;
}
.dev-panel .data-table td {
  font-size: 13px;
  color: var(--text-md);
  vertical-align: middle;
}
.dev-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dev-action-btn:hover {
  background: var(--surface-2);
  border-color: #dadce0;
  color: var(--primary);
}
.dev-action-btn.dev-action-danger:hover {
  color: var(--red);
  border-color: #f5c6c2;
  background: #fce8e6;
}
.dev-alert-reject {
  background: #fef7e0;
  border: 1px solid #fde293;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.dev-alert-reject p {
  margin: 0;
  font-size: 14px;
  color: #b06000;
}
.dev-empty {
  text-align: center;
  padding: 48px 24px;
}
.dev-empty i {
  display: block;
  font-size: 40px;
  color: var(--border-md);
  margin-bottom: 12px;
}

/* ══════════ ADMIN (light layout) ══════════ */
.admin-dashboard {
  background: var(--surface);
  padding-bottom: 48px;
  min-height: calc(100vh - 200px);
}
.admin-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-1);
  position: sticky;
  top: 72px;
}
.admin-sidebar-card .admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.admin-sidebar-card .admin-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fce8e6, #fad2cf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5221f;
  font-size: 16px;
}
.admin-sidebar-card .admin-brand-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.admin-sidebar-card .admin-brand-user {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.admin-sidebar-card a.admin-sidebar-link.text-logout {
  color: var(--red) !important;
}
.admin-sidebar-card a.admin-sidebar-link.text-logout:hover {
  background: #fce8e6 !important;
}
.admin-main-title {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
}
.admin-main-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.admin-banner-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}
.admin-banner-compact--ok {
  background: #e6f4ea;
  border: 1px solid #ceead6;
  color: #137333;
}
.admin-banner-compact--warn {
  background: #fef7e0;
  border: 1px solid #fde293;
  color: #b06000;
}
.admin-breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.admin-breakdown-row .lbl {
  width: 88px;
  flex-shrink: 0;
  color: var(--text-muted);
}
.admin-breakdown-row .bar-wrap {
  flex: 1;
  min-width: 0;
  height: 8px;
  background: #e8eaed;
  border-radius: 99px;
  overflow: hidden;
}
.admin-breakdown-row .bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
}
.admin-breakdown-row .num {
  width: 28px;
  text-align: right;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Admin app review (light) */
.admin-review-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.admin-review-breadcrumb a:hover {
  text-decoration: underline;
}
.admin-review-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8f9fa;
  border: 1px solid var(--border);
  color: var(--text-md);
}
.admin-review-chip i {
  color: var(--primary);
  font-size: 11px;
}
.admin-review-apk-box {
  flex: 1;
  min-width: 0;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.admin-review-apk-box .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--text);
  word-break: break-all;
  margin: 0;
}
.admin-review-apk-box .sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.admin-review-dev-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e6f4ea, #ceead6);
  color: #137333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.admin-review-dev-avatar.sm {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.admin-review-status-live {
  background: #e6f4ea;
  border: 1px solid #ceead6;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.admin-review-status-live p {
  margin: 0;
  font-size: 14px;
  color: #137333;
}
.admin-review-status-live .sub {
  font-size: 13px;
  color: #1e8e3e;
  margin-top: 6px;
  opacity: 0.9;
}
.admin-review-status-reject {
  background: #fce8e6;
  border: 1px solid #f5c6c2;
  border-radius: 12px;
  padding: 16px;
}
.admin-review-status-reject .reason {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #c5221f;
  margin-top: 8px;
}
.admin-review-decision-pending {
  border: 1px solid #fde293;
  background: #fffdf7;
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.admin-review-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-review-actions-stack .btn-secondary,
.admin-review-actions-stack .btn-danger {
  width: 100%;
  justify-content: center;
}

/* Admin list pages (apps, users) */
.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.admin-page-head h1 {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-page-head h1 i {
  color: var(--primary);
  font-size: 1.1em;
}
.admin-page-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.admin-filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-1);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.admin-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
a.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--text-md);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
a.admin-pill:hover {
  background: var(--surface-2);
  border-color: #dadce0;
}
a.admin-pill.is-active {
  background: var(--primary-bg);
  border-color: rgba(1, 135, 95, 0.35);
  color: var(--primary);
  font-weight: 600;
}
.admin-list-panel {
  margin-bottom: 0;
}
.admin-list-panel .dev-panel-header {
  min-height: 52px;
}
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.admin-pagination a {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-md);
  border: 1px solid var(--border);
  background: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.admin-pagination a:hover {
  background: var(--surface-2);
  border-color: #dadce0;
}
.admin-pagination a.is-current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.admin-row-self td {
  background: #f3f6f4 !important;
}
.admin-users-role-select {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-md);
  background: #fff;
  color: var(--text);
  min-width: 110px;
  cursor: pointer;
}
.admin-users-role-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: var(--surface-2);
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 768px) {
  .top-tabs-inner { padding: 0 16px; }
  .hero-banner { padding: 24px 20px; margin: 16px 0; }
  .hero-title { font-size: 24px; }
  .hero-banner-icon { display: none; }
  .ps-section-title { font-size: 18px; }
  .ps-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 16px 12px; }
}
