/**
 * OKR Module — Styles
 */

.okr-kr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}
.okr-kr-row:last-child {
  border-bottom: none;
}

.okr-kr-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  min-width: 0;
}
.okr-kr-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 32px;
}
.okr-kr-text {
  font-size: var(--text-base);
  color: var(--text-primary);
}

.okr-kr-progress {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}
.okr-kr-pct {
  font-size: var(--text-sm);
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

/* Range slider — Apple style */
.okr-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-default);
  outline: none;
  cursor: pointer;
}
.okr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--text-muted);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.okr-slider::-webkit-slider-thumb:hover {
  border-color: var(--fitcom-orange);
}

@media (max-width: 768px) {
  .okr-kr-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .okr-kr-progress {
    width: 100%;
    justify-content: space-between;
  }
  .okr-slider {
    flex: 1;
    width: auto;
  }
}
