/* ====================================================================
   MEDICONNECT - CITAS & TURNOS MÉDICOS (STYLES)
   ==================================================================== */
:root {
  --primary-med: #0284c7;
  --primary-dark: #0369a1;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background: var(--bg-light); color: #1e293b; line-height: 1.5; }

.container-health { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.top-health-bar { background: #e0f2fe; border-bottom: 1px solid #bae6fd; }
.health-header { border-bottom: 1px solid var(--border-light); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.btn-health-primary { background: var(--primary-med); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 10px 18px; border-radius: 9999px; text-decoration: none; transition: background 0.2s ease; }
.btn-health-primary:hover { background: var(--primary-dark); }

.pill-health { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: var(--primary-med); background: #e0f2fe; padding: 4px 12px; border-radius: 9999px; }

/* Doctor Card */
.doctor-card { background: #fff; border: 2px solid var(--border-light); border-radius: 20px; padding: 18px; cursor: pointer; transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; text-align: center; }
.doctor-card:hover, .doctor-card.selected { border-color: var(--primary-med); box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12); }
.doctor-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid #e0f2fe; }
.doctor-name { font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.doctor-spec { font-size: 0.78rem; font-weight: 700; color: var(--primary-med); margin-bottom: 4px; }
.doctor-mat { font-size: 0.7rem; color: #64748b; margin-bottom: 10px; }

/* Booking Card */
.booking-card { background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }

.day-btn { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 10px; padding: 8px 14px; text-align: center; cursor: pointer; font-size: 0.82rem; font-weight: 700; transition: all 0.2s ease; }
.day-btn.active { background: var(--primary-med); color: #fff; border-color: var(--primary-med); }

.slot-btn { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 8px; padding: 8px; text-align: center; font-size: 0.82rem; font-weight: 700; color: #0f172a; cursor: pointer; transition: all 0.2s ease; }
.slot-btn:hover { border-color: var(--primary-med); }
.slot-btn.active { background: #0284c7; color: #fff; border-color: #0284c7; }
.slot-btn.busy { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.health-input { width: 100%; background: #f8fafc; border: 1px solid var(--border-light); border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; outline: none; }
.health-input:focus { border-color: var(--primary-med); background: #fff; }

.btn-health-confirm { background: #16a34a; color: #fff; font-weight: 800; font-size: 0.95rem; padding: 14px; border-radius: 12px; border: none; cursor: pointer; box-shadow: 0 4px 18px rgba(22, 163, 74, 0.3); transition: transform 0.2s ease; }
.btn-health-confirm:hover { transform: translateY(-2px); background: #15803d; }
