.sub-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;display:flex;align-items:center;justify-content:center}.sub-modal{background:#fff;border-radius:12px;padding:32px 28px 24px;max-width:600px;width:94%;position:relative;box-shadow:0 8px 40px rgba(0,0,0,.18);text-align:center}.sub-modal-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:22px;color:#888;cursor:pointer;line-height:1}.sub-modal-close:hover{color:#333}.sub-modal-trial-title{font-size:18px;font-weight:900;margin-top:8px;margin-bottom:4px}.sub-modal-plan-title{font-size:16px;font-weight:700;margin-bottom:16px;color:#444}.sub-modal-table-wrap{overflow-x:auto;margin-bottom:14px}.sub-modal-table{width:100%;border-collapse:collapse;font-size:14px}.sub-modal-table td,.sub-modal-table th{border:1px solid #e0e0e0;padding:10px 12px;text-align:left}.sub-modal-table thead tr{background:#f5f7fa}.sub-branch-label{display:flex;align-items:center;gap:8px;cursor:pointer;margin:0}.sub-modal-total{font-size:16px;margin-bottom:20px;color:#222}.sub-modal-pay-btn{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:12px 32px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}.sub-modal-pay-btn:hover:not(:disabled){background:#1d4ed8}.sub-modal-pay-btn:disabled{background:#93c5fd;cursor:not-allowed}.dashboard-hero{background:white;border-radius:20px;padding:26px;margin-bottom:22px}.dashboard-hero-content{justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.dashboard-hero-content,.hero-info-group{display:flex;align-items:flex-start;gap:16px}.hero-tooth-badge{width:52px;height:52px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;backdrop-filter:blur(6px)}.dashboard-kicker{text-transform:uppercase;font-size:11px;letter-spacing:.1em;opacity:.75;margin-bottom:4px}.dashboard-title{margin:0;font-size:28px;font-weight:700;line-height:1.2}.dashboard-subtitle{margin:5px 0 0;font-size:14px;max-width:540px}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.dashboard-actions .btn{font-size:13px;padding:8px 16px;border-radius:10px;font-weight:600}.custom-watch-btn{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;backdrop-filter:blur(6px);animation:dashboardWatchSlowJump 2.4s ease-in-out infinite;transform-origin:center bottom}.custom-watch-btn:hover{background:rgba(255,255,255,.22);color:#fff;animation-play-state:paused}@keyframes dashboardWatchSlowJump{0%,75%,to{transform:translateY(0)}84%{transform:translateY(-4px)}92%{transform:translateY(-1px)}}.dashboard-hero-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px}.hero-stat-pill{border-radius:12px;padding:11px 14px;display:flex;flex-direction:column;gap:3px;transition:background .2s}.hero-stat-pill:hover{background:rgba(248,250,252,.18)}.hero-stat-pill span{font-size:11px;text-transform:uppercase;letter-spacing:.05em}.hero-stat-pill strong{font-size:24px;font-weight:700;line-height:1}.metric-cards-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:22px}.metric-card{background:#fff;border-radius:16px;padding:18px;display:flex;align-items:center;gap:14px;box-shadow:0 2px 12px rgba(15,23,42,.06);border:1px solid #e7eef8;transition:transform .2s,box-shadow .2s}.metric-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(15,23,42,.1)}.mc-icon-wrap{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.mc-icon-wrap--blue{background:#eff6ff;color:#2563eb}.mc-icon-wrap--amber{background:#fffbeb;color:#d97706}.mc-icon-wrap--teal{background:#f0fdfa;color:#0f766e}.mc-icon-wrap--purple{background:#f5f3ff;color:#7c3aed}.mc-icon-wrap--green{background:#f0fdf4;color:#16a34a}.mc-text{display:flex;flex-direction:column;gap:1px;min-width:0}.mc-text span{font-size:12px;color:#64748b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-text strong{font-size:26px;font-weight:700;color:#0f172a;line-height:1.1}.mc-text small{font-size:11px;color:#94a3b8}.charts-row{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;margin-bottom:0}.chart-card{background:#fff;border:1px solid #e7eef8;border-radius:18px;padding:18px;box-shadow:0 2px 16px rgba(15,23,42,.06);position:relative}.chart-card-wide{overflow:visible}.chart-card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px;gap:8px;flex-wrap:wrap}.chart-title{margin:0;font-size:15px;font-weight:700;color:#0f172a}.chart-subtitle{margin:2px 0 0;font-size:12px;color:#64748b}.range-toggle{display:inline-flex;align-items:center;background:#f1f5f9;border-radius:999px;padding:3px;gap:2px}.range-chip{border:none;background:transparent;color:#475569;font-size:11px;font-weight:600;border-radius:999px;padding:5px 11px;transition:all .18s ease;cursor:pointer}.range-chip.active{background:#2563eb;color:#fff;box-shadow:0 3px 8px rgba(37,99,235,.4)}.range-chip:hover:not(.active){background:rgba(37,99,235,.08);color:#2563eb}.donut-wrap{position:relative;display:flex;justify-content:center}.donut-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.donut-center strong{display:block;font-size:26px;font-weight:700;color:#0f172a;line-height:1}.donut-center span{font-size:11px;color:#64748b}.donut-legend{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:0 4px}.donut-legend-item{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155}.donut-legend-item strong{margin-left:auto;font-size:14px;color:#0f172a}.legend-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.chart-empty{height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8;font-size:13px}.chart-empty i{font-size:32px;opacity:.4}.care-list{display:flex;flex-direction:column;gap:12px;margin-top:4px}.care-row{gap:10px}.care-label,.care-row{display:flex;align-items:center}.care-label{gap:7px;font-size:13px;color:#334155;min-width:110px}.care-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.care-track{flex:1;height:8px;background:#f1f5f9;border-radius:999px;overflow:hidden}.care-fill{height:100%;border-radius:999px;transition:width .6s ease}.care-num{font-size:13px;font-weight:700;color:#0f172a;min-width:28px;text-align:right}.sub-alert{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;font-size:13px}.sub-alert--warn{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.sub-alert--danger{background:#fef2f2;border:1px solid #fecaca;color:#7f1d1d}.sub-alert--info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}.sub-alert i{font-size:16px;flex-shrink:0}.sub-alert-text{display:flex;flex-direction:row;gap:10px;flex:1}.sub-alert-text strong{font-size:13px}.sub-alert button{border:none;border-radius:8px;padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer;background:#d97706;color:#fff;white-space:nowrap}.sub-alert--danger button{background:#dc2626}.section-card{background:#fff;border-radius:18px;border:1px solid #e7eef8;box-shadow:0 2px 16px rgba(15,23,42,.06);overflow:hidden}.section-card-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;gap:10px}.section-card-title{font-size:15px;font-weight:700;color:#0f172a;margin:0}.section-card-body{padding:16px 20px}.badge-count-amber{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;background:#fef3c7;color:#92400e;border-radius:999px;font-size:12px;font-weight:700;padding:0 7px;border:1px solid #fde68a}.clinic-table{margin:0;font-size:13px}.clinic-table thead tr{background:#f8fafc}.clinic-table thead th{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em;padding:11px 14px;border-bottom:1px solid #e7eef8;white-space:nowrap}.clinic-table tbody td{padding:11px 14px;vertical-align:middle;border-bottom:1px solid #f1f5f9;color:#334155}.clinic-table tbody tr:last-child td{border-bottom:none}.clinic-table tbody tr:hover{background:#f8fbff}.row-expanded{background:#f0f9ff!important}.patient-avatar{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:12px;font-weight:700;display:flex;flex-shrink:0}.btn-icon,.patient-avatar{align-items:center;justify-content:center}.btn-icon{width:26px;height:26px;padding:0;border:1px solid #e2e8f0;background:#f8fafc;border-radius:7px;display:inline-flex;color:#64748b;cursor:pointer;transition:all .15s}.btn-icon:hover{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.btn-action{width:30px;height:30px;border:none;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;transition:all .15s;font-weight:600}.btn-action--approve{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.btn-action--approve:hover{background:#16a34a;color:#fff}.btn-action--reject{background:#fff1f2;color:#dc2626;border:1px solid #fecdd3}.btn-action--reject:hover{background:#dc2626;color:#fff}.expanded-row td{background:#f8fbff;padding:0!important}.expanded-details{padding:16px 20px;border-top:2px solid #bfdbfe}.expanded-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.expanded-grid>div{display:flex;flex-direction:column;gap:2px}.expanded-grid .span-2{grid-column:span 2}.expanded-grid label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.expanded-grid span{font-size:13px;color:#1e293b}.table-empty-row{text-align:center;padding:40px 20px!important;color:#94a3b8}.table-empty-row i{font-size:32px;display:block;margin-bottom:8px;opacity:.45}.table-empty-row p{margin:0;font-size:14px}.badge.bg-primary-transparent{background-color:rgba(37,99,235,.12);color:#2563eb;font-weight:600}.text-secondary{color:#6c757d!important}.text-info{color:#0dcaf0!important}.text-success{color:#198754!important}.text-warning{color:#ffc107!important}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff}.avatar-md{width:40px;height:40px;font-size:18px}.avatar-rounded{border-radius:50%}@media (max-width:1400px){.metric-cards-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:1200px){.charts-row{grid-template-columns:1fr}.dashboard-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:992px){.dashboard-title{font-size:24px}.metric-cards-grid{grid-template-columns:repeat(2,1fr)}.dashboard-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.dashboard-hero{padding:16px;border-radius:14px}.dashboard-title{font-size:20px}.hero-info-group{gap:10px}.dashboard-hero-content,.hero-info-group{flex-direction:column}.dashboard-actions{width:100%}.dashboard-actions .btn{flex:1 1 auto;justify-content:center}.dashboard-hero-stats,.metric-cards-grid{grid-template-columns:1fr 1fr}.range-toggle{width:100%;justify-content:space-between}.expanded-grid .span-2{grid-column:span 1}}