/* RAGHAV FOOD - Admin Panel Styles */

:root {
  --bg:       #0F172A;
  --sidebar:  #1E293B;
  --card:     #1E293B;
  --border:   rgba(255,255,255,0.07);
  --orange:   #b5844a;
  --orange-light: rgba(247,108,27,0.12);
  --text:     #E2E8F0;
  --text-muted: #94A3B8;
  --success:  #10B981;
  --danger:   #EF4444;
  --info:     #3B82F6;
  --warning:  #F59E0B;
  --radius:   10px;
  --transition: 0.25s ease;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
}

a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }

/* ── Layout ── */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  top:0; left:0; bottom:0;
  z-index: 100;
  border-right: 1px solid var(--border);
  transition: transform var(--transition);
  overflow-y: auto;
}
.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-content { padding: 24px; flex: 1; }

/* ── Sidebar ── */
.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.sidebar-logo-text span { color: var(--orange); }
.sidebar-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.sidebar-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.sidebar-nav { padding: 16px 12px; flex: 1; }
.nav-section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 8px 8px 4px;
  margin-top: 8px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.sidebar-nav a .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.sidebar-nav a.active {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
}
.sidebar-nav a .badge {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user-info .name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.sidebar-user-info .role { font-size: 0.72rem; color: var(--text-muted); }

/* ── Topbar ── */
.topbar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}
.topbar-user-name { font-size: 0.875rem; font-weight: 500; }

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.card-body { padding: 20px; }

/* ── KPI Cards ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition);
}
.kpi-card:hover { border-color: rgba(247,108,27,0.4); }
.kpi-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.kpi-icon.orange { background: var(--orange-light); color: var(--orange); }
.kpi-icon.green  { background: rgba(16,185,129,0.1); color: var(--success); }
.kpi-icon.blue   { background: rgba(59,130,246,0.1); color: var(--info); }
.kpi-icon.purple { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.kpi-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.kpi-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.kpi-trend {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 6px;
}
.kpi-trend.up { color: var(--success); }
.kpi-trend.down { color: var(--danger); }

/* ── Charts ── */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

/* ── Tables ── */
.table-responsive { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
.table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255,255,255,0.03); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-danger  { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-info    { background: rgba(59,130,246,0.15); color: var(--info); }
.badge-orange  { background: var(--orange-light); color: var(--orange); }
.badge-muted   { background: rgba(255,255,255,0.07); color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: #9a6d38; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-success { background: rgba(16,185,129,0.15); color: var(--success); border-color: rgba(16,185,129,0.3); }
.btn-danger  { background: rgba(239,68,68,0.15); color: var(--danger); border-color: rgba(239,68,68,0.3); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 0.76rem; }
.btn-icon { padding: 8px; width: 34px; height: 34px; justify-content: center; border-radius: 6px; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-group > label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
/* Dark-theme styling for ALL form inputs (bare or .form-control) */
.admin-content input[type="text"],
.admin-content input[type="number"],
.admin-content input[type="email"],
.admin-content input[type="url"],
.admin-content input[type="password"],
.admin-content input[type="search"],
.admin-content input[type="tel"],
.admin-content textarea,
.admin-content select,
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
}
.admin-content input[type="text"]:focus,
.admin-content input[type="number"]:focus,
.admin-content input[type="email"]:focus,
.admin-content input[type="url"]:focus,
.admin-content input[type="password"]:focus,
.admin-content input[type="search"]:focus,
.admin-content input[type="tel"]:focus,
.admin-content textarea:focus,
.admin-content select:focus,
.form-control:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(247,108,27,0.1);
}
.admin-content select option,
.form-control option { background: #1E293B; color: var(--text); }
.admin-content textarea,
textarea.form-control { resize: vertical; min-height: 80px; }
.admin-content input[type="file"] {
  padding: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.82rem;
}
.admin-content input[type="file"]:hover {
  border-color: var(--orange);
  background: rgba(247,108,27,0.04);
}
.admin-content input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); }
.form-check label { font-size: 0.875rem; cursor: pointer; }

/* ── Admin Cards (Shopify-style) ── */
.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.admin-card:hover { border-color: rgba(255,255,255,0.12); }
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.admin-card-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-card-header .card-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 10px;
  border-radius: 20px;
}
.admin-card-header .collapse-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.admin-card-header.collapsed .collapse-icon { transform: rotate(-90deg); }
.admin-card-body { padding: 20px; }
.admin-card-body.collapsed { display: none; }

/* ── Service/Item Cards (collapsible items inside admin cards) ── */
.item-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
  margin-bottom: 12px;
}
.item-card:hover { border-color: rgba(247,108,27,0.3); }
.item-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
  background: rgba(255,255,255,0.02);
}
.item-card-header:hover { background: rgba(255,255,255,0.04); }
.item-card-header .item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.item-card-header .item-title .item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.item-card-header .item-title .item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-card-header .item-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--orange-light);
  color: var(--orange);
  flex-shrink: 0;
}
.item-card-body {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.item-card-body.collapsed { display: none; }

/* ── Image Upload Zone ── */
.img-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}
.img-upload-zone:hover {
  border-color: var(--orange);
  background: rgba(247,108,27,0.04);
}
.img-upload-zone img {
  max-height: 140px;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}
.img-upload-zone .upload-placeholder {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.img-upload-zone .upload-placeholder .upload-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: block;
}

/* ── Star Rating ── */
.star-rating { display: inline-flex; gap: 2px; direction: rtl; }
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: color 0.15s;
  padding: 0 1px;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #F59E0B;
}

/* ── Delete button (inline) ── */
.btn-sm-delete {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  border: 1px solid rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  transition: all 0.2s;
}
.btn-sm-delete:hover { background: var(--danger); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--orange); color: var(--orange); }

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--sidebar);
  border-radius: 14px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--sidebar);
  z-index: 1;
}
.modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ── Alerts ── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(16,185,129,0.12); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.alert-error   { background: rgba(239,68,68,0.12); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.alert-warning { background: rgba(245,158,11,0.12); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.alert-info    { background: rgba(59,130,246,0.12); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pagination a, .pagination span {
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination a:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.pagination span.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Login Page ── */
.login-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--sidebar);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.login-logo h1 span { color: var(--orange); }
.login-logo p { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.google-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  text-decoration: none;
}
.google-btn:hover { background: rgba(255,255,255,0.09); }
.google-icon {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #4285f4;
}

/* ── Page header ── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}
.page-header .subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Utility ── */
.text-muted { color: var(--text-muted); }
.text-orange { color: var(--orange); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.action-btns { display: flex; gap: 6px; }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); }
.empty-state .icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state p { font-size: 0.875rem; }

.stats-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.stat-mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  flex: 1;
  min-width: 90px;
}
.stat-mini .val { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-mini .lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .charts-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}


/* ── Gallery Upload Slots ── */
.gallery-slot {
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
}
.gallery-slot:hover {
  border-color: var(--orange);
  background: rgba(247,108,27,0.06);
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  position: relative;
  flex-shrink: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb .del-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  background: #ef4444;
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}
