/* =========================
   Staff UI kit (Sushitime)
   ========================= */

/* Links */
.staff-link,
.staff-card-link {
  color: inherit;
  text-decoration: none;
}
.staff-link:hover,
.staff-card-link:hover {
  color: inherit;
  text-decoration: none;
}

/* Headings */
.staff-title {
  letter-spacing: .2px;
  margin: 0;
}
.staff-subtitle {
  color: rgba(0,0,0,.55);
  margin: 0;
}

/* Cards */
.staff-card {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease;
}
.staff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.staff-card-body { padding: 16px; }

.staff-accent { border-left: 6px solid #1fc7b6; }
.staff-warn   { border-left: 6px solid #ffc107; }

/* Icon pill */
.staff-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
  font-size: 16px;
  flex: 0 0 auto;
}
.staff-label {
  font-size: 13px;
  color: rgba(0,0,0,.65);
  letter-spacing: .2px;
}

/* Metrics */
.staff-metric {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .2px;
  margin-top: 2px;
}
.staff-subtext {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.staff-subhint {
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

/* Row list inside cards */
.staff-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.staff-row:last-child { border-bottom: none; }

/* Pills */
.staff-pill {
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,193,7,.18);
  color: rgba(0,0,0,.75);
  font-size: 12px;
  border: 1px solid rgba(255,193,7,.35);
  white-space: nowrap;
}

/* Filters card labels */
.staff-filter-card .form-label {
  font-size: 12px;
  color: rgba(0,0,0,.65);
}

/* Table wrap */
.staff-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.staff-table thead th {
  font-size: 12px;
  color: rgba(0,0,0,.65);
  letter-spacing: .2px;
  background: rgba(0,0,0,.03);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.staff-table td {
  vertical-align: middle;
}

/* Badges (soft) */
.badge-soft {
  border-radius: 999px;
  padding: .35rem .55rem;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  color: rgba(0,0,0,.75);
}
.badge-soft.success {
  background: rgba(25,135,84,.12);
  border-color: rgba(25,135,84,.22);
  color: rgba(25,135,84,.9);
}
.badge-soft.warn {
  background: rgba(255,193,7,.18);
  border-color: rgba(255,193,7,.30);
  color: rgba(0,0,0,.75);
}
.badge-soft.dark {
  background: rgba(0,0,0,.07);
  border-color: rgba(0,0,0,.12);
  color: rgba(0,0,0,.75);
}

/* Tiny buttons */
.btn.btn-xs {
  padding: .2rem .45rem;
  font-size: 12px;
  border-radius: 10px;
}

/* Pin button */
.staff-pin-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0;
}

/* Muted helpers */
.staff-muted { color: rgba(0,0,0,.55); }
.staff-small { font-size: 12px; }

/* =========================
   Added: compact controls + switch + dropdown polish
   ========================= */

.staff-field-label{
  font-size: 12px;
  color: rgba(0,0,0,.65);
  margin-bottom: 6px;
}

/* compact inputs/selects */
.staff-control{
  height: 40px;
  border-radius: 12px;
}

/* Switch (replaces huge checkbox) */
.staff-switch{
  display:flex;
  align-items:center;
  gap:10px;
  user-select:none;
  margin:0;
}
.staff-switch input{ display:none; }
.staff-switch-slider{
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  position: relative;
  transition: .15s ease;
  border: 1px solid rgba(0,0,0,.12);
}
.staff-switch-slider:after{
  content:'';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position:absolute;
  top:50%;
  left: 3px;
  transform: translateY(-50%);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  transition: .15s ease;
}
.staff-switch input:checked + .staff-switch-slider{
  background: rgba(31,199,182,.28);
  border-color: rgba(31,199,182,.35);
}
.staff-switch input:checked + .staff-switch-slider:after{
  left: 22px;
}
.staff-switch-text{
  font-size: 13px;
  color: rgba(0,0,0,.7);
}

/* "More" button */
.staff-more-btn{
  width: 38px;
  height: 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  padding: 0;
  line-height: 1;
}

/* Dropdown menu polish (Bootstrap 4/5 compatible look) */
.dropdown-menu{
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  padding: .4rem 0;
}
.dropdown-item{
  font-size: 13px;
}
.dropdown-item:active{
  background: rgba(0,0,0,.08);
  color: inherit;
}
.staff-kpi{
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: .2px;
}