/* ============================================
   EMPYREAN — CARDS / CITAS / ADMIN
   ============================================ */

/* ─── Appointment card ──────────────────────── */
.appointment-card {
  background: white;
  border: 1px solid #f0e6f0;
  padding: 0;
  border-radius: 28px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(96, 32, 96, 0.06);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.appointment-card:active { transform: scale(0.985); }
.appointment-card:hover {
  box-shadow: 0 12px 40px rgba(96, 32, 96, 0.14), 0 2px 8px rgba(96, 32, 96, 0.06);
  transform: translateY(-3px);
}
.appointment-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), #b273b2);
  border-radius: 4px 0 0 4px;
}
.appointment-card.reprogramada::before { background: linear-gradient(180deg, var(--info), #81d4fa); }
.appointment-card.completada::before   { background: linear-gradient(180deg, var(--success), #80deea); }
.appointment-card.vencida::before      { background: linear-gradient(180deg, var(--danger), #ff8a80); }
.appointment-card-inner { padding: 20px 20px 20px 25px; }

/* ─── Status pill ───────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: 99px;
  background: linear-gradient(135deg, #fdf2ff, #f5e6f5);
  color: #9b4d9b;
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid #f0dff0;
}
.status-pill.repro { background: linear-gradient(135deg, #e1f5fe, #e8f4fd); color: #0288d1; border-color: #b3e5fc; }
.status-pill.done  { background: linear-gradient(135deg, #e0f7f4, #e8faf7); color: #00897b; border-color: #b2dfdb; }
.status-pill.late  { background: linear-gradient(135deg, #ffebee, #fff0f0); color: #e53935; border-color: #ffcdd2; }

/* ─── Botones de acción ─────────────────────── */
.actions-row {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.btn-action {
  border: none;
  padding: 11px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  flex: 1;
  min-width: 80px;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.2px;
}
.btn-action:active  { transform: scale(0.94); }
.btn-reschedule { background: linear-gradient(135deg, #e3f2fd, #ddeeff); color: #0288d1; box-shadow: 0 3px 10px rgba(41, 182, 246, 0.15); }
.btn-cancel     { background: linear-gradient(135deg, #ffebee, #fff0f0); color: #e53935; box-shadow: 0 3px 10px rgba(255, 71, 87, 0.12); }
.btn-arrive     { background: linear-gradient(135deg, #e0f7f4, #d4f5f0); color: #00897b; box-shadow: 0 3px 10px rgba(0, 210, 211, 0.15); }

/* ─── Admin card ────────────────────────────── */
.admin-card {
  background: white;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 4px 24px rgba(96, 32, 96, 0.05);
  border: 1px solid #f0e8f5;
  margin-bottom: 22px;
  transition: box-shadow 0.2s;
}
.admin-card:hover { box-shadow: 0 8px 32px rgba(96, 32, 96, 0.09); }
.admin-title {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

/* ─── Clientas ──────────────────────────────── */
.clientas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .clientas-grid { grid-template-columns: repeat(2, 1fr); }
}
.clienta-card {
  background: white;
  border: 1px solid #f0e8f5;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.clienta-card.open { grid-column: 1 / -1; }
.clienta-card:hover { box-shadow: 0 10px 32px rgba(96, 32, 96, 0.13); transform: translateY(-2px); }
.clienta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.15s;
  gap: 10px;
  user-select: none;
}
.clienta-header:hover { background: #fdf4ff; }
.clienta-body { animation: popIn 0.2s ease-out; }
.clienta-form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) {
  .clienta-form-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Heart badge ───────────────────────────── */
.heart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  margin-left: 0;
  background: #64b5f6;
  color: white;
  box-shadow: 0 2px 6px rgba(100, 181, 246, 0.5);
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}
@media (min-width: 480px) { .heart-badge { margin-left: 4px; } }
.heart-badge::before { content: "💗 "; font-size: 0.58rem; }
.heart-badge--main   { background: var(--primary) !important; box-shadow: 0 2px 8px rgba(96, 32, 96, 0.5) !important; font-size: 0.68rem; min-width: 20px; height: 20px; margin-left: 5px; }
.heart-badge--purple { background: var(--primary) !important; box-shadow: 0 2px 6px rgba(96, 32, 96, 0.4) !important; }
.heart-badge--teal   { background: #00897b !important; box-shadow: 0 2px 6px rgba(0, 137, 123, 0.4) !important; }
