/**
 * Staff app chrome
 * Desktop: blue nav pills in the header
 * Mobile (≤780px): same Menu drawer as manager (see admin-mobile.css)
 */

/* ---------- Desktop / tablet landscape staff nav ---------- */
@media (min-width: 781px) {
  .staff-mode .site-header {
    height: auto;
    min-height: 72px;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: nowrap;
    gap: 10px 14px;
  }

  .staff-mode .site-header .brand {
    width: auto;
    flex: 0 0 auto;
  }

  .staff-mode .site-header nav {
    width: auto;
    flex: 1 1 auto;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 8px;
    display: flex !important;
  }

  .staff-mode .site-header nav > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #0d72ad 0%, #0a5f93 55%, #08496f 100%) !important;
    color: #ffffff !important;
    border: 1px solid #063d5e !important;
    border-radius: 999px !important;
    padding: 9px 14px !important;
    min-height: 38px !important;
    text-decoration: none !important;
    font-weight: 750 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 0 #052f49, 0 6px 14px rgba(8, 73, 111, 0.22) !important;
    text-shadow: none !important;
    transform: none !important;
    transition: background 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease !important;
  }

  .staff-mode .site-header nav > a:hover {
    background: linear-gradient(180deg, #1280c0 0%, #0c6fa8 50%, #0a5f93 100%) !important;
    color: #ffffff !important;
    filter: brightness(1.04);
    box-shadow: 0 4px 0 #052f49, 0 10px 18px rgba(8, 73, 111, 0.28) !important;
    transform: translateY(-1px) !important;
  }

  .staff-mode .site-header nav > a:active {
    transform: translateY(1px) !important;
    box-shadow: 0 1px 0 #052f49, 0 2px 6px rgba(8, 73, 111, 0.2) !important;
    filter: none;
  }

  /* Hide mobile Menu button on desktop staff */
  html body.staff-mode button.mobile-menu-toggle,
  html body.staff-mode .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------- Shared (all sizes) ---------- */
.staff-mode .staff-reminders {
  display: none !important;
}

.nav-notification-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  margin-left: 6px;
  vertical-align: top;
  box-shadow: 0 0 0 2px #fff;
}

.staff-mode .nav-notification-dot {
  box-shadow: 0 0 0 2px #0a5f93;
}

.my-profile-stats > a {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.my-profile-stats > a article {
  height: 100%;
}

.my-profile-stats > a:hover strong {
  color: #08496f;
}

.my-profile-panel a:not(.button) {
  text-decoration: none;
}

.pay-entry-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0;
}

.pay-entry-summary article {
  border: 1px solid #d8e5eb;
  border-radius: 12px;
  padding: 13px;
  background: #f8fcfe;
}

.pay-entry-summary span,
.pay-entry-summary small {
  display: block;
  color: #647783;
  font-size: 12px;
}

.pay-entry-summary strong {
  font-size: 20px;
  color: #075984;
  display: block;
  margin: 4px 0;
}

.open-pay-run {
  box-shadow: 0 8px 20px rgba(12, 63, 89, 0.07);
}

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

.pay-entry-actions form {
  margin: 0;
}

.pay-entry-actions button {
  padding: 6px 9px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .pay-entry-summary {
    grid-template-columns: 1fr;
  }
}
