/* src/components/feedback/Modals.css */
.alert-modal-content {
  text-align: center;
  max-width: 400px;
}

.alert-modal-icon {
  margin-bottom: 24px;
}

.alert-modal-button {
  width: 100%;
}

.confirm-modal-content {
  max-width: 450px;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

/* ../../packages/ui/theme.css */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #f0fdfa;
  --secondary: #0f172a;
  --accent: #2dd4bf;
  --background: #f8fafc;
  --surface: #fff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --transition: all .2s cubic-bezier(.4, 0, .2, 1);
}

.user-location-marker {
  display: flex;
  pointer-events: none;
  justify-content: center;
  align-items:  center;
}

.pulse-dot {
  z-index: 2;
  background: #2563eb;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 4px #0000004d;
}

.pulse-ring {
  position: absolute;
  animation: pulse-ring 2s infinite;
  z-index: 1;
  background: #2563eb66;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.5);
    opacity: .8;
  }

  80%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* src/styles/global.css */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--background);
  color: var(--text);
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
}

.admin-container {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 40px;
}

.admin-header h1 {
  letter-spacing: -.025em;
  color: var(--secondary);
  display: flex;
  align-items:  center;
  gap: 8px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.page-indicator {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.admin-header h1:before {
  content: "";
  background: var(--primary);
  display: inline-block;
  border-radius: 3px;
  width: 12px;
  height: 12px;
}

.header-meta {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  align-items:  center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
}

.user-info {
  display: flex;
  color: var(--text-muted);
  align-items:  center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
}

.admin-tabs {
  display: flex;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 32px;
  padding: 4px;
}

.tab {
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: .875rem;
  font-weight: 600;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn {
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  border: 1px solid #0000;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 600;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px #0d948840;
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--background);
  border-color: var(--text-muted);
}

.btn-danger {
  color: var(--danger);
  background-color: #fef2f2;
  border-color: #fee2e2;
}

.btn-danger:hover {
  background-color: var(--danger);
  color: #fff;
}

.text-danger {
  color: var(--danger);
}

.text-muted {
  color: var(--text-muted);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.skeleton {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%) 0 0 / 200% 100%;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.form-group label {
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  font-size: .875rem;
}

.form-group input, .form-group textarea, .form-group select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: var(--transition);
  width: 100%;
  padding: 12px 16px;
  font-size: .95rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.modal-overlay {
  position: fixed;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  z-index: 2000;
  animation: fadeIn .2s ease-out;
  background: #0f172a99;
  justify-content: center;
  align-items:  center;
  padding: 20px;
  inset: 0;
}

.modal-backdrop {
  position: absolute;
  cursor: default;
  background: none;
  border: none;
  width: 100%;
  height: 100%;
  padding: 0;
  inset: 0;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: slideUp .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  padding: 32px;
}

.modal-content h2, .modal-content h3 {
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  animation: slideUp .4s cubic-bezier(.16, 1, .3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* src/features/artifacts/ArtifactManager.css */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.artifact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-direction: column;
}

.artifact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.artifact-preview {
  background: var(--background);
  display: flex;
  border-bottom: 1px solid var(--border);
  justify-content: center;
  align-items:  center;
  height: 180px;
}

.artifact-preview img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.no-image {
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
}

.artifact-info {
  flex: 1;
  padding: 24px;
}

.artifact-info h4 {
  color: var(--secondary);
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.artifact-info p {
  color: var(--text-muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.artifact-actions {
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
}

.file-upload-row {
  display: flex;
  align-items:  center;
  gap: 16px;
  margin-bottom: 8px;
}

.uploading-text {
  color: var(--primary);
  font-size: .875rem;
  font-weight: 600;
}

.artifact-preview-small {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  max-width: 200px;
  margin-top: 16px;
  padding: 8px;
}

.artifact-preview-small img {
  display: block;
  border-radius: 2px;
  max-width: 100%;
}

/* src/features/auth/AuthView.css */
.login-container {
  display: flex;
  background-color: var(--background);
  justify-content: center;
  align-items:  center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: slideUp .4s cubic-bezier(.16, 1, .3, 1);
  width: 100%;
  max-width: 400px;
  padding: 40px;
}

.login-card h1 {
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.75rem;
  font-weight: 800;
}

.login-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 500;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
}

.login-form input {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  transition: var(--transition);
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.login-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-full {
  width: 100%;
}

.btn-switch-mode {
  margin-top: 10px;
  font-size: .85rem;
}

/* src/features/capers/CaperList.css */
.view-actions {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 20px;
  margin-bottom: 32px;
}

.filter-bar {
  flex: 1;
}

.search-input {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  align-items:  center;
  max-width: 400px;
  height: 48px;
  padding: 0 16px;
}

.search-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-input input {
  outline: none;
  color: var(--text);
  background: none;
  border: none;
  flex: 1;
  padding: 12px;
  font-size: .95rem;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.empty-state {
  display: flex;
  text-align: center;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  padding: 64px;
}

.empty-state h3 {
  color: var(--secondary);
  margin: 24px 0 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.caper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.caper-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  background: var(--background);
  position: relative;
  display: flex;
  justify-content: center;
  align-items:  center;
  height: 160px;
}

.media-placeholder {
  display: flex;
  color: var(--text-muted);
  flex-direction: column;
  align-items:  center;
  gap: 8px;
}

.media-placeholder span {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  font-weight: 700;
}

.card-badges {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items:  flex-end;
  gap: 8px;
  top: 12px;
  right: 12px;
}

.card-badge {
  backdrop-filter: blur(4px);
  color: var(--primary);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  background: #ffffffe6;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 700;
}

.card-badge.draft {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.card-badge.generating {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.card-badge.failed {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.generating-indicator {
  display: flex;
  color: var(--primary);
  align-items:  center;
  gap: 8px;
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 700;
}

.btn-icon.primary:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.caper-skeleton {
  height: 240px;
}

.caper-card .card-content {
  flex: 1;
  padding: 24px;
}

.caper-card h3 {
  color: var(--secondary);
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.teaser {
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin-bottom: 24px;
  font-size: .875rem;
  line-height: 1.5;
}

.card-meta {
  display: flex;
  gap: 16px;
}

.meta-item {
  display: flex;
  color: var(--text-muted);
  align-items:  center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
}

.card-actions {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
}

.btn-icon {
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  transition: var(--transition);
  background: none;
  border: none;
  justify-content: center;
  align-items:  center;
  width: 36px;
  height: 36px;
}

.btn-icon:hover {
  background: var(--background);
  color: var(--primary);
}

.btn-icon.danger:hover {
  color: var(--danger);
  background: #fef2f2;
}

/* ../../packages/ui/CitySearch.css */
.city-search-container {
  position: relative;
  width: 100%;
}

.city-search-input {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  transition: var(--transition);
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
}

.city-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.city-search-dropdown {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  overflow-y: auto;
  animation: slideDown .2s ease-out;
  max-height: 240px;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
}

.city-search-option {
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.city-search-option:last-child {
  border-bottom: none;
}

.city-search-option:hover {
  background: var(--primary-light);
}

.city-search-option-main {
  color: var(--text);
  font-weight: 600;
}

.city-search-option-sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: .75rem;
}

.city-search-option.disabled {
  color: var(--text-muted);
  cursor: default;
  text-align: center;
  padding: 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* src/features/capers/GenerateModal.css */
.modal-content p.muted {
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: .95rem;
}

.async-notice {
  display: flex;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--primary);
  align-items:  center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 600;
}

/* ../../packages/ui/LeafletMap.css */
.leaflet-map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* src/features/capers/MapPicker.css */
.map-picker-container {
  border-radius: var(--border-radius);
  z-index: 1;
  background: #f0f0f0;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

/* src/features/capers/CaperEditor.css */
.wizard-container {
  position: fixed;
  background: var(--background);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  inset: 0;
}

.wizard-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items:  center;
  padding: 20px 40px;
}

.wizard-actions {
  display: flex;
  align-items:  center;
  gap: 16px;
}

.save-indicator {
  transition: var(--transition);
  font-size: .8rem;
  font-weight: 500;
}

.save-indicator.saving {
  color: var(--primary);
  animation: pulse 1.5s infinite;
}

.save-indicator.saved {
  color: var(--success);
  opacity: .7;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.stepper {
  display: flex;
  gap: 40px;
}

.step-item {
  display: flex;
  color: var(--text-muted);
  align-items:  center;
  gap: 10px;
  font-weight: 500;
}

.step-item.active {
  color: var(--primary);
}

.step-item.completed {
  color: var(--success);
}

.step-num {
  display: flex;
  border: 2px solid;
  border-radius: 14px;
  justify-content: center;
  align-items:  center;
  width: 28px;
  height: 28px;
  font-size: .85rem;
}

.step-item.completed .step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.btn-close {
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 2rem;
}

.wizard-content {
  overflow-y: auto;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.step-view {
  max-width: 800px;
  margin: 0 auto;
}

.city-search {
  position: relative;
}

.city-dropdown {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 10;
  overflow-y: auto;
  max-height: 200px;
  top: 100%;
  left: 0;
  right: 0;
}

.city-option {
  cursor: pointer;
  padding: 10px 15px;
  font-size: .9rem;
}

.city-option:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.city-option.disabled {
  color: var(--text-muted);
  cursor: default;
}

.view-header {
  margin-bottom: 30px;
}

.view-header h3 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.route-view {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
  max-width: 100%;
  height: 100%;
}

.route-sidebar {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 20px;
}

.draft-poi-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.draft-poi-item {
  display: flex;
  background: var(--background);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items:  center;
  gap: 12px;
  padding: 10px;
}

.draft-poi-item.draggable {
  cursor: grab;
}

.draft-poi-item.dragging {
  opacity: .5;
  background: var(--border);
  border-style: dashed;
}

.drag-handle {
  color: var(--text-muted);
  -webkit-user-select: none;
  user-select: none;
  font-size: 1.2rem;
  line-height: 1;
}

.poi-num {
  background: var(--primary);
  color: #fff;
  display: flex;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 20px;
  height: 20px;
  font-size: .7rem;
}

.poi-title-edit {
  background: none;
  border: none;
  flex: 1;
  padding: 4px;
  font-weight: 500;
}

.btn-remove {
  color: var(--danger);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
}

.map-container-large {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 600px;
}

.map-hint {
  position: absolute;
  color: #fff;
  pointer-events: none;
  z-index: 1000;
  background: #0f172acc;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: .85rem;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.challenge-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.challenge-card.collapsed .card-header {
  cursor: pointer;
  border-bottom: none;
}

.challenge-card.collapsed .card-header:hover {
  background: var(--primary-light);
}

.header-main {
  display: flex;
  align-items:  center;
  gap: 12px;
}

.accordion-icon {
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 300;
}

.card-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items:  center;
  gap: 12px;
  padding: 15px;
}

.poi-badge {
  text-transform: uppercase;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
}

.challenge-header-btn {
  text-align: left;
  display: flex;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: space-between;
  align-items:  center;
  width: 100%;
  padding: 0;
}

.card-body {
  padding: 20px;
}

.mcq-fields {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--primary);
  margin-bottom: 15px;
  padding: 15px;
}

.review-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.summary-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 25px;
}

.summary-meta {
  display: flex;
  color: var(--text-muted);
  gap: 20px;
  margin-top: 15px;
  font-size: .9rem;
}

.poi-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.poi-mini-item {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: .85rem;
}

.alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 500;
}

.alert-warning {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.alert-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.wizard-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}

.animate-fade-in {
  animation: fadeIn .3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.editor-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items:  start;
  gap: 32px;
}

@media (max-width: 1000px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
}

.view-header-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 24px;
}

.view-header-row h2 {
  margin: 0;
}

.poi-view {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 32px;
}

.poi-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 24px;
}

.poi-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poi-item {
  display: flex;
  background: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  gap: 16px;
  padding: 16px;
}

.poi-order {
  background: var(--secondary);
  color: #fff;
  display: flex;
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 24px;
  height: 24px;
  font-size: .8rem;
  font-weight: 700;
}

.poi-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.poi-info p {
  color: var(--text-muted);
  margin: 0;
  font-size: .85rem;
}

.poi-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.wizard-loading {
  display: flex;
  color: var(--text-muted);
  justify-content: center;
  align-items:  center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
}

.wizard-saving-overlay {
  position: absolute;
  z-index: 1000;
  display: flex;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #fffc;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

@media (prefers-color-scheme: dark) {
  .wizard-saving-overlay {
    background: #000c;
  }
}

/* src/features/dashboard/Dashboard.css */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stats-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.dashboard-skeleton {
  height: 140px;
}

.stats-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
}

.icon-box {
  display: flex;
  border-radius: 12px;
  justify-content: center;
  align-items:  center;
  width: 44px;
  height: 44px;
}

.icon-box.teal {
  color: #0d9488;
  background: #f0fdfa;
}

.icon-box.blue {
  color: #2563eb;
  background: #eff6ff;
}

.icon-box.purple {
  color: #9333ea;
  background: #faf5ff;
}

.icon-box.orange {
  color: #ea580c;
  background: #fff7ed;
}

.trend-badge {
  display: flex;
  color: #166534;
  background: #f0fdf4;
  border-radius: 100px;
  align-items:  center;
  gap: 4px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
}

.stats-label {
  display: block;
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 600;
}

.stats-value {
  display: block;
  letter-spacing: -.025em;
  color: var(--secondary);
  font-size: 1.75rem;
  font-weight: 800;
}

.dashboard-content {
  max-width: 600px;
}

.content-card {
  padding: 24px;
}

.content-card h3 {
  margin: 0;
  font-size: 1rem;
}

.status-indicator {
  border-radius: 100px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 600;
}

.status-indicator.online {
  color: #166534;
  background: #f0fdf4;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.status-item {
  display: flex;
  color: var(--text-muted);
  justify-content: space-between;
  align-items:  center;
  font-size: .875rem;
}

.status-dot {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 4px #dcfce7;
}

/* src/components/ui/Table.css */
.admin-table-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.admin-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.admin-table th {
  background: var(--background);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: .05em;
  font-size: .75rem;
  font-weight: 700;
}

.admin-table td {
  font-size: .95rem;
}

.admin-table tr:hover td {
  background: #fcfdfe;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* src/features/reviews/ReviewList.css */
.comment-cell {
  color: var(--text);
  max-width: 400px;
  font-size: .95rem;
}
