@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #318CCC;
  --primary-hover: #4CA5E0;
  --bg-color: #0b0f19;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-focus: rgba(49, 140, 204, 0.4);
  --glass-glow: rgba(49, 140, 204, 0.15);
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Abstract Shifting Background Gradients (Liquid Tahoe Effect) */
body::before, body::after {
  content: '';
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  animation: floatBackground 25s infinite alternate ease-in-out;
}

body::before {
  background: radial-gradient(circle, var(--primary-color) 0%, rgba(49, 140, 204, 0) 70%);
  top: -100px;
  left: -50px;
}

body::after {
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  bottom: -100px;
  right: -50px;
  animation-delay: -10s;
}

/* Custom Float Animation */
@keyframes floatBackground {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 50px) scale(1.2);
  }
  100% {
    transform: translate(-40px, -80px) scale(0.9);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Typography & Layout Containers */
.container {
  width: 100%;
  max-width: 600px; /* Mobile-first priority */
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Desktop sizing adaptation */
@media (min-width: 1024px) {
  .container.admin-container {
    max-width: 1100px;
  }
}

/* Liquid Glass Cards */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.liquid-glass:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 40px 0 rgba(49, 140, 204, 0.18);
}

/* Header Styles */
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.header-left {
  flex: 1;
}

.header-left h1 {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 30%, #a5cdeb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
}

.header-left p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Welcome Ribbon */
.welcome-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  margin-bottom: 1rem;
}

.welcome-ribbon span {
  font-weight: 500;
}

.welcome-ribbon span strong {
  color: var(--primary-color);
}

.logout-link {
  color: var(--danger-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logout-link:hover {
  opacity: 0.8;
}

/* Interactive Admin / Login Icons */
.action-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-icon-btn:hover {
  background: rgba(49, 140, 204, 0.2);
  border-color: var(--primary-color);
  transform: rotate(15deg) scale(1.05);
}

/* Banner Component */
.banner-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16 / 4;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form Controls (Liquid Style) */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: var(--text-color);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-color);
  box-shadow: 0 0 16px var(--glass-glow);
}

.input-rp-wrapper {
  position: relative;
}

.input-rp-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--primary-color);
  pointer-events: none;
}

.input-rp-wrapper .form-control {
  padding-left: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Buttons (macOS Liquid Glass Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  width: 100%;
  text-decoration: none;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e70a6 100%);
  box-shadow: 0 4px 15px rgba(49, 140, 204, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
  box-shadow: 0 6px 20px rgba(49, 140, 204, 0.45);
  transform: translateY(-1.5px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1.5px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #f87171 0%, var(--danger-color) 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
  transform: translateY(-1.5px);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #34d399 0%, var(--success-color) 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transform: translateY(-1.5px);
}

.btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Competitor Survey Question Card Elements */
.competitor-header {
  margin-bottom: 1rem;
}

.competitor-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.competitor-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Image Capture & Upload UI */
.photo-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.photo-preview-box {
  width: 100%;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--glass-border);
  overflow: hidden;
  margin-top: 0.75rem;
  display: none; /* Shown dynamically via JS */
  position: relative;
  aspect-ratio: 4 / 3;
}

.photo-preview-box.active {
  display: block;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-remove-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(239, 68, 68, 0.85);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
  transition: transform 0.2s;
  backdrop-filter: blur(5px);
}

.photo-remove-btn:hover {
  transform: scale(1.1);
}

/* Already Submitted Status Indicator */
.submitted-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}

/* Admin Specific Dashboard Layout */
.admin-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 20px 20px;
  margin-bottom: 1.5rem;
}

.admin-nav-links {
  display: flex;
  gap: 1rem;
}

.admin-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  transition: all 0.2s;
}

.admin-nav-links a:hover, .admin-nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  padding: 1.25rem;
  text-align: center;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.metric-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Tables for Admin Results */
.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

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

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

table.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

table.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Thumbnail images inside table */
.img-thumbnail {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s;
}

.img-thumbnail:hover {
  transform: scale(1.1);
}

