/* Shared fix service picker — dashboard + Get Help */

.fix-service-picker {
  display: block;
}

.fix-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .fix-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fix-service-grid .fix-service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.325rem);
  }
}

.fix-service-card {
  display: block;
  cursor: pointer;
}

.fix-service-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fix-service-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 1rem 0.95rem 2.35rem;
  border: 1px solid var(--color-border-soft, var(--color-border));
  border-radius: 12px;
  background: var(--color-card, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-height: 100%;
}

.fix-service-card:hover .fix-service-card-body {
  border-color: rgba(22, 199, 132, 0.45);
  box-shadow: 0 2px 8px rgba(22, 199, 132, 0.08);
}

.fix-service-card.is-selected .fix-service-card-body,
.fix-service-card:has(input:checked) .fix-service-card-body {
  border-color: rgba(22, 199, 132, 0.65);
  background: rgba(22, 199, 132, 0.07);
  box-shadow:
    0 0 0 1px rgba(22, 199, 132, 0.15),
    0 4px 14px rgba(22, 199, 132, 0.1);
}

.fix-service-card:has(input:focus-visible) .fix-service-card-body {
  outline: 2px solid rgba(22, 199, 132, 0.55);
  outline-offset: 2px;
}

.fix-service-card-check {
  position: absolute;
  left: 0.75rem;
  top: 0.95rem;
  color: rgba(148, 163, 184, 0.55);
}

.fix-service-card.is-selected .fix-service-card-check,
.fix-service-card:has(input:checked) .fix-service-card-check {
  color: var(--color-accent-dark, #0a8f56);
}

.fix-service-card-check svg circle {
  opacity: 0.35;
}

.fix-service-card.is-selected .fix-service-card-check svg circle,
.fix-service-card:has(input:checked) .fix-service-card-check svg circle {
  opacity: 1;
  stroke: currentColor;
  fill: rgba(22, 199, 132, 0.12);
}

.fix-service-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fix-service-badge {
  align-self: flex-start;
  padding: 0.15rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  color: var(--color-muted);
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.fix-service-badge--popular,
.fix-service-badge--best-value {
  color: var(--color-accent-dark, #0a8f56);
  background: rgba(22, 199, 132, 0.12);
  border-color: rgba(22, 199, 132, 0.28);
}

.fix-service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.fix-service-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.fix-service-price {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--color-surface-alt, rgba(15, 23, 42, 0.05));
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
}

.fix-service-card.is-selected .fix-service-price,
.fix-service-card:has(input:checked) .fix-service-price {
  background: rgba(22, 199, 132, 0.14);
  color: var(--color-accent-dark, #0a8f56);
}

.fix-service-card-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.fix-service-card-focus {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--color-text-muted, var(--color-muted));
}

.fix-service-not-sure {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: rgba(248, 252, 250, 0.7);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

[data-theme="dark"] .fix-service-not-sure {
  background: rgba(15, 23, 42, 0.35);
}

.fix-service-not-sure:hover {
  border-color: rgba(22, 199, 132, 0.45);
  background: rgba(22, 199, 132, 0.06);
}

.fix-service-not-sure:focus-visible {
  outline: 2px solid rgba(22, 199, 132, 0.55);
  outline-offset: 2px;
}

.fix-service-not-sure-title {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.fix-service-not-sure-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.fix-service-variable-note,
.dash-fix-variable-note {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
}

.dash-fix-service-helper {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

@media (max-width: 639px) {
  .fix-service-grid .fix-service-card:last-child:nth-child(odd) {
    max-width: none;
  }
}
