/* staffmap.css (updated to remove cursor: pointer from th) */
:root {
  --primary-color: #C5215D;
  --secondary-color: #6c757d;
  --text-color: #212529;
  --border-color: #dee2e6;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  background-image: url("bg.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px; /* Reduced base font size for mobile */
  font-weight: 500;
}



#mainContainer {
  display: flex;
  height: 600px;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 10px; /* Reduced margin for smaller screens */
  flex-direction: row; /* Default for larger screens */
}

#selectorsContainer {
  width: 300px;
  display: flex;
  flex-direction: column;
  background: white;
  padding: 15px; /* Reduced padding */
  box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.selector-header {
  font-weight: 600;
  margin-bottom: 8px; /* Reduced margin */
  color: var(--secondary-color);
  font-size: 16px; /* Adjusted font size */
}

#hubSelector {
  flex: 1;
  overflow-y: hidden; /* Changed to auto for better scrolling */
}

#hubSelect {
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 8px; /* Reduced padding */
  background: white;
  font-size: 16px; /* Adjusted font size */
}

#suburbSelectorContainer {
  margin-top: 15px; /* Reduced margin */
  padding-top: 15px; /* Reduced padding */
  border-top: 1px solid var(--border-color);
}

#hubModeSelector {
  margin-top: 12px;
  padding: 0px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: row; /* Change from column to row */
  gap: 15px; /* Increase gap for side-by-side spacing */
}

.mode-label {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.mode-label input[type="radio"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#suburbSearch {
  width: 100%;
  padding: 8px; /* Reduced padding */
  font-size: 16px; /* Adjusted font size */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-sizing: border-box;
  transition: var(--transition);
}

#suburbSearch:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(92, 158, 173, 0.1);
}

.reset-group {
  justify-content: center;
}

#resetButton {
  padding: 8px 16px; /* Reduced padding */
  background: #c5215d;
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 16px; /* Adjusted font size */
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

#resetButton:hover {
  background: #321f74;
}

#loadingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.65);   /* slightly lower opacity works better with blur */
  backdrop-filter: blur(12px);              /* Gaussian blur */
  -webkit-backdrop-filter: blur(12px);      /* Safari support */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 1.5s ease; /* Added for fade-out effect */
  
}

#loadingOverlay.fade-out {
  opacity: 0;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite; /* Vendor prefix for compatibility */
  transform-origin: 50% 50%; /* Ensure it spins in place */
  will-change: transform; /* Performance hint for browsers */
}

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

/* Vendor-prefixed keyframes for older browsers */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

.main-text {
  font-size: 16px; /* Adjusted */
  font-weight: 600;
}

.small-text {
  font-size: 10px; /* Adjusted */
  opacity: 0.85;
}

.suburb-dropdown {
  position: absolute;
  background: white;
  border: 1px solid var(--border-color);
  max-height: 200px;
  overflow-y: auto;
  width: calc(100% - 30px); /* Adjusted for padding */
  z-index: 1000;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  display: none;
  margin-top: 5px;
}

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

.suburb-dropdown-item {
  padding: 8px 12px; /* Reduced padding */
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  font-size: 16px; /* Adjusted font size */
}

.suburb-dropdown-item:last-child {
  border-bottom: none;
}

.suburb-dropdown-item:hover {
  background-color: #f8f9fa;
}

.suburb-dropdown-item.selected {
  background-color: var(--primary-color);
  color: white;
}

#clearSuburb {
  width: 100%;
  padding: 8px; /* Reduced padding */
  background: #C5215D;
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 16px; /* Adjusted font size */
  margin-top: 8px; /* Reduced margin */
  transition: var(--transition);
}

#clearSuburb:hover {
  background: #321f74;
}

#clearSuburb:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#mapContainer {
  flex: 1;
}

#map {
  height: 100%;
}

#controls {
  display: flex;
  flex-direction: row; /* Default */
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: space-between;
  padding: 10px 15px; /* Reduced padding */
  background: white;
  margin: 0 10px; /* Reduced margin */
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.control-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px; /* Space between groups when wrapped */
}

.control-header {
  font-weight: 600;
  margin-bottom: 8px; /* Reduced */
  color: var(--secondary-color);
  font-size: 16px; /* Adjusted */
  margin-left: 20px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for many checkboxes */
  gap: 10px; /* Reduced gap */
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 16px; /* Adjusted */
  cursor: pointer;
}

.checkbox-group input {
  margin-right: 5px;
  width: 18px; /* Slightly reduced */
  height: 18px;
}

