.admin-navlink {
  font-family: 'Fira Sans', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  white-space: nowrap;
}
.admin-navlink.primary { background: #fff; color: var(--primary-blue); border-color: #fff; }

.admin-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.admin-search {
  width: auto;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
  margin: 0;
}

.admin-review {
  position: relative;
}
.admin-review.is-hidden { opacity: .55; }
.admin-review .hidden-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #b45309;
  background: #fef3c7;
  padding: .1rem .5rem;
  border-radius: 999px;
  margin-left: .5rem;
}
.admin-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.admin-btn {
  border: none;
  cursor: pointer;
  font-family: 'Fira Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: .8rem;
  padding: .45rem .9rem;
  border-radius: 8px;
  color: #fff;
}
.admin-btn.edit { background: var(--accent-blue); }
.admin-btn.hide { background: #eab308; }
.admin-btn.show { background: #16a34a; }
.admin-btn.del  { background: #ef4444; }
.admin-btn:disabled { opacity: .5; cursor: default; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-color);
  padding: .6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.edit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.edit-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.edit-modal label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 480px) { .edit-grid { grid-template-columns: 1fr; } }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
}
.photo-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-color);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile .del {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(239,68,68,.92); color: #fff; font-size: 15px; line-height: 1;
}
.photo-tile.uploading { display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:.8rem; }

.photo-tile[draggable="true"] { cursor: grab; }
.photo-tile.dragging { opacity: .4; outline: 2px dashed var(--accent-blue); }

.photo-dropzone {
  border: 2px dashed var(--shadow-color);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color .15s, background .15s;
}
.photo-dropzone .dz-hint {
  color: var(--text-muted);
  font-size: .8rem;
  text-align: center;
  margin-bottom: .75rem;
}
.photo-dropzone.drag-over {
  border-color: var(--accent-blue);
  background: rgba(68,138,255,.08);
}

.admin-review.is-pending { outline: 2px solid #eab308; }
.pending-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #854d0e; background: #fef08a; padding: .1rem .5rem; border-radius: 999px; margin-left: .5rem;
}
.admin-btn.approve { background: #16a34a; }

.reply-photo-row { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:.5rem; }
.reply-photo-tile { position:relative; width:70px; height:70px; border-radius:8px; overflow:hidden; }
.reply-photo-tile img { width:100%; height:100%; object-fit:cover; }
.reply-photo-tile button { position:absolute; top:2px; right:2px; width:20px; height:20px; border:none; border-radius:50%; background:rgba(239,68,68,.92); color:#fff; cursor:pointer; font-size:12px; line-height:1; }
