/* ── MY APPOINTMENTS ── */
.appt-lookup {
  max-width: 480px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  text-align: center;
}
.appt-lookup p {
  color: var(--greige);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.appt-lookup .form-row { text-align: left; margin-bottom: 0.85rem; }
.appt-lookup .form-row label { font-size: 0.64rem; margin-bottom: 0.3rem; }
.appt-lookup .form-row input {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
}

.appt-results {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}
.appt-section-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--greige);
  margin: 2rem 0 1rem;
}
.appt-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--warmgrey);
  border-radius: 16px;
  background: var(--cream);
  margin-bottom: 0.85rem;
}
.appt-card-info { min-width: 0; }
.appt-card-service { font-size: 0.92rem; font-weight: 500; color: var(--espresso); }
.appt-card-meta { font-size: 0.76rem; color: var(--greige); margin-top: 0.25rem; }
.appt-card-status {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  display: inline-block;
  margin-top: 0.4rem;
}
.appt-card-status.pending { background: rgba(212,175,55,0.15); color: #a8841f; }
.appt-card-status.confirmed { background: rgba(90,140,90,0.15); color: #4a7a4a; }
.appt-card-status.cancelled { background: rgba(192,57,43,0.1); color: #c0392b; }
.appt-card-status.completed { background: var(--warmgrey); color: var(--greige); }
.appt-cancel-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--warmgrey);
  color: var(--greige);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.appt-cancel-btn:hover { border-color: #c0392b; color: #c0392b; }
.appt-empty {
  text-align: center;
  color: var(--greige);
  font-size: 0.85rem;
  padding: 1.5rem 0;
}

/* What they actually paid, on a past visit. Quiet — it is a record, not a
   status, and it should not compete with the status chip beside it. */
.appt-card-paid {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--greige, #9f948e);
  font-variant-numeric: tabular-nums;
}

/* The booking, said in full: what she booked, with whom, what it costs, and
   the reference. It used to say only "Appointment" and a date. */
.appt-card-addons {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--taupe, #9a8577);
}
.appt-card-notes {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(253, 230, 138, 0.4);
  color: #8a5209;
  font-size: 0.78rem;
  line-height: 1.45;
}
.appt-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.appt-card-price,
.appt-card-ref {
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  background: var(--warmgrey, #e9e3db);
  color: var(--espresso, #3f3632);
}
.appt-card-ref { font-variant-numeric: tabular-nums; opacity: 0.75; }
