.service-detail-page {
  padding: 64px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail-header {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 0;
  right: 0;
  height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 8px 16px;
  z-index: 25;
  transition: opacity 180ms ease;
}

.service-detail-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.service-detail-back,
.service-detail-edit {
  background: transparent;
  border: none;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.service-detail-back img {
  width: 18px;
  height: 18px;
}

.service-detail-header--hidden {
  opacity: 0;
  pointer-events: none;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.service-detail-loading,
.service-detail-error {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.service-detail-card {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.service-detail-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.service-detail-avatar img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.service-detail-name {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.service-detail-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111827;
  font-weight: 600;
}

.service-detail-status-indicator {
  width: 4px;
  height: 16px;
  border-radius: 999px;
}

.service-detail-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.service-detail-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.service-detail-row:last-child {
  border-bottom: none;
}

.service-detail-row__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6b7280;
}

.service-detail-row__label img {
  width: 16px;
  height: 16px;
}

.service-detail-row__value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: right;
}

.service-detail-color {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  display: inline-block;
}