#distanceSelect {
  padding: 8px; /* Reduced */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  font-size: 16px; /* Adjusted */
  cursor: pointer;
  transition: var(--transition);
}

#distanceSelect:focus {
  outline: none;
  border-color: var(--primary-color);
}

#periodNav {
  text-align: center;
  margin: 0; /* Remove all margin for clean center alignment */
}

#periodNav button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px; /* Reduced */
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px; /* Adjusted */
}

#periodNav button:hover {
  background: #321F74;
}

#periodNav span {
  margin: 0 10px; /* Reduced */
  font-weight: 600;
  font-size: 16px; /* Adjusted */
}

#rosterControls {
  display: flex;
  flex-direction: row; /* Default */
  flex-wrap: wrap;
  justify-content: center; /* Changed from space-between to center */
  align-items: center; /* Center items vertically */
  gap: 20px; /* Add gap between items */
  padding: 20px 25px; /* Reduced */
  background: white;
  margin: 0 10px; /* Reduced */
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative; /* Added for absolute positioning */
}

#rosterControls .control-group {
  display: flex;
  align-items: center; /* Fixed invalid 'left' value to 'center' for better alignment */
  gap: 8px; /* Reduced */
  margin-bottom: 0; /* Reset for inline layout */
}

#rosterControls .control-group:last-child {
  position: absolute; /* Position the last control group absolutely */
  right: 15px; /* Align to right, matching padding */
  top: 50%; /* Vertical center */
  transform: translateY(-50%); /* Vertical center adjustment */
}

#organiseByGroup {
  position: absolute; /* Position on the left */
  left: 15px; /* Align to left */
  top: 50%; /* Vertical center */
  transform: translateY(-50%); /* Vertical center adjustment */
}

#organiseByGroup label {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 16px;
  margin-right: 8px;
}

#organiseBySelect {
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 150px;
}

#organiseBySelect:focus {
  outline: none;
  border-color: var(--primary-color);
}

#rosterControls label {
  display: flex;
  align-items: center;
  font-size: 16px; /* Adjusted */
}

#rosterControls input[type="checkbox"] {
  margin-right: 5px;
  width: 18px;
  height: 18px;
}

#rosterControls input[type="date"] {
  padding: 6px; /* Reduced */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px; /* Adjusted */
}

#sortSelect {
  padding: 8px; /* Reduced */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  font-size: 16px; /* Adjusted */
  cursor: pointer;
  width: 100%;
  /* Make it look like a compact dropdown */
  height: auto;
  max-height: 200px; /* Limit height when expanded */
  overflow-y: auto;
}

#sortSelect:not([size]) {
  height: 38px; /* Compact single-line height when closed */
}

#selectedHubsDisplay {
  margin-top: 8px;
  font-size: 14px;
  color: #6c757d;
  font-style: italic;
  min-height: 20px;
  line-height: 1.4;
}

#tableContainer {
  margin: 10px; /* Reduced */
  overflow-x: auto;
  max-height: 800px; /* Reduced max height for mobile */
  overflow-y: auto;
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th, td {
  border: 1px solid var(--border-color);
  padding: 3px 5px; /* Reduced padding */
  text-align: center;
  white-space: nowrap;
  font-size: 16px; /* Adjusted */
}

th {
  background: #f1f3f5;
  position: sticky;
  top: -1px;
  z-index: 1;
  font-weight: 600;
  border-top: none;
}

th:first-child, td:first-child {
  position: sticky;
  left: -1px;
  z-index: 2;
  background: white;
  border-left: none;
}

th:first-child {
  background: #f1f3f5;
  z-index: 3;
  border-top: none;
  border-left: none;
}

tr:hover {
  background-color: #f8f9fa;
}

.gender-female {
  background: #ffe5f1;
  color: #d63384;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.gender-male {
  background: #e0f2ff;
  color: #0d6efd;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.gender-other {
  background: #f0f0f0;
  color: #6c757d;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Highlighting styles for selected staff */
#staffTable tr.selected td:first-child.highlighted {
  background-color: #3f14d533 !important;
  transition: background-color 0.3s ease;
}

#staffTable tr.selected:hover td:first-child.highlighted {
  background-color: #3f14d55e !important; /* Slightly darker on hover */
}

/* Info popup styles */
.info {
  cursor: help;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-left: 2px;
  font-size: 20px !IMPORTANT;
}

.info::after {
  content: attr(data-info);
  position: absolute;
  bottom: 20px; /* Position above the ? */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  white-space: normal;
  width: 200px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  text-align: center;
}

