* { margin: 0; padding: 0; box-sizing: border-box; }

/* Access Overlay */
.access-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5f5 0%, #f5f5f5 30%, #fff8e8 100%);
  padding: 20px;
}

.access-overlay.hidden { display: none; }

.access-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}

.access-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8d7da 0%, transparent 50%, #fde7b8 100%);
  z-index: -1;
}

.access-title {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.access-subtitle {
  font-size: 16px;
  color: #999;
  margin-bottom: 32px;
}

.access-input {
  width: 100%;
  padding: 18px 20px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid #fde7b8;
  border-radius: 50px;
  outline: none;
  background: #fafafa;
  color: #333;
  margin-bottom: 20px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-text-security: disc;
}

.access-input:focus {
  border-color: #ffd24c;
  background: #fff;
}

.access-input::placeholder {
  color: #ddd;
  letter-spacing: 4px;
}

.access-btn {
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #1a1a1a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.access-btn:hover { background: #333; }
.access-btn:active { transform: scale(0.98); }
.access-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.access-error {
  margin-top: 16px;
  font-size: 14px;
  color: #ff4757;
  min-height: 20px;
}

.access-input.shake {
  animation: shake 0.4s;
  border-color: #ff4757;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@media (max-width: 480px) {
  .access-card { padding: 36px 24px; }
  .access-title { font-size: 26px; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.5;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.city-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 20px;
  background: #f0f0f0;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.city-selector:hover { background: #e0e0e0; }

.city-icon { color: #666; font-size: 18px; }

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 24px;
  padding: 0 16px;
  height: 44px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  padding: 0 8px;
}

.search-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.search-btn:hover { background: #444; }

/* Filter Bar */
.filter-bar {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: #222;
  background: #222;
  color: #fff;
}

/* Dropdown */
.dropdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 200;
  display: none;
}

.dropdown-overlay.show { display: block; }

.dropdown-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 201;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
}

.dropdown-overlay.show + .dropdown-panel,
.dropdown-panel.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.dropdown-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.dropdown-item {
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-item:hover { background: #f0f0f0; }
.dropdown-item.selected { background: #222; color: #fff; }

/* Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.masonry-grid {
  column-count: 2;
  column-gap: 12px;
}

@media (min-width: 640px) { .masonry-grid { column-count: 3; } }
@media (min-width: 900px) { .masonry-grid { column-count: 4; } }
@media (min-width: 1200px) { .masonry-grid { column-count: 5; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
}

/* Card */
.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
}

.card-image {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .card-image { transform: scale(1.03); }

/* Card badges on image */
.card-badges-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.card-badges-right {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.badge-top {
  position: absolute;
  display: block;
  width: 104px;
  padding: 5px 0;
  background: #ff3b30;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  text-align: center;
  top: 22px;
  left: -28px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  z-index: 3;
}

.badge-top::before,
.badge-top::after {
  content: '';
  position: absolute;
  top: 100%;
  width: 0;
  height: 0;
  border-style: solid;
}

.badge-top::before {
  left: 0;
  border-width: 6px 0 0 7px;
  border-color: transparent transparent transparent #8b1811;
}

.badge-top::after {
  right: 0;
  border-width: 6px 7px 0 0;
  border-color: #8b1811 transparent transparent transparent;
}

.badge-c {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px 4px 6px;
  background: linear-gradient(180deg, #ffeba0 0%, #ffd24c 50%, #e8a317 100%);
  color: #5d3500;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.55);
  border: 1px solid #b87500;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.badge-c::before {
  content: '👑';
  font-size: 16px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.badge-price {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* Code badge (click to copy) */
.code-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-family: inherit;
  border: none;
  padding: 0;
  z-index: 3;
  transition: transform 0.15s, box-shadow 0.15s;
}

.code-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

.code-badge:active { transform: scale(0.95); }

.code-badge .label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 1px;
  opacity: 0.95;
}

.code-badge .code {
  font-size: 16px;
  font-weight: 800;
  color: #ffe34d;
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.code-badge .action {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 1px;
  opacity: 0.95;
}

/* Card info */
.card-info {
  padding: 10px 12px;
}

.card-code {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  color: #ffd700;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid #ffd700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.card-verified::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffd700' d='M12 2L4 5v6c0 5.5 3.8 10.7 8 12 4.2-1.3 8-6.5 8-12V5l-8-3zm-1.5 14.5L6 12l1.4-1.4 3.1 3.1 6.1-6.1L18 9l-7.5 7.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4));
}

.card-location {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.card-tag {
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}
.card-tag.color-0 { color: #1e40af; background: #dbeafe; }
.card-tag.color-1 { color: #166534; background: #dcfce7; }
.card-tag.color-2 { color: #991b1b; background: #fee2e2; }
.card-tag.color-3 { color: #6b21a8; background: #f3e8ff; }
.card-tag.color-4 { color: #9a3412; background: #ffedd5; }
.card-tag.color-5 { color: #155e75; background: #cffafe; }
.card-tag.color-6 { color: #9d174d; background: #fce7f3; }
.card-tag.color-7 { color: #3730a3; background: #e0e7ff; }
.card-tag.color-8 { color: #3f6212; background: #ecfccb; }
.card-tag.color-9 { color: #92400e; background: #fef3c7; }

.card-multi-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.card-city-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.card-distance {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

/* Loading & Empty */
.loading {
  text-align: center;
  padding: 60px;
  color: #999;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* Admin */
.admin-header {
  background: #222;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 { font-size: 20px; }

.admin-nav {
  display: flex;
  gap: 4px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 16px;
}

.admin-nav-btn {
  padding: 12px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.admin-nav-btn:hover { color: #222; }
.admin-nav-btn.active {
  color: #222;
  border-bottom-color: #222;
  font-weight: 600;
}

.admin-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.form-input, .form-select, .form-textarea {
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #222;
}

.form-textarea { min-height: 80px; resize: vertical; }

/* Switch */
.switch-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #ccc;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.switch.on { background: #222; }

.switch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch.on::after { transform: translateX(22px); }

/* Image upload */
.upload-zone {
  border: 2px dashed #d0d0d0;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover { border-color: #222; background: #fafafa; }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.upload-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-item .remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Tags input */
.tags-input {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  align-items: center;
}

.tags-input:focus-within { border-color: #222; }

.tags-input input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 80px;
  padding: 4px 8px;
  font-size: 14px;
}

.tag-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 13px;
}

.tag-pill .remove {
  cursor: pointer;
  color: #999;
  font-size: 16px;
  line-height: 1;
}

.tag-pill .remove:hover { color: #ff4757; }

/* Button */
.btn {
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary { background: #222; color: #fff; }
.btn-primary:hover { background: #444; }

.btn-secondary { background: #f0f0f0; color: #333; }
.btn-secondary:hover { background: #e0e0e0; }

.btn-danger { background: #ff4757; color: #fff; }
.btn-danger:hover { background: #ff6b81; }

.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: #f8f8f8;
  font-weight: 600;
  color: #555;
  border-bottom: 1px solid #e8e8e8;
}

.data-table td { border-bottom: 1px solid #f0f0f0; }

.data-table tr:hover td { background: #fafafa; }

.table-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

/* Status badge */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-active { background: #d4edda; color: #155724; }
.status-hidden { background: #fff3cd; color: #856404; }
.status-deleted { background: #f8d7da; color: #721c24; }

/* Toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
  z-index: 200;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(34, 34, 34, 1);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
  .back-to-top svg { width: 20px; height: 20px; }
}

.toast {
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  max-width: 320px;
}

.toast-success { background: #28a745; }
.toast-error { background: #dc3545; }
.toast-info { background: #222; }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show { display: flex; }

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 { font-size: 18px; }

.modal-body { padding: 24px; }

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover { background: #f0f0f0; color: #333; }

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.pagination button {
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.pagination button:hover { background: #f0f0f0; }
.pagination button.active { background: #222; color: #fff; border-color: #222; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Mobile */
@media (max-width: 640px) {
  .header { padding: 10px 12px; }
  .header-inner { gap: 8px; }
  .city-selector { padding: 6px 10px; font-size: 14px; }
  .search-box { height: 38px; padding: 0 12px; }
  .search-box input { font-size: 14px; }
  .search-btn { padding: 8px 16px; font-size: 13px; }
  .masonry-grid { column-count: 2; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Admin login */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.login-box h2 { margin-bottom: 8px; }

.login-box p { color: #888; margin-bottom: 24px; font-size: 14px; }

.login-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
}

.login-box input:focus { border-color: #222; }

.login-box .btn { width: 100%; justify-content: center; }
