.service-availability-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.service-availability-heading button {
  background: #0a7f50;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 16px;
}

.service-availability-heading button:disabled {
  cursor: wait;
  opacity: .55;
}

#service-availability-status {
  color: #59636e;
  margin: 4px 0 16px;
}

.service-operational-alerts {
  align-items: flex-start;
  background: #e9f7f0;
  border: 1px solid #9ed9bc;
  border-radius: 10px;
  color: #087a4b;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 3px;
  margin: -6px 0 16px;
  padding: 11px 13px;
}

.service-operational-alerts.has-alerts {
  background: #fff4f2;
  border-color: #efb1aa;
  color: #a72920;
}

.service-operational-alerts.has-changes {
  box-shadow: 0 0 0 3px #f4c95d55;
}

.service-operational-alerts.attention-focus {
  box-shadow: 0 0 0 4px #e1a70c66;
}

.supervision-alert-bell {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dee3;
  border-radius: 999px;
  box-shadow: 0 4px 14px #0002;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 154px;
  top: 17px;
  width: 42px;
  z-index: 1100;
}

.supervision-alert-bell.has-alerts {
  border-color: #e29a91;
}

.supervision-alert-bell-icon {
  font-size: 18px;
  line-height: 1;
}

.supervision-alert-badge {
  align-items: center;
  background: #c83228;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 3px;
  position: absolute;
  right: -7px;
  top: -7px;
}

.supervision-alert-bell.new-change {
  animation: alert-bell-pulse .7s ease-in-out 2;
}

@keyframes alert-bell-pulse {
  50% { transform: scale(1.16) rotate(-8deg); }
}

@media (max-width: 680px) {
  .supervision-alert-bell {
    right: 132px;
  }
}

.service-availability-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-availability-row {
  align-items: center;
  border: 1px solid #e2e7eb;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px;
}

.service-availability-row.no-technician {
  background: #fff7f7;
  border-color: #e3a0a0;
}

.service-availability-row strong,
.service-availability-row small {
  display: block;
}

.service-staff-warning {
  color: #b42318 !important;
  font-weight: 700;
}

.service-staff-ok {
  color: #087a4b !important;
}

.service-technicians {
  margin-top: 9px;
}

.service-technicians summary {
  color: #315b4c;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.service-technicians-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.service-technician-item {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.service-technician-identity {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 7px;
}

.service-technician-avatar {
  align-items: center;
  background: #e7f4ee;
  border-radius: 50%;
  color: #087a4b;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.service-technician-status {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  white-space: nowrap;
}

.service-technician-status.status-available {
  background: #e4f7ed;
  color: #087a4b;
}

.service-technician-status.status-assigned,
.service-technician-status.status-intervening {
  background: #fff1d6;
  color: #8b5a00;
}

.service-technician-status.status-offline {
  background: #edf0f2;
  color: #68737d;
}

.service-technicians-empty {
  color: #68737d;
  font-size: 12px;
  margin: 7px 0 0;
}

.service-availability-row small {
  color: #68737d;
  margin-top: 4px;
}

.service-switch {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

.service-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.service-switch-slider {
  background: #aeb6bc;
  border-radius: 999px;
  height: 24px;
  position: relative;
  transition: .2s;
  width: 44px;
}

.service-switch-slider::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #0004;
  content: "";
  height: 18px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: .2s;
  width: 18px;
}

.service-switch input:checked + .service-switch-slider {
  background: #08a663;
}

.service-switch input:checked + .service-switch-slider::after {
  transform: translateX(20px);
}

.service-state {
  font-size: 12px;
  font-weight: 700;
  min-width: 64px;
}

@media (max-width: 680px) {
  .service-availability-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
