.dashboard-page{padding:24px;max-width:1500px;margin:0 auto}.dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.dashboard-eyebrow{color:#0f766e;font-size:11px;font-weight:700;letter-spacing:1.2px;margin-bottom:5px}.dashboard-header h1{margin:0;color:#111827;font-size:28px;font-weight:700;line-height:1.2}.dashboard-header p{margin:7px 0 0;color:#6b7280;font-size:14px}.dashboard-header-actions{display:flex;align-items:center;gap:12px}.dashboard-date{display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}.dashboard-date-icon{font-size:18px}.dashboard-date small{display:block;color:#9ca3af;font-size:11px;margin-bottom:2px}.dashboard-date strong{display:block;color:#374151;font-size:13px}.dashboard-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.dashboard-refresh:hover{background:#f9fafb;border-color:#9ca3af}.dashboard-refresh:disabled{opacity:.6;cursor:not-allowed}.dashboard-refresh-icon{font-size:18px;line-height:1}.dashboard-refresh-icon.spinning{animation:dashboard-spin 1s linear infinite}@keyframes dashboard-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.dashboard-kpi{position:relative;overflow:hidden;padding:19px;min-height:140px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 2px 6px #00000008}.dashboard-kpi:after{content:"";position:absolute;right:-30px;bottom:-45px;width:100px;height:100px;border-radius:50%;background:#0f766e0a}.dashboard-kpi-top{display:flex;align-items:center;gap:10px}.dashboard-kpi-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#f0fdfa;font-size:17px}.dashboard-kpi-label{color:#6b7280;font-size:13px;font-weight:600}.dashboard-kpi-value{margin-top:16px;color:#111827;font-size:30px;font-weight:700;line-height:1}.dashboard-kpi-description{margin-top:9px;color:#9ca3af;font-size:12px}.kpi-info .dashboard-kpi-icon{background:#eff6ff}.kpi-warning .dashboard-kpi-icon{background:#fff7ed}.kpi-danger .dashboard-kpi-icon{background:#fef2f2}.dashboard-card{margin-bottom:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 2px 6px #00000008;overflow:hidden}.dashboard-card-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #f0f0f0}.dashboard-card-header h2{margin:0;color:#111827;font-size:17px;font-weight:650}.dashboard-card-header p{margin:5px 0 0;color:#9ca3af;font-size:12px}.dashboard-count{padding:7px 11px;border-radius:7px;background:#f0fdfa;color:#0f766e;font-size:13px;font-weight:700}.dashboard-count span{font-weight:500}.dashboard-table-wrapper{overflow-x:auto}.dashboard-table{width:100%;border-collapse:collapse;min-width:750px}.dashboard-table th{padding:12px 22px;background:#fafafa;color:#6b7280;font-size:11px;font-weight:700;letter-spacing:.4px;text-align:left;text-transform:uppercase;border-bottom:1px solid #e5e7eb}.dashboard-table td{padding:14px 22px;border-bottom:1px solid #f3f4f6;color:#374151;font-size:13px;vertical-align:middle}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-table tbody tr:hover{background:#fafafa}.appointment-time strong{color:#111827;font-size:13px}.patient-cell{display:flex;align-items:center;gap:10px}.patient-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#ecfdf5;color:#047857;font-size:12px;font-weight:700}.patient-cell strong{color:#1f2937;font-size:13px}.patient-phone{color:#6b7280;font-size:13px}.doctor-name{color:#374151;font-weight:500}.dashboard-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.dashboard-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.status-booked{background:#eff6ff;color:#2563eb}.status-confirmed{background:#ecfdf5;color:#047857}.status-completed{background:#f3f4f6;color:#4b5563}.status-cancelled{background:#fff7ed;color:#c2410c}.status-noshow{background:#fef2f2;color:#dc2626}.status-default{background:#f3f4f6;color:#6b7280}.dashboard-empty-cell{padding:0!important}.dashboard-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:190px;gap:5px}.dashboard-empty-icon{margin-bottom:5px;font-size:28px;opacity:.7}.dashboard-empty strong{color:#374151;font-size:14px}.dashboard-empty span{color:#9ca3af;font-size:12px}.dashboard-chart{padding:20px}.dashboard-chart-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;height:260px;gap:5px;color:#9ca3af}.dashboard-chart-empty div{margin-bottom:8px;font-size:30px}.dashboard-chart-empty strong{color:#4b5563;font-size:14px}.dashboard-chart-empty span{font-size:12px}.dashboard-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:300px;color:#6b7280;font-size:14px}.dashboard-loading-spinner{width:18px;height:18px;border:2px solid #e5e7eb;border-top-color:#0f766e;border-radius:50%;animation:dashboard-spin .8s linear infinite}.dashboard-error{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#991b1b}.dashboard-error-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#fee2e2;color:#dc2626;font-weight:700}.dashboard-error strong{font-size:14px}.dashboard-error p{margin:4px 0 10px;color:#b91c1c;font-size:13px}.dashboard-retry-btn{padding:7px 12px;border:1px solid #fca5a5;border-radius:6px;background:#fff;color:#b91c1c;font-size:12px;font-weight:600;cursor:pointer}.dashboard-retry-btn:hover{background:#fff7f7}.doctor-dashboard-page{max-width:1500px;margin:0 auto;padding:24px}.doctor-dashboard-content{min-width:0}.doctor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.doctor-section-heading h2{margin:0;font-size:21px;color:#111827}.doctor-section-heading p{margin:5px 0 0;color:#6b7280;font-size:13px}.doctor-settings-page{max-width:1200px;margin:0 auto;padding:24px}.doctor-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.doctor-settings-header-content{min-width:0}.doctor-settings-eyebrow{margin-bottom:5px;color:#0f766e;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}.doctor-settings-header h1{margin:0;color:#111827;font-size:26px;font-weight:700;line-height:1.25}.doctor-settings-header p{margin:7px 0 0;color:#6b7280;font-size:14px}.doctor-settings-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:20px;padding:5px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb}.doctor-settings-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:0;border-radius:7px;background:transparent;color:#6b7280;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.doctor-settings-tab:hover{background:#fff;color:#374151}.doctor-settings-tab.active{background:#fff;color:#0f766e;box-shadow:0 1px 4px #00000014}.doctor-settings-tab-icon{font-size:16px;line-height:1}.doctor-settings-card{padding:24px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 2px 6px #00000008}.doctor-settings-heading{display:flex;align-items:center;gap:13px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #eef0f3}.doctor-settings-heading-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#f0fdfa;font-size:20px}.doctor-settings-heading h3{margin:0;color:#111827;font-size:17px}.doctor-settings-heading p{margin:4px 0 0;color:#6b7280;font-size:13px}.doctor-settings-form{margin-bottom:30px}.doctor-settings-list-heading{margin:30px 0 12px}.doctor-settings-list-heading h3{margin:0;color:#111827;font-size:15px}.doctor-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.doctor-field{display:flex;flex-direction:column;gap:6px}.doctor-field label{color:#374151;font-size:12px;font-weight:600}.doctor-field input,.doctor-field select,.doctor-field textarea{width:100%;min-height:40px;padding:8px 11px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#1f2937;font-family:inherit;font-size:13px;outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.doctor-field textarea{min-height:90px;resize:vertical}.doctor-field input:focus,.doctor-field select:focus,.doctor-field textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}.doctor-field input:disabled,.doctor-field select:disabled,.doctor-field textarea:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.doctor-schedule-list{width:100%}.doctor-schedule-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(130px,.8fr);align-items:end;gap:14px;padding:13px 0;border-bottom:1px solid #f0f0f0;transition:background .15s ease}.doctor-schedule-row:first-child{padding-top:0}.doctor-schedule-row:last-child{border-bottom:0}.doctor-schedule-row:hover{background:#fafafa}.doctor-schedule-day{display:flex;align-items:center;gap:9px;min-height:40px;color:#374151;font-size:13px;font-weight:600}.doctor-schedule-row .doctor-field{min-width:0}.doctor-schedule-row .doctor-field label{display:block}.doctor-working-toggle{display:flex;align-items:center;gap:8px;min-height:40px;color:#4b5563;font-size:13px;cursor:pointer}.doctor-working-toggle input{width:16px;height:16px;margin:0;accent-color:#0f766e}.doctor-timeoff-table-wrapper{width:100%;overflow-x:auto}.doctor-timeoff-table{width:100%;min-width:700px;border-collapse:collapse}.doctor-timeoff-table th{padding:11px 12px;background:#fafafa;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:11px;font-weight:700;letter-spacing:.35px;text-align:left;text-transform:uppercase}.doctor-timeoff-table td{padding:13px 12px;border-bottom:1px solid #f3f4f6;color:#374151;font-size:13px;vertical-align:middle}.doctor-timeoff-table tbody tr:last-child td{border-bottom:0}.doctor-timeoff-table tbody tr:hover{background:#fafafa}.doctor-timeoff-type{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;background:#f0fdfa;color:#0f766e;font-size:11px;font-weight:700}.doctor-timeoff-type.blocked{background:#fff7ed;color:#c2410c}.doctor-timeoff-reason{color:#6b7280}.doctor-primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 15px;border:1px solid #0f766e;border-radius:7px;background:#0f766e;color:#fff;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.doctor-primary-btn:hover{background:#0d665f;border-color:#0d665f}.doctor-primary-btn:disabled{opacity:.6;cursor:not-allowed}.ghost{border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#374151;cursor:pointer;font-family:inherit;font-weight:600}.ghost:hover{background:#f9fafb}.ghost:disabled{opacity:.6;cursor:not-allowed}.ghost.sm{padding:6px 10px;font-size:12px}.doctor-success-message{display:flex;align-items:center;gap:8px;margin-bottom:18px;padding:11px 13px;border:1px solid #bbf7d0;border-radius:7px;background:#ecfdf5;color:#166534;font-size:13px;font-weight:500}.doctor-error-message{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;padding:11px 13px;border:1px solid #fecaca;border-radius:7px;background:#fef2f2;color:#991b1b;font-size:13px}.doctor-loading{display:flex;align-items:center;justify-content:center;min-height:250px;color:#6b7280;font-size:14px}@media (max-width: 1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-schedule-row{grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) minmax(110px,.7fr)}}@media (max-width: 900px){.doctor-schedule-row{grid-template-columns:1fr 1fr}.doctor-schedule-day{grid-column:1 / -1}}@media (max-width: 768px){.dashboard-page{padding:16px}.dashboard-header{align-items:flex-start;flex-direction:column}.dashboard-header-actions{width:100%;justify-content:space-between}.dashboard-date{flex:1}.dashboard-kpis{grid-template-columns:1fr 1fr;gap:10px}.dashboard-kpi{min-height:125px;padding:15px}.dashboard-kpi-value{font-size:25px}.dashboard-card-header{padding:16px}.dashboard-chart{padding:10px}.doctor-dashboard-page,.doctor-settings-page{padding:16px}.doctor-form-grid{grid-template-columns:1fr}.doctor-settings-header{flex-direction:column}.doctor-settings-tabs{overflow-x:auto;flex-wrap:nowrap}.doctor-settings-tab{flex:0 0 auto;white-space:nowrap}.doctor-settings-card{padding:18px}.doctor-schedule-row{grid-template-columns:1fr!important;gap:10px!important;padding:15px 0!important}.doctor-schedule-day{grid-column:auto}}@media (max-width: 500px){.dashboard-kpis{grid-template-columns:1fr}.dashboard-header-actions{align-items:stretch;flex-direction:column}.dashboard-refresh{justify-content:center}.dashboard-date{flex:none}.dashboard-card-header{align-items:flex-start;flex-direction:column}.dashboard-count{align-self:flex-start}.doctor-settings-header h1{font-size:23px}.doctor-settings-card{padding:15px}.doctor-settings-heading{align-items:flex-start}.doctor-settings-heading-icon{width:38px;height:38px}}@media print{.dashboard-page,.doctor-dashboard-page,.doctor-settings-page{padding:0;max-width:none}.dashboard-header-actions,.doctor-settings-tabs{display:none!important}.dashboard-card,.doctor-settings-card{box-shadow:none;break-inside:avoid}}.patients-page{width:100%;padding:28px 30px 40px;color:#0f172a}.patients-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.patients-eyebrow{margin-bottom:6px;color:#0f766e;font-size:10px;font-weight:800;letter-spacing:1.5px}.patients-page-header h1{margin:0;color:#0f172a;font-size:28px;font-weight:800;letter-spacing:-.8px}.patients-page-header p{margin:6px 0 0;color:#64748b;font-size:13px}.patient-count-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #dbe5e4;border-radius:999px;background:#f0fdfa;color:#0f766e;font-size:11px;font-weight:700}.count-dot{width:7px;height:7px;border-radius:50%;background:#14b8a6}.patients-alert{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:12px 14px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#991b1b}.alert-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#fee2e2;font-weight:800}.patients-alert div:nth-child(2){display:flex;flex-direction:column;gap:2px}.patients-alert strong{font-size:12px}.patients-alert span{font-size:11px}.patients-alert button{margin-left:auto;border:0;background:transparent;color:#991b1b;font-size:20px;cursor:pointer}.patient-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.patient-summary-card{display:flex;align-items:center;gap:13px;min-height:86px;padding:17px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;box-shadow:0 3px 14px #0f172a09}.summary-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;font-size:17px}.summary-icon.blue{background:#eff6ff}.summary-icon.purple{background:#f5f3ff}.summary-icon.green{background:#ecfdf5;color:#15803d}.summary-icon.orange{background:#fff7ed;color:#c2410c}.patient-summary-card div:last-child{display:flex;flex-direction:column;gap:2px}.patient-summary-card span{color:#64748b;font-size:10px;font-weight:600}.patient-summary-card strong{color:#0f172a;font-size:21px;font-weight:800}.patients-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.patients-layout.with-detail{grid-template-columns:minmax(0,1fr) 370px}.patients-list-card{min-width:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 4px 18px #0f172a09}.patients-list-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 21px;border-bottom:1px solid #edf2f7}.patients-list-header h2{margin:0;color:#0f172a;font-size:15px;font-weight:800}.patients-list-header p{margin:4px 0 0;color:#94a3b8;font-size:11px}.patient-search{position:relative;width:270px}.patient-search input{width:100%;height:38px;padding:0 35px 0 36px;border:1px solid #dbe2ea;border-radius:9px;outline:none;background:#f8fafc;color:#0f172a;font-size:12px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.patient-search input::placeholder{color:#94a3b8}.patient-search input:focus{border-color:#14b8a6;background:#fff;box-shadow:0 0 0 3px #14b8a61a}.search-icon{position:absolute;left:13px;top:50%;transform:translateY(-52%);color:#64748b;font-size:19px;pointer-events:none}.search-clear{position:absolute;right:8px;top:50%;width:23px;height:23px;transform:translateY(-50%);display:grid;place-items:center;border:0;border-radius:50%;background:#e2e8f0;color:#475569;font-size:16px;line-height:1;cursor:pointer}.patients-table-wrapper{width:100%;overflow-x:auto}.patients-table{width:100%;min-width:900px;border-collapse:collapse}.patients-table thead{background:#f8fafc}.patients-table th{padding:11px 15px;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:9px;font-weight:800;letter-spacing:.7px;text-align:left;text-transform:uppercase;white-space:nowrap}.patients-table td{padding:13px 15px;border-bottom:1px solid #f1f5f9;vertical-align:middle;font-size:12px}.patients-table tbody tr{transition:background .15s ease}.patients-table tbody tr:hover{background:#f8fafc}.patients-table tbody tr.selected-row{background:#f0fdfa}.actions-header{text-align:right!important;width:250px}.patient-cell{display:flex;align-items:center;gap:10px;min-width:180px}.patient-avatar{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:linear-gradient(135deg,#ccfbf1,#dbeafe);color:#0f766e;font-size:11px;font-weight:800}.patient-cell>div:last-child,.detail-profile>div:last-child{display:flex;flex-direction:column;min-width:0}.patient-cell strong{max-width:180px;overflow:hidden;color:#0f172a;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.patient-cell span{margin-top:2px;color:#94a3b8;font-size:9px}.phone-number{color:#475569;font-size:11px;white-space:nowrap}.visit-stat{display:flex;align-items:baseline;gap:2px}.visit-stat strong{color:#0f172a;font-size:13px}.visit-stat span{color:#94a3b8;font-size:10px}.metric-number{display:inline-flex;min-width:28px;justify-content:center;padding:4px 7px;border-radius:6px;background:#f1f5f9;color:#475569;font-size:10px;font-weight:800}.metric-number.warning{background:#fff7ed;color:#c2410c}.metric-number.danger{background:#fef2f2;color:#dc2626}.patient-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.patient-action{height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;font-size:10px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.patient-action:hover{transform:translateY(-1px)}.patient-action span{font-size:11px}.patient-action.view{color:#0f766e}.patient-action.view:hover{border-color:#99f6e4;background:#f0fdfa}.patient-action.edit{color:#475569}.patient-action.edit:hover{border-color:#cbd5e1;background:#f8fafc}.patient-action.delete{color:#dc2626}.patient-action.delete:hover{border-color:#fecaca;background:#fef2f2}.table-state{height:260px;text-align:center!important}.table-state>span{color:#64748b;font-size:12px}.table-state.empty{display:table-cell}.empty-icon{margin-bottom:10px;font-size:30px}.table-state strong{display:block;color:#334155;font-size:13px}.table-state span{display:block;margin-top:4px;color:#94a3b8;font-size:11px}.loading-spinner{width:20px;height:20px;margin:0 auto 9px;border:2px solid #dbeafe;border-top-color:#0f766e;border-radius:50%;animation:patientSpin .7s linear infinite}@keyframes patientSpin{to{transform:rotate(360deg)}}.patient-detail-panel{position:sticky;top:88px;align-self:start;max-height:calc(100vh - 110px);overflow-y:auto;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 22px #0f172a0d}.detail-header{display:flex;justify-content:space-between;gap:15px;padding:21px;border-bottom:1px solid #edf2f7}.detail-label{color:#0f766e;font-size:9px;font-weight:800;letter-spacing:1.2px}.detail-header h2{margin:5px 0 2px;color:#0f172a;font-size:18px;font-weight:800}.detail-phone{color:#64748b;font-size:10px}.detail-close{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#64748b;font-size:19px;cursor:pointer}.detail-close:hover{background:#f8fafc;color:#0f172a}.detail-profile{display:flex;align-items:center;gap:12px;padding:17px 21px}.detail-profile strong{color:#0f172a;font-size:12px}.detail-profile span{margin-top:2px;color:#94a3b8;font-size:9px}.detail-divider{height:1px;background:#f1f5f9}.history-title{padding:18px 21px 12px}.history-title h3{margin:0;color:#0f172a;font-size:13px}.history-title span{display:block;margin-top:3px;color:#94a3b8;font-size:9px}.appointment-timeline{position:relative;padding:4px 21px 25px}.timeline-item{position:relative;display:flex;gap:12px;padding-bottom:19px}.timeline-item:not(:last-child):before{content:"";position:absolute;left:5px;top:13px;bottom:0;width:1px;background:#e2e8f0}.timeline-marker{position:relative;z-index:2;width:11px;height:11px;flex:0 0 auto;margin-top:3px;border:2px solid #ccfbf1;border-radius:50%;background:#0f766e}.timeline-content{min-width:0;flex:1}.timeline-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.timeline-top strong{color:#334155;font-size:11px}.timeline-time,.timeline-doctor{display:flex;align-items:center;gap:5px;margin-top:5px;color:#64748b;font-size:10px}.patient-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}.patient-status-dot{width:5px;height:5px;border-radius:50%}.patient-status.booked{background:#eff6ff;color:#2563eb}.patient-status.booked .patient-status-dot{background:#3b82f6}.patient-status.confirmed{background:#ecfdf5;color:#15803d}.patient-status.confirmed .patient-status-dot{background:#22c55e}.patient-status.completed{background:#f0fdfa;color:#0f766e}.patient-status.completed .patient-status-dot{background:#14b8a6}.patient-status.cancelled{background:#fef2f2;color:#dc2626}.patient-status.cancelled .patient-status-dot{background:#ef4444}.patient-status.no_show{background:#fff7ed;color:#c2410c}.patient-status.no_show .patient-status-dot{background:#f97316}.history-loading{padding:40px 20px;text-align:center;color:#64748b;font-size:11px}.history-empty{display:flex;flex-direction:column;align-items:center;padding:40px 25px;text-align:center}.history-empty>div{margin-bottom:10px;font-size:28px}.history-empty strong{color:#334155;font-size:12px}.history-empty span{margin-top:4px;color:#94a3b8;font-size:10px}.patient-modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a7a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.patient-modal{width:min(100%,480px);overflow:hidden;border-radius:15px;background:#fff;box-shadow:0 30px 80px #0f172a33}.modal-header{display:flex;justify-content:space-between;gap:20px;padding:23px;border-bottom:1px solid #edf2f7}.modal-eyebrow{color:#0f766e;font-size:9px;font-weight:800;letter-spacing:1.2px}.modal-header h2{margin:5px 0 3px;font-size:18px}.modal-header p{margin:0;color:#64748b;font-size:11px}.modal-close{width:28px;height:28px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#64748b;font-size:19px;cursor:pointer}.modal-body{padding:22px}.form-group{margin-bottom:17px}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:7px;color:#334155;font-size:11px;font-weight:750}.form-group label span{margin-left:3px;color:#dc2626}.form-group input{width:100%;height:40px;padding:0 12px;border:1px solid #dbe2ea;border-radius:8px;outline:none;color:#0f172a;font-size:12px}.form-group input:focus{border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 22px;border-top:1px solid #edf2f7;background:#f8fafc}.modal-button{min-height:37px;padding:0 15px;border-radius:8px;font-size:11px;font-weight:750;cursor:pointer}.modal-button.secondary{border:1px solid #dbe2ea;background:#fff;color:#475569}.modal-button.primary{border:1px solid #0f766e;background:#0f766e;color:#fff}.modal-button.danger{border:1px solid #dc2626;background:#dc2626;color:#fff}.modal-button:disabled{opacity:.55;cursor:not-allowed}.delete-modal{width:min(100%,430px);padding-top:28px;overflow:hidden;border-radius:15px;background:#fff;text-align:center;box-shadow:0 30px 80px #0f172a33}.delete-icon{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 15px;border-radius:50%;background:#fef2f2;color:#dc2626;font-size:20px;font-weight:800}.delete-modal h2{margin:0;font-size:18px}.delete-modal>p{margin:9px 25px 18px;color:#64748b;font-size:11px;line-height:1.7}.delete-warning{display:flex;align-items:flex-start;gap:8px;margin:0 22px 20px;padding:11px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;text-align:left;font-size:10px;line-height:1.5}.delete-modal .modal-footer{justify-content:flex-end}@media (max-width: 1200px){.patients-layout.with-detail{grid-template-columns:minmax(0,1fr) 330px}.patient-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 900px){.patients-layout.with-detail{grid-template-columns:1fr}.patient-detail-panel{position:static;max-height:none}}@media (max-width: 700px){.patients-page{padding:20px 15px 30px}.patients-page-header{flex-direction:column}.patients-list-header{align-items:flex-start;flex-direction:column}.patient-search{width:100%}}@media (max-width: 500px){.patient-summary-grid{grid-template-columns:1fr}.patients-page-header h1{font-size:24px}.patient-summary-card{min-height:75px}}.settings-page{width:100%;max-width:1180px;margin:0 auto;padding:8px 0 40px}.settings-page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px}.settings-eyebrow{display:inline-block;margin-bottom:7px;font-size:11px;font-weight:700;letter-spacing:.08em;color:#64748b}.settings-page-header h2{margin:0;color:#0f172a;font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.025em}.settings-page-header p{margin:8px 0 0;max-width:720px;color:#64748b;font-size:14px;line-height:1.6}.settings-sections{display:flex;flex-direction:column;gap:18px}.settings-card{overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px #0f172a08,0 5px 18px #0f172a09}.settings-card-header{padding:21px 24px 18px;border-bottom:1px solid #eef2f7}.settings-card-header h3{margin:0;color:#0f172a;font-size:17px;font-weight:650;letter-spacing:-.01em}.settings-description{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.55}.settings-example{margin:18px 24px 0;padding:13px 15px;background:#f8fafc;border:1px solid #e8edf3;border-radius:8px}.settings-example-title{margin-bottom:4px;color:#334155;font-size:12px;font-weight:700}.settings-example-text{color:#64748b;font-size:12.5px;line-height:1.55}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;padding:22px 24px}.settings-field{min-width:0}.settings-label{display:block;margin-bottom:7px;color:#334155;font-size:13px;font-weight:600}.settings-input,.settings-input-group{width:100%}.settings-input{box-sizing:border-box;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-family:inherit;font-size:13px;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.settings-input::placeholder{color:#94a3b8}.settings-input:hover{border-color:#94a3b8}.settings-input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}select.settings-input{cursor:pointer}.settings-input-group{position:relative;display:flex;align-items:center}.settings-input-group .settings-input{padding-right:150px}.settings-suffix{position:absolute;right:12px;pointer-events:none;color:#64748b;font-size:11.5px;white-space:nowrap}.settings-help{margin-top:6px;color:#94a3b8;font-size:11.5px;line-height:1.5}.reminder-example{margin:0 24px 22px;overflow:hidden;border:1px solid #dbe5e5;border-radius:10px;background:#fbfefe}.reminder-example-header{padding:14px 16px;border-bottom:1px solid #e7eeee;background:#f4fafa}.reminder-example-header strong{display:block;color:#164e4a;font-size:13px;font-weight:700}.reminder-example-header span{display:block;margin-top:3px;color:#64748b;font-size:11.5px}.reminder-timeline{padding:16px 18px 4px}.reminder-item{position:relative;display:flex;min-height:58px}.reminder-number{z-index:2;flex:0 0 28px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0f766e;color:#fff;font-size:11px;font-weight:700}.reminder-line{position:absolute;top:28px;left:13px;bottom:0;width:1px;background:#cbdedc}.reminder-item:last-child .reminder-line{display:none}.reminder-content{padding:1px 0 18px 13px}.reminder-content strong{display:block;color:#1e293b;font-size:12.5px;font-weight:650}.reminder-content span{display:block;margin-top:3px;color:#64748b;font-size:11.5px;line-height:1.45}.reminder-summary{margin:0 16px 14px;padding:10px 12px;border-radius:6px;background:#f1f5f9;color:#475569;font-size:11.5px;line-height:1.5}.reminder-summary strong{color:#334155}.reminder-empty{padding:20px 18px;color:#94a3b8;font-size:12px;line-height:1.6;text-align:center}.reminder-format-help{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 15px}.reminder-format-help strong{width:100%;margin-bottom:1px;color:#475569;font-size:11.5px}.reminder-format-help span{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #e2e8f0;border-radius:5px;background:#fff;color:#64748b;font-size:10.5px}.reminder-format-help code{margin-right:4px;color:#0f766e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.settings-footer{display:flex;align-items:center;gap:14px;padding:15px 24px;border-top:1px solid #eef2f7;background:#fcfdfe}.settings-save{min-width:120px;min-height:38px;padding:8px 15px;border:0;border-radius:7px;background:#0f766e;color:#fff;font-family:inherit;font-size:12.5px;font-weight:650;cursor:pointer;transition:background .15s ease,transform .1s ease,box-shadow .15s ease}.settings-save:hover:not(:disabled){background:#0d625c;box-shadow:0 3px 8px #0f766e2e}.settings-save:active:not(:disabled){transform:translateY(1px)}.settings-save:disabled{opacity:.6;cursor:not-allowed}.settings-success{color:#15803d;font-size:12px;font-weight:600}.settings-error{color:#dc2626;font-size:12px;line-height:1.4}.settings-loading{padding:45px 20px;color:#64748b;font-size:13px;text-align:center}.settings-error-box{padding:14px 16px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:13px}@media (max-width: 850px){.settings-page{padding:5px 0 30px}.settings-fields{grid-template-columns:1fr;gap:18px}.settings-page-header h2{font-size:24px}}@media (max-width: 600px){.settings-card-header,.settings-fields{padding:18px}.settings-example,.reminder-example{margin-left:18px;margin-right:18px}.settings-footer{padding:13px 18px;flex-wrap:wrap}.settings-save{width:100%}.settings-input-group .settings-input{padding-right:125px}.settings-suffix{font-size:10.5px}}:root{--bg: #f4f6fa;--card: #fff;--ink: #1c2433;--muted: #6b7686;--line: #e3e8ef;--brand: #0f766e;--brand-d: #0b5a54;--danger: #c2410c;--ok: #15803d}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{margin:0;font:14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink)}.layout{display:flex;min-height:100vh;width:100%}.side{width:220px;min-width:220px;height:100vh;background:#0f2a2a;color:#d7e6e4;padding:18px 12px;position:sticky;top:0;display:flex;flex-direction:column;overflow-y:auto}.side h1{font-size:16px;margin:0 8px 18px;color:#fff}.side nav{display:flex;flex-direction:column}.side a{display:block;padding:9px 12px;border-radius:8px;color:#bcd2cf;text-decoration:none;margin-bottom:2px}.side a.active,.side a:hover{background:#17403f;color:#fff}.side .who{margin-top:auto;font-size:12px;padding:12px 8px 8px;color:#8fb0ac;border-top:1px solid rgba(255,255,255,.08)}.side .who strong{color:#d7e6e4;word-break:break-word}.side .who .role{margin-top:3px;color:#8fb0ac}.main{flex:1;min-width:0;padding:24px 28px}h2{margin:0 0 16px;font-size:20px}h3{margin:0 0 10px;font-size:15px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:16px}.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-bottom:16px}.stat{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px}.stat b{display:block;font-size:26px}.stat span{color:var(--muted);font-size:12px}.row{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:12px}label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}input,select,textarea{padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #99d5cf}button{padding:8px 14px;border:0;border-radius:8px;background:var(--brand);color:#fff;font:inherit;cursor:pointer}button:hover{background:var(--brand-d)}button.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}button.ghost:hover{background:#f1f5f9}button.danger{background:var(--danger)}button.sm{padding:4px 9px;font-size:12px}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.03em}.scroll{overflow-x:auto}.badge{padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600;background:#e5e7eb}.badge.BOOKED{background:#dbeafe;color:#1e40af}.badge.CONFIRMED{background:#d1fae5;color:#065f46}.badge.CANCELLED{background:#fee2e2;color:#991b1b}.badge.COMPLETED{background:#e0e7ff;color:#3730a3}.badge.NO_SHOW{background:#fef3c7;color:#92400e}.err{color:var(--danger);margin:8px 0}.okmsg{color:var(--ok);margin:8px 0}.muted{color:var(--muted)}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;z-index:10}.modal{background:#fff;border-radius:14px;padding:20px;width:min(520px,92vw);max-height:90vh;overflow:auto}.slots{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.slots button{background:#fff;color:var(--ink);border:1px solid var(--line);padding:5px 10px}.slots button.on{background:var(--brand);color:#fff;border-color:var(--brand)}.split{display:grid;grid-template-columns:260px 1fr;gap:16px}.list button{display:block;width:100%;text-align:left;background:#fff;color:var(--ink);border:1px solid var(--line);margin-bottom:6px}.list button.on{border-color:var(--brand);background:#ecfdf5}.login{max-width:340px;margin:12vh auto}.chat{background:#e9efe9;border-radius:10px;padding:10px;height:300px;overflow:auto;display:flex;flex-direction:column;gap:6px}.bubble{max-width:80%;padding:7px 10px;border-radius:10px;white-space:pre-wrap;background:#fff;align-self:flex-start}.bubble.in{background:#d9fdd3;align-self:flex-end}.opts{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.opts button{background:#fff;color:#0369a1;border:1px solid #bae6fd;padding:3px 8px;font-size:12px}@media (max-width: 800px){.layout{flex-direction:column}.side{width:100%;min-width:0;height:auto;min-height:auto;position:static;flex-direction:column}.side nav{flex-direction:row;flex-wrap:wrap;gap:4px}.side a{margin:0}.side .who{margin-top:12px}.main{padding:18px}.split{grid-template-columns:1fr}}@media print{.side,.noprint{display:none!important}.main{padding:0}}