.info:hover::after {
  opacity: 1;
  visibility: visible;
}

.info::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.info:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Info popup styles for right corner */
.info2 {
  cursor: help;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-left: 2px;
  font-size: 20px !IMPORTANT;
}

.info2::after {
  content: attr(data-info);
  position: absolute;
  bottom: -30px; /* Position above the ? */
  left: -130px;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  white-space: normal;
  width: 200px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  text-align: center;
}

.info2:hover::after {
  opacity: 1;
  visibility: visible;
}

.info2::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.info2:hover::before {
  opacity: 1;
  visibility: visible;
}


/* Info popup styles for left corner */
.info3 {
  cursor: help;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-left: 2px;
  font-size: 20px !IMPORTANT;
}

.info3::after {
  content: attr(data-info);
  position: absolute;
  bottom: -100px; /* Position above the ? */
  left: 110px;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  white-space: normal;
  width: 200px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  text-align: center;
}

.info3:hover::after {
  opacity: 1;
  visibility: visible;
}

.info3::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.info3:hover::before {
  opacity: 1;
  visibility: visible;
}

/* ============================================================================
   Tips visibility control – with reserved space (no layout shift)
   ============================================================================ */

.tips-toggle {
  padding: 12px 0 16px 0;
  font-weight: 600;
  color: #444;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
  margin-left: 100px;
  
}

.tips-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

#showTips {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ── Base styles for all info elements ── */
.info,
.info2,
.info3 {
  /* Always take up space – prevents jump */
  display: inline-block;
  width: 1.1em;              /* ≈ width of ﹖ character + comfortable padding */
  height: 1.1em;             /* same height */
  line-height: 1;            /* tight vertical fit */
  text-align: center;
  margin-left: 2px;
  margin-right: 1px;         /* optional – prevents crowding next word */
  
  /* Visuals when visible */
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 20px;
  cursor: help;
  position: relative;
  
  /* Hidden state */
  color: transparent;               /* makes ? invisible but space remains */
  pointer-events: none;             /* no hover/interaction when hidden */
  user-select: none;
}

/* When checkbox is checked → make visible and interactive */
body:has(#showTips:checked) .info,
body:has(#showTips:checked) .info2,
body:has(#showTips:checked) .info3 {
  color: var(--secondary-color);    /* restore color */
  pointer-events: auto;             /* allow hover */
}

/* Keep your existing tooltip popup styles (they only activate on hover) */
.info::after,
.info2::after,
.info3::after {
  /* your existing tooltip content, position, etc. */
  /* ... unchanged ... */
}

.info:hover::after,
.info2:hover::after,
.info3:hover::after {
  /* your existing show-on-hover rules */
  /* ... unchanged ... */
}

/* Media query adjustments (optional - just to make sure it looks good on mobile) */
@media (max-width: 768px) {
  .tips-toggle {
    padding: 10px 0 14px 0;
    font-size: 14px;
  }
  
  .tips-toggle label {
    font-size: 14px;
  }
}



/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    font-size: 14px; /* Smaller base font for mobile */
  }

  #mainContainer {
    flex-direction: column; /* Stack selectors and map vertically */
    height: auto; /* Remove fixed height */
  }

  #selectorsContainer {
    width: 100%; /* Full width */
    padding: 10px;
    box-shadow: none; /* Remove side shadow */
    border-bottom: 1px solid var(--border-color);
  }

  #hubSelect {
    height: 200px; /* Fixed height for selector on mobile */
    font-size: 14px;
  }

  #suburbSearch {
    font-size: 14px;
  }

  .suburb-dropdown {
    width: calc(100% - 20px); /* Adjust for mobile */
  }

  .suburb-dropdown-item {
    font-size: 14px;
  }

  #clearSuburb {
    font-size: 14px;
  }

  #mapContainer {
    height: 400px; /* Reduced map height for mobile */
  }

  #controls {
    flex-direction: column; /* Stack controls vertically */
    padding: 10px;
    margin: 0 10px;
  }

  .control-group {
    width: 100%; /* Full width */
    margin-bottom: 15px;
  }

  .checkbox-group {
    flex-direction: column; /* Stack checkboxes vertically */
    gap: 8px;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  #distanceSelect {
    font-size: 14px;
  }

  #rosterControls {
    flex-direction: column; /* Stack roster controls */
    padding: 10px;
    margin: 0 10px;
  }

  #lastUpdatedInfo {
    margin: 0 10px 10px 10px;
    font-size: 12px;
  }

  #rosterControls .control-group {
    width: 100%;
    margin-bottom: 15px;
    position: static; /* Reset absolute positioning for mobile */
    transform: none; /* Reset transform for mobile */
  }

  #rosterControls .control-group:last-child {
    position: static; /* Reset absolute positioning for mobile */
    transform: none; /* Reset transform for mobile */
  }

  #organiseByGroup {
    position: static; /* Reset absolute positioning for mobile */
    transform: none; /* Reset transform for mobile */
  }

  #periodNav span {
    font-size: 14px;
  }

  #periodNav button {
    font-size: 14px;
  }

  #sortSelect {
    font-size: 14px;
  }

  #rosterControls label {
    font-size: 14px;
  }

  #tableContainer {
    max-height: none; /* Allow natural height on mobile */
  }

  th, td {
    font-size: 14px;
    padding: 4px 8px; /* Further reduced for mobile */
  }

  /* Make table cells wrap text if needed */
  td {
    white-space: normal;
    word-wrap: break-word;
  }

  .info::after {
    width: 180px; /* Slightly smaller for mobile */
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* Additional adjustments for very small screens */
  #mapContainer {
    height: 300px;
  }

  #resetButton {
    font-size: 14px;
  }

  .main-text {
    font-size: 14px;
  }

  .small-text {
    font-size: 9px;
  }

  .info::after {
    width: 160px;
    font-size: 12px;
  }
}


