:root {
  --brilliant-green: #D7FB59;
  --union-black: #000000;
  --union-white: #ffffff;
  --union-red: #EF3955;
  --union-aqua: #7CF9CB;
  --union-fuscia: #EA46E5;
  --union-blue: #83B0FF;
  --union-orange: #F36D21;
  --union-lilac: #D4BAF9;
  
  --background: #fafafa;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-light: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  
  --success-green: #22c55e;
  --warning-orange: #f59e0b;
  --error-red: #ef4444;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.header {
  background: var(--union-white);
  border-bottom: 3px solid var(--brilliant-green);
  padding: 1rem 0;
  position: static;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.union-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--union-black);
  letter-spacing: -0.02em;
}

.page-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border-light);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.location-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--brilliant-green);
  border-radius: 8px;
  background: var(--union-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.location-select:hover {
  background: var(--brilliant-green);
  color: var(--union-black);
}

.current-time {
  background: var(--union-black);
  color: var(--brilliant-green);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Changed from: 2fr 1fr */
  gap: 2rem;
  min-height: calc(100vh - 120px);
}

.staff-rota-section {
  background: var(--union-white);
  border-radius: 12px;
  border: 3px solid var(--union-black);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
}

.section-header {
  background: var(--union-black);
  color: var(--brilliant-green);
  padding: 1.5rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  opacity: 0.9;
  margin: 0;
}

.section-content {
  padding: 1.5rem;
}

.search-interface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.search-input, .search-select {
  padding: 0.75rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.search-input:focus, .search-select:focus {
  outline: none;
  border-color: var(--brilliant-green);
  box-shadow: 0 0 0 3px rgba(215, 251, 89, 0.2);
}

.results-area {
  background: #f8f9fa;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  min-height: 400px;
}

.results-placeholder {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem;
}

.placeholder-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.results-placeholder h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* NEW: Mobile-First Staff Schedule Styles */
.staff-schedule {
  padding: 1rem;
}

.staff-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.current-status {
  background: var(--success-green);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.current-status.off {
  background: #8e8e93;
}

.status-time {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.schedule-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--border-light);
  background: white;
}

.schedule-item.active {
  background: #e8f5e8;
  border-left-color: var(--success-green);
  font-weight: 600;
}

.schedule-item.complete {
  opacity: 0.6;
  background: #f8f8f8;
  border-left-color: var(--success-green);
}

.schedule-item.upcoming {
  background: white;
  border-left-color: var(--union-blue);
}

.time-slot {
  font-size: 1rem;
  font-weight: 600;
  min-width: 100px;
  color: var(--text-secondary);
}

.task-name {
  flex: 1;
  margin-left: 1rem;
  font-size: 1rem;
}

.status-badge {
  background: var(--success-green);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completed {
  background: #8e8e93;
}

.status-badge.next {
  background: var(--union-blue);
}

.status-badge.active {
  background: var(--success-green);
}

/* Legacy table styles - keep for location staff display */
.schedule-table {
  background: var(--union-white);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-header {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--brilliant-green);
  color: var(--union-black);
  font-weight: 700;
}

.schedule-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: all 0.3s ease;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row.active {
  background: rgba(215, 251, 89, 0.2);
  border-left: 4px solid var(--brilliant-green);
  box-shadow: 0 2px 8px rgba(215, 251, 89, 0.3);
  transform: translateX(2px);
}

.schedule-row.active .status-active {
  background: var(--brilliant-green);
  color: var(--union-black);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

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

.status-active {
  color: var(--success-green);
  font-weight: 700;
  animation: pulse 2s infinite;
}

.status-upcoming {
  color: var(--warning-orange);
  font-weight: 600;
}

.status-complete {
  color: var(--text-secondary);
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.staff-item {
  background: var(--union-white);
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.staff-item.clickable {
  cursor: pointer;
}

.staff-item.clickable:hover {
  border-left-color: var(--brilliant-green);
  transform: translateX(4px);
}

.staff-item .status-active {
  border-left-color: var(--success-green);
}

.staff-item .status-off-shift {
  color: var(--text-secondary);
}

.staff-info strong {
  display: block;
  margin-bottom: 0.25rem;
}

.staff-info small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.no-results {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.stallholder-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stallholder-card {
  background: var(--union-white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.stallholder-header {
  background: var(--brilliant-green);
  color: var(--union-black);
  padding: 1rem;
  text-align: center;
}

.stallholder-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stallholder-header p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.stallholder-content {
  padding: 1rem;
}

.stallholder-search {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: inherit;
}

.stallholder-search:focus {
  outline: none;
  border-color: var(--brilliant-green);
}

.stallholder-actions {
  margin-bottom: 1rem;
}

.stallholder-results {
  min-height: 200px;
}

.stallholder-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stallholder-item {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  border-left: 3px solid var(--brilliant-green);
  cursor: pointer;
  transition: all 0.2s ease;
}

.stallholder-item:hover {
  background: var(--union-white);
  transform: translateX(4px);
}

.stallholder-info strong {
  display: block;
  margin-bottom: 0.25rem;
}

.stallholder-info small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.stallholder-grid {
  background: var(--union-white);
  border-radius: 8px;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

.grid-header {
  display: grid;
  grid-template-columns: 2fr 80px 1fr;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--union-black);
  color: var(--brilliant-green);
  font-weight: 700;
  position: sticky;
  top: 0;
}

.stallholder-row {
  display: grid;
  grid-template-columns: 2fr 80px 1fr;
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s ease;
}

.stallholder-row:hover {
  background: rgba(215, 251, 89, 0.1);
}

.stallholder-row:last-child {
  border-bottom: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.85rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--brilliant-green);
  border-color: var(--brilliant-green);
  color: var(--union-black);
}

.btn-primary:hover {
  background: var(--union-black);
  color: var(--brilliant-green);
}

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

.btn-secondary:hover {
  border-color: var(--brilliant-green);
  color: var(--union-black);
}

.edit-access {
  background: #f8f9fa;
  border: 2px dashed var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.edit-access p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.btn-edit {
  background: var(--warning-orange);
  color: var(--union-white);
  border: 2px solid var(--warning-orange);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-edit:hover {
  background: transparent;
  color: var(--warning-orange);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background: var(--union-white);
  border-radius: 12px;
  border: 3px solid var(--union-black);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: var(--brilliant-green);
  color: var(--union-black);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--union-black);
  padding: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 1.5rem;
}

.stall-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.info-item strong {
  color: var(--text-primary);
}

.info-item span {
  color: var(--text-secondary);
  font-weight: 600;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-light);
  border-top: 4px solid var(--union-black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading p {
  color: var(--text-secondary);
  font-weight: 600;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--union-white);
  font-weight: 600;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.toast-show {
  transform: translateX(0);
}

.toast-error {
  background: var(--error-red);
}

.toast-success {
  background: var(--success-green);
}

.toast-info {
  background: var(--union-black);
}

.fullscreen-stallholder-list {
  width: 100%;
  height: 100%;
}

.list-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--union-white);
  border-radius: 12px;
  border: 3px solid var(--union-black);
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--brilliant-green);
  border: 2px solid var(--brilliant-green);
  border-radius: 6px;
  color: var(--union-black);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.back-button:hover {
  background: var(--union-black);
  color: var(--brilliant-green);
}

.list-header h2 {
  flex: 1;
  margin: 0;
  color: var(--text-primary);
}

.list-header .search-input {
  width: 300px;
  margin: 0;
}

.stallholder-full-grid {
  background: var(--union-white);
  border-radius: 12px;
  border: 3px solid var(--union-black);
  overflow: hidden;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.stallholder-full-grid .grid-header {
  display: grid;
  grid-template-columns: 2fr 80px 1.5fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--union-black);
  color: var(--brilliant-green);
  font-weight: 700;
  position: sticky;
  top: 0;
}

.stallholder-full-row {
  display: grid;
  grid-template-columns: 2fr 80px 1.5fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s ease;
}

.stallholder-full-row:hover {
  background: rgba(215, 251, 89, 0.1);
}

.stallholder-full-row:last-child {
  border-bottom: none;
}

.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 2px solid var(--brilliant-green);
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.9rem;
  min-height: 44px;
  white-space: nowrap;
  
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(215, 251, 89, 0.3);
}

.refresh-btn:hover,
.refresh-btn:focus,
.refresh-btn:active {
  background: var(--brilliant-green);
  color: var(--union-black);
  outline: none;
  transform: scale(0.98);
}

.refresh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background: #f0f0f0;
  border-color: #ccc;
  color: #999;
}

.version-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brilliant-green);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  z-index: 50;
  border-top: 1px solid rgba(215, 251, 89, 0.2);
}

.version-info {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', monospace;
  font-weight: 500;
}

.separator {
  opacity: 0.5;
}

#appVersion {
  font-weight: 600;
  color: var(--brilliant-green);
}

#lastUpdated {
  opacity: 0.8;
  font-size: 0.7rem;
}

body {
  padding-bottom: 40px;
}

.union-logo-img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .search-interface {
    grid-template-columns: 1fr;
  }

  /* Make schedule items more touch-friendly on tablets */
  .schedule-item {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .time-slot {
    min-width: 120px;
    font-size: 1.1rem;
  }
  
  .task-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }
  
  .page-title {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
  
  .header-controls {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .main-content {
    padding: 1rem;
  }

  /* Mobile-optimized staff schedule */
  .staff-name {
    font-size: 1.75rem;
    text-align: center;
  }

  .current-status {
    padding: 1.25rem;
    font-size: 1.1rem;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .time-slot {
    min-width: auto;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--union-black);
    margin-bottom: 0.5rem;
  }

  .task-name {
    margin-left: 0;
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .status-badge {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Legacy table styles for location display */
  .schedule-header,
  .schedule-row {
    grid-template-columns: 80px 1fr 80px;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .stallholder-full-grid .grid-header,
  .stallholder-full-row {
    grid-template-columns: 1.5fr 60px 1fr 80px;
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .list-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .list-header .search-input {
    width: 100%;
  }
  
  .modal-overlay {
    padding: 1rem;
  }
  
  .toast {
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .refresh-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .version-footer {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .version-info {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .separator {
    display: none;
  }
  
  body {
    padding-bottom: 50px;
  }

@media (max-width: 480px) {
  .union-logo {
    font-size: 1.5rem;
  }
  
  .page-title {
    font-size: 1rem;
  }
  
  .section-content {
    padding: 1rem;
  }
  
  .stallholder-content {
    padding: 0.75rem;
  }

  /* Extra mobile optimization for very small screens */
  .staff-name {
    font-size: 1.5rem;
  }

  .current-status {
    padding: 1rem;
    font-size: 1rem;
  }

  .schedule-item {
    padding: 1.25rem;
  }

  .time-slot {
    font-size: 1.1rem;
  }

  .task-name {
    font-size: 1rem;
  }

  .refresh-btn span {
    display: none; /* Hide "Refresh" text on very small screens */
  }
  
  .refresh-btn {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  
/* Map Viewer Section */
.map-viewer-section {
    background: var(--union-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 1rem;
}

.map-viewer-header {
    background: var(--brilliant-green);
    color: var(--union-black);
    padding: 1rem;
    text-align: center;
}

.map-viewer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.map-viewer-content {
    padding: 1rem;
}

.map-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--union-white);
    border: 2px solid var(--brilliant-green);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.map-btn:hover {
    background: var(--brilliant-green);
    color: var(--union-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Simple Fullscreen Modal */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}

.map-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.map-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-close:hover {
    background: var(--union-red);
}

.map-section {
  background: var(--union-white);
  border-radius: 12px;
  border: 3px solid var(--union-black);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
}
}
