/* Staff Strength public page (pages/view/ForestForce_StaffStrength) */

#staffStrengthApp {
  max-width: 1100px;
  margin: 0 auto;
  font-family: inherit;
}

#staffStrengthApp .ss-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  margin: 0 0 16px;
}

#staffStrengthApp .ss-table-scroll {
  overflow-x: auto;
  width: 100%;
}

#staffStrengthApp table.ss-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}

#staffStrengthApp table.ss-table th,
#staffStrengthApp table.ss-table td {
  border: 1px solid #d9d9d9;
  padding: 10px 14px;
  text-align: left;
  font-size: 15px;
  color: #262626;
}

#staffStrengthApp table.ss-table thead th {
  background: #f2f2f2;
  font-weight: 700;
}

#staffStrengthApp table.ss-table tbody tr:nth-child(even) {
  background: #fafafa;
}

#staffStrengthApp .ss-service-link {
  background: none;
  border: none;
  padding: 0;
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
}

#staffStrengthApp .ss-service-link:hover {
  color: #0d321f;
}

#staffStrengthApp .ss-total-row td {
  font-weight: 700;
}

#staffStrengthApp .ss-total-label,
#staffStrengthApp .ss-total-row .ss-total-value {
  color: #c1121f;
}

#staffStrengthApp .ss-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

#staffStrengthApp .ss-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #15803d;
  background: #fff;
  color: #15803d;
  font-weight: 600;
  cursor: pointer;
}

#staffStrengthApp .ss-back-btn:hover {
  background: #15803d;
  color: #fff;
}

#staffStrengthApp .ss-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#staffStrengthApp .ss-filter-group label {
  font-weight: 600;
  color: #333;
}

#staffStrengthApp .ss-filter-group select {
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #c9c9c9;
  min-width: 260px;
  font-size: 14px;
}

#staffStrengthApp .ss-empty {
  padding: 20px;
  text-align: center;
  color: #777;
}

#staffStrengthApp .ss-view {
  display: none;
}

#staffStrengthApp .ss-view.ss-view-active {
  display: block;
}

@media (max-width: 576px) {
  #staffStrengthApp table.ss-table th,
  #staffStrengthApp table.ss-table td {
    font-size: 13px;
    padding: 8px 10px;
  }

  #staffStrengthApp .ss-filter-group select {
    min-width: 0;
    flex: 1;
  }
}