/* PIN Numpad Design (Tahoe Style) */
.pin-wrapper {
  max-width: 320px;
  margin: 2rem auto;
  text-align: center;
}

.pin-display {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem;
  font-size: 1.75rem;
  letter-spacing: 8px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.numpad-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.2s;
}

.numpad-btn:hover {
  background: rgba(49, 140, 204, 0.2);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.numpad-btn:active {
  transform: scale(0.95);
}

/* Toast Messages */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

.toast-success { border-color: var(--success-color); color: #34d399; }
.toast-error { border-color: var(--danger-color); color: #f87171; }

/* Dialog/Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-content {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.7);
  animation: modalScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.5rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.modal-body {
  padding: 1.5rem;
  text-align: center;
}

.modal-body img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  object-fit: contain;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: white;
}

/* User Profile Greeting */
.user-greeting {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.user-greeting strong {
  color: #fff;
}

/* Empty State Styling */
.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.empty-state svg {
  margin-bottom: 1rem;
  color: var(--primary-color);
  opacity: 0.6;
}

/* Switch styling for quick toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Multi-Area Sub-card styling */
.submission-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.submission-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.submission-details {
  flex: 1;
}

.submission-details .area-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submission-details .price-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}

.submission-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-mini {
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  border-radius: 8px;
  width: auto;
  min-width: unset;
  display: inline-flex;
}

.submission-list-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1.25rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

/* Glass Select Dropdown Styling */
select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23318CCC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  padding: 0.85rem 1rem !important;
  padding-right: 2.5rem !important;
  color: var(--text-color) !important;
  font-size: 1rem !important;
  font-family: 'Outfit', sans-serif !important;
  height: auto !important;
  min-height: 48px !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

select.form-control:focus {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 16px var(--glass-glow) !important;
}

select.form-control option {
  background-color: #0b0f19 !important;
  color: var(--text-color) !important;
}

/* ==========================================================================
   Mobile-First Responsive Layouts & Premium UI Refinements
   ========================================================================== */

/* Layout Grid for Admin Pages (Surveyors and Competitors side-by-side) */
.admin-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Glassmorphic Filter Form Grid for Dashboard */
.filter-grid-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

@media (min-width: 768px) {
  .filter-grid-form {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  }
}

@media (min-width: 1024px) {
  .admin-layout-grid {
    grid-template-columns: 1fr 2fr;
  }
}

/* Responsive Rules for Small Screens (Tablets / Large Smartphones) */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }

  .liquid-glass {
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }

  .form-control {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }

  select.form-control {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
  }

  /* Admin Header Navigation styling */
  .admin-navbar {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
    border-radius: 0 0 16px 16px;
    margin-bottom: 1.25rem;
    padding: 1rem;
  }

  .admin-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
  }

  .admin-nav-links a {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
  }

  /* Admin Dashboard Metrics Grid */
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .metric-card {
    padding: 1rem;
  }

  .metric-number {
    font-size: 1.6rem;
  }

  .metric-title {
    font-size: 0.75rem;
  }

  /* Optimize layout spacing for Surveyor page banner */
  .banner-container {
    aspect-ratio: 16 / 6;
    margin-bottom: 1.25rem;
  }

  /* Fluid and Elegant Table Rendering on Small Screens */
  table.admin-table th, table.admin-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  table.admin-table th {
    font-size: 0.75rem;
  }

  /* Ensure buttons inside tables look clean and proportional */
  table.admin-table td .btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
    width: auto !important;
    min-width: unset !important;
    display: inline-flex !important;
  }

  table.admin-table td form {
    display: inline-block;
  }

  .submission-item {
    padding: 0.6rem 0.85rem;
  }
}

/* Extra Small Screens (Smartphones <= 480px) */
@media (max-width: 480px) {
  .header-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
  }

  .header-left h1 {
    font-size: 1.2rem;
  }

  .header-left p {
    font-size: 0.8rem;
  }

  .header-right {
    width: 100%;
    justify-content: center;
  }

  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }

  /* Surveyor main camera/gallery buttons optimization */
  .photo-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Make sure inputs and buttons stack neatly */
  .btn-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

