/* Client portal — extends admin.css (shared login shell, header, modal,
   button, and badge styles) with the bits unique to the client's own view:
   the services grid. */

.client-section-title {
  font-size: 1.05rem;
  margin: 4px 0 14px;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), #ffb454);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-sm); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-top { display: flex; align-items: center; gap: 14px; }
.service-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand-dark);
}
.service-card-icon svg { width: 20px; height: 20px; }
.service-card-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.service-card-body h3 { margin: 0; font-size: 0.96rem; font-family: var(--font-head); }
.service-card-notes {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--paper-alt);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--ink-soft);
  white-space: pre-wrap;
}
.service-card-full .service-subsection { margin-top: 18px; }
.service-card-full .milestone-row input[disabled] { cursor: default; opacity: 1; }
.service-card-full .milestone-check { cursor: default; }