/* ── Virtual Job Time Availability Filter ── */
  /* Updated staffmap.css */

/* ... (keep all existing CSS rules) ... */

/* Adjustments for rosterFilterGroup layout */
#rosterFilterGroup {
  display: flex;
  flex-direction: column;
  gap: 5px; /* Small gap to minimize height */
  align-items: flex-end; /* Align children to the right */
  flex-wrap: nowrap;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0; /* Remove any margins to keep it compact */
  padding: 0; /* Remove padding */
}

/* Override last-child absolute positioning to avoid conflict */
#rosterControls .control-group:last-child {
  position: static;
  transform: none;
}

/* Minimize gaps in availableForTimeGroup */
#availableForTimeGroup {
  gap: 3px; /* Smaller gap */
  margin: 0;
  padding: 0;
}

/* Minimize gaps in virtualJobTimeSelectors and prevent wrapping */
#virtualJobTimeSelectors {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* Prevent wrapping to keep on same line */
  gap: 5px; /* Smaller gap */
  margin-top: 2px; /* Smaller margin */
}

/* Ensure control-groups in rosterFilterGroup are compact */
#rosterFilterGroup .control-group {
  margin-bottom: 0;
  gap: 3px; /* Add small gap if needed for column items */
}

/* Update time-range-label to put label and select on same line */
.time-range-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px; /* Small gap between label and select */
  font-size: 13px;
  font-weight: 600;
  color: #321f74;
  white-space: nowrap; /* Prevent label text from wrapping */
}

/* Reduce min-width of selects if needed to fit better */
.time-select {
  min-width: 80px; /* Slightly reduced to help fit on one line */
}

/* Media query adjustments remain the same, but add mobile-specific tweaks if needed */
@media (max-width: 768px) {
  #rosterFilterGroup {
    position: static;
    transform: none;
    align-items: center; /* Center on mobile for better usability */
    gap: 10px; /* Slightly larger on mobile for touch */
  }

  #virtualJobTimeSelectors {
    flex-wrap: wrap; /* Allow wrapping on very small screens */
  }
}
/* ─────────────────────────────────────────────── */
/* STAFF HEADER 2×2 GRID LAYOUT                     */
/* ─────────────────────────────────────────────── */

.staff-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px 1px;
  align-items: center;
  padding: 4px 0;
}

.staff-header-cell {
 /* display: flex; */
  align-items: center;
  gap: 6px;
}

/* Left column cells — left-aligned */
.staff-found-cell,
.staff-selectall-cell {
  justify-content: flex-start;
}

/* Right column cells — right-aligned */
.staff-copy-cell,
.staff-sms-cell {
  justify-content: flex-end;
}

/* Send Staff TXT button in the grid */
#sendStaffTxtBtn {
  display: inline-block;
  margin: 0;
  padding: 4px 8px;
  background: #C5215D;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

#sendStaffTxtBtn:hover {
  background: #9d1a4a;
}

@media (max-width: 640px) {
  .staff-header-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .staff-copy-cell,
  .staff-sms-cell {
    justify-content: flex-start;
  }
}