/**
 * Doctor Workspace content area — UI-ONLY PREVIEW. Reuses the
 * existing ERP sidebar shell (§9.1, same reasoning as Pharmacist/
 * Branch Manager/Warehouse Manager). Every data value rendered by
 * doctor-app.js is static/hardcoded, not fetched from any API —
 * Medical Records is architecturally reserved (§8), not built, and
 * green_doctor is granted zero real capabilities (config/config.php).
 * This file is purely visual.
 */
.dr-banner { background: #FEF3C7; color: #92400E; font-size: 12px; font-weight: 700; padding: 10px 14px; border-radius: 12px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }

.dr-workspace { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.dr-queue { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 12px; }
.dr-queue-search { display: flex; align-items: center; gap: 8px; background: var(--mint-2); border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; margin-bottom: 12px; }
.dr-queue-search input { border: 0; background: transparent; outline: 0; font-family: inherit; flex: 1; font-size: 12.5px; }
.dr-q-item { display: flex; gap: 10px; align-items: center; padding: 9px; border-radius: 12px; cursor: pointer; margin-bottom: 4px; }
.dr-q-item.active { background: var(--mint); }
.dr-q-item .av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: 12px; }
.dr-q-item strong { font-size: 12.5px; display: block; }
.dr-q-item span { font-size: 10.5px; color: var(--muted); }
.dr-q-item .wait { margin-right: auto; font-size: 10px; font-weight: 800; color: var(--gold); }

.dr-main { }
.dr-patient-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.dr-patient-head h1 { font-size: 18px; margin: 0 0 3px; }
.dr-patient-head span { font-size: 12px; color: var(--muted); }

.dr-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 5px; margin-bottom: 16px; width: fit-content; flex-wrap: wrap; }
.dr-tab { padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; background: none; border: 0; font-family: inherit; }
.dr-tab.active { background: var(--mint); color: var(--primary-dark); }

.dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dr-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.dr-card h3 { font-size: 12.5px; margin: 0 0 10px; display: flex; align-items: center; gap: 7px; }
.dr-card h3 .dr-ph-tag { margin-right: auto; font-size: 9px; font-weight: 800; background: #FEF3C7; color: #92400E; padding: 2px 7px; border-radius: 20px; }
.dr-ph-body { background: repeating-linear-gradient(135deg, var(--mint-2), var(--mint-2) 8px, #fff 8px, #fff 16px); border: 1.5px dashed var(--border); border-radius: 10px; padding: 12px; font-size: 11px; color: var(--muted); text-align: center; min-height: 60px; display: flex; align-items: center; justify-content: center; }

.dr-rx-panel { grid-column: 1/-1; }
.dr-rx-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.dr-rx-row input, .dr-rx-row select { flex: 1; min-width: 120px; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; font-family: inherit; font-size: 12.5px; }
.dr-rx-list { border: 1px solid var(--border); border-radius: 10px; padding: 8px; margin-bottom: 10px; min-height: 40px; }
.dr-rx-list-item { display: flex; justify-content: space-between; padding: 6px 4px; font-size: 12px; border-bottom: 1px dashed var(--border); }
.dr-rx-list-item:last-child { border-bottom: 0; }

.dr-comm-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.dr-comm-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--mint-2); margin-bottom: 6px; }
.dr-comm-row.call { background: #FEF2F2; }
.dr-comm-row i { color: var(--primary); width: 14px; text-align: center; }
.dr-comm-row.call i { color: var(--danger); }
.dr-comm-row .txt strong { font-size: 12px; display: block; }
.dr-comm-row .txt span { font-size: 10.5px; color: var(--muted); }
.dr-comm-btn { border: 0; background: var(--primary); color: #fff; font-family: inherit; font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; cursor: pointer; margin-right: auto; }
.dr-comm-row.call .dr-comm-btn { background: var(--danger); }
