/* I-Share — admin console */

.admin-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.stat-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 16px;
}
.stat-tile .value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}
.stat-tile .label {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

.data-table-wrap {
  overflow-x: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  white-space: nowrap;
}
table.data-table th, table.data-table td {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}
table.data-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table a { text-decoration: none; font-weight: 600; }

.search-input {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--bg-inset);
  color: var(--text);
  margin-bottom: 12px;
}

#admin-map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mod-photo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mod-photo-row:last-child { border-bottom: none; }
.mod-photo-row img {
  width: 64px; height: 64px;
  border-radius: var(--radius-s);
  object-fit: cover;
}
.mod-photo-row .info { flex: 1; font-size: 0.85rem; color: var(--text-muted); }
.mod-photo-row .actions { display: flex; gap: 6px; }

.map-popup { text-align: center; font-family: var(--font-body); }
.map-popup img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
