/* DentCell — Hasta dosyası › Hatırlatıcı (bakım talimatları, videolar, ilaç saatleri) */
.care { display: flex; flex-direction: column; gap: 18px; }
.care-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.care-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.care-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.care-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.care-head small { color: #64748b; font-size: .78rem; }
.care-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font: inherit; font-size: .82rem; font-weight: 700; padding: 9px 14px; border-radius: 11px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.care-btn:hover { border-color: #93c5fd; }
.care-btn.primary { background: linear-gradient(135deg, #2f80ed, #1d6fe0); color: #fff; border-color: transparent; }
.care-btn.ghost { background: transparent; border-style: dashed; color: #1d6fe0; width: 100%; }
.care-btn:disabled { opacity: .6; cursor: wait; }
.care-empty { padding: 22px 12px; text-align: center; color: #94a3b8; font-size: .84rem; border: 1px dashed #e2e8f0; border-radius: 12px; }
.care-empty.sm { padding: 12px; }
.care-search input { width: 100%; font: inherit; font-size: .86rem; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; outline: none; }
.care-search input:focus { border-color: #93c5fd; background: #fff; }
.care-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.care-cats button { border: 1px solid #e2e8f0; background: #fff; font: inherit; font-size: .76rem; font-weight: 700; color: #475569; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.care-cats button.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.care-list { display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.care-item { display: flex; gap: 12px; padding: 12px; border: 1.5px solid #eef2f7; border-radius: 14px; transition: border-color .15s ease, background .15s ease; }
.care-item:hover { border-color: #dbeafe; }
.care-item.sel { border-color: #1d6fe0; background: #f5f9ff; }
.care-pick { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid #cbd5e1; background: #fff; color: #1d6fe0; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.care-item.sel .care-pick { background: #1d6fe0; border-color: #1d6fe0; color: #fff; }
.care-item-main { min-width: 0; flex: 1; }
.care-item-main b { font-size: .9rem; color: #0f172a; }
.care-item-main p { margin: 4px 0 6px; font-size: .78rem; color: #64748b; line-height: 1.45; }
.care-item-act { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.care-item-act button, .care-item-act a { border: 0; background: none; padding: 0; font: inherit; font-size: .74rem; font-weight: 700; color: #1d6fe0; cursor: pointer; text-decoration: none; }
.care-item-act .danger { color: #dc2626; }
.care-item-act .care-video { color: #fff; background: #ef4444; padding: 2px 9px; border-radius: 999px; }

.care-sub { display: flex; align-items: center; gap: 6px; margin: 14px 0 8px; font-size: .74rem; font-weight: 800; color: #475569; text-transform: uppercase; letter-spacing: .04em; }
.care-sub i { font-style: normal; background: #e0f2fe; color: #0369a1; border-radius: 999px; padding: 0 8px; }
.care-selected { display: flex; flex-wrap: wrap; gap: 6px; }
.care-chip { display: inline-flex; align-items: center; gap: 6px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: .78rem; font-weight: 700; padding: 5px 6px 5px 10px; border-radius: 999px; }
.care-chip-v { color: #ef4444; font-size: .7rem; }
.care-chip button { border: 0; background: #dbeafe; color: #1e3a8a; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: .7rem; }
.care-meds { display: flex; flex-direction: column; gap: 8px; }
.care-med { border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px; background: #fcfdff; display: flex; flex-direction: column; gap: 6px; }
.care-med-row { display: flex; gap: 6px; align-items: center; }
.care-med input, .care-note, .care-opts input[type=date] { font: inherit; font-size: .84rem; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; min-width: 0; flex: 1; }
.care-med input.sm { flex: 0 0 150px; }
.care-med input.mono { font-family: 'JetBrains Mono', monospace; }
.care-days { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #475569; font-weight: 700; }
.care-days input { width: 70px; flex: none; }
.care-presets { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.care-presets button { border: 1px solid #e2e8f0; background: #fff; font: inherit; font-size: .7rem; font-weight: 700; color: #475569; padding: 4px 9px; border-radius: 999px; cursor: pointer; }
.care-presets button:hover { border-color: #93c5fd; color: #1d6fe0; }
.care-presets input { flex: 1; min-width: 160px; }
.care-x { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #fecaca; background: #fff; color: #dc2626; cursor: pointer; }
.care-note { width: 100%; resize: vertical; }
.care-opts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 10px; font-size: .8rem; color: #334155; font-weight: 700; }
.care-opts label { display: inline-flex; align-items: center; gap: 8px; }
.care-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.care-hint { margin-top: 10px; font-size: .76rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 10px; }

.care-plans { display: flex; flex-direction: column; gap: 6px; }
.care-planrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #eef2f7; border-radius: 12px; flex-wrap: wrap; }
.care-planrow.ended { opacity: .6; }
.care-planrow-main { flex: 1; min-width: 220px; }
.care-planrow-main b { display: block; font-size: .86rem; color: #0f172a; }
.care-planrow-main small { color: #64748b; font-size: .74rem; }
.care-planrow-st { display: flex; gap: 5px; }
.care-planrow-st .st { font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b; }
.care-planrow-st .st.ok { background: #dcfce7; color: #166534; }
.care-planrow-st .st.sent { background: #dbeafe; color: #1d4ed8; }
.care-planrow-act { display: flex; gap: 10px; flex-wrap: wrap; }
.care-planrow-act a, .care-planrow-act button { border: 0; background: none; padding: 0; font: inherit; font-size: .76rem; font-weight: 700; color: #1d6fe0; cursor: pointer; text-decoration: none; }
.care-planrow-act .danger { color: #dc2626; }

.care-modal { position: fixed; inset: 0; z-index: 10050; background: rgba(15,23,42,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.care-modal-card { width: 100%; max-width: 720px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 70px -20px rgba(15,23,42,.45); }
.care-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.care-modal-head h3 { margin: 0; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.care-modal-head .care-x { border-color: #e2e8f0; color: #475569; }
.care-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f172a; margin-bottom: 12px; }
.care-embed iframe, .care-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.care-body p { margin: 0 0 6px; font-size: .88rem; color: #1e293b; line-height: 1.55; }
.care-modal-act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.care-form { display: flex; flex-direction: column; gap: 10px; }
.care-form label { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; font-weight: 700; color: #334155; }
.care-form label small { font-weight: 500; color: #94a3b8; }
.care-form input, .care-form select, .care-form textarea { font: inherit; font-size: .88rem; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 10px; }

@media (max-width: 1100px) { .care-grid { grid-template-columns: 1fr; } .care-list { max-height: 460px; } }
@media (max-width: 640px) {
  .care-card { padding: 14px; }
  .care-med-row { flex-wrap: wrap; }
  .care-med input.sm { flex: 1 1 100%; }
  .care-actions .care-btn { flex: 1; }
  .care-head { flex-direction: column; }
}

/* ---------------------------------------------------------------- Hasta bilgilendirme rehberleri */
.care-guides-host { margin-bottom: 16px; }
.gd-card { padding-bottom: 8px; }
.gd-tools { margin-bottom: 10px; }
.gd-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px; scrollbar-width: thin; }
.gd-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; font: inherit; font-size: .82rem; font-weight: 700; color: #334155; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.gd-tabs button i { font-style: normal; font-size: .72rem; font-weight: 800; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 1px 7px; }
.gd-tabs button:hover { border-color: #93c5fd; }
.gd-tabs button.active { background: #eff6ff; border-color: #1d6fe0; color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29,111,224,.12); }
.gd-tabs button.active i { background: #1d6fe0; color: #fff; }
.gd-ic { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.gd-cerrahi { background: #ef4444; } .gd-endodonti { background: #f59e0b; } .gd-restoratif { background: #1d6fe0; } .gd-periodontoloji { background: #ec4899; }
.gd-protez { background: #8b5cf6; } .gd-ortodonti { background: #0ea5e9; } .gd-pedodonti { background: #10b981; }
.gd-body { max-height: 560px; overflow-y: auto; margin: 0 -6px; padding: 0 6px 6px; }
.gd-sec + .gd-sec { margin-top: 14px; }
.gd-sec-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 8px 2px; background: #fff; font-size: .92rem; color: #0f172a; }
.gd-sec-h i { font-style: normal; font-size: .74rem; font-weight: 800; color: #64748b; }
.gd-list { display: flex; flex-direction: column; gap: 8px; }
.gd-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid #e8edf4; border-radius: 14px; background: #fbfcfe; transition: border-color .15s, background .15s; }
.gd-row:hover { border-color: #bfdbfe; background: #fff; }
.gd-main { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.gd-main b { display: block; font-size: .9rem; color: #0f172a; }
.gd-main span { display: block; margin-top: 2px; font-size: .76rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-act { display: flex; align-items: center; gap: 6px; flex: none; }
.gd-b { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; font: inherit; font-size: .76rem; font-weight: 700; color: #334155; cursor: pointer; white-space: nowrap; }
.gd-b:hover { border-color: #93c5fd; color: #1d4ed8; }
.gd-b.on { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.gd-b.pri { background: linear-gradient(135deg, #2f80ed, #1d6fe0); border-color: transparent; color: #fff; }
.gd-b.pri:hover { filter: brightness(1.06); color: #fff; }
.gd-b:disabled { opacity: .65; cursor: wait; }
.gd-sent { font-size: .72rem; font-weight: 800; color: #047857; background: #ecfdf5; border-radius: 999px; padding: 4px 9px; }
.gd-modal { max-width: 760px; }
.gd-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #1d6fe0; font-weight: 700; font-size: .76rem; margin-bottom: 4px; }
.gd-eyebrow .gd-ic { width: 22px; height: 22px; border-radius: 7px; }
.gd-doc { max-height: 62vh; overflow-y: auto; padding: 4px 2px 8px; font-size: .9rem; line-height: 1.6; color: #1e293b; }
.gd-doc p { margin: 0 0 8px; }
.gd-doc h4 { margin: 14px 0 8px; padding: 7px 11px; border-radius: 9px; background: #eff6ff; color: #1d4ed8; font-size: .9rem; }
.gd-doc h4.no { background: #fef2f2; color: #b91c1c; } .gd-doc h4.yes { background: #ecfdf5; color: #047857; } .gd-doc h4.warn { background: #fff7ed; color: #c2410c; }
.gd-doc ul { margin: 0 0 8px; padding-left: 20px; } .gd-doc li { margin-bottom: 6px; } .gd-doc li b { color: #0f172a; }
@media (max-width: 900px) {
  .gd-row { flex-direction: column; align-items: stretch; }
  .gd-act { flex-wrap: wrap; }
  .gd-act .gd-b { flex: 1; justify-content: center; }
  .gd-body { max-height: none; }
}
