*{box-sizing:border-box}:root{--primary:#0f5d7e;--primary-dark:#084967;--accent:#44d3c5;--bg:#f6f9fc;--panel:#fff;--text:#172033;--muted:#6b7280;--border:#e6edf3;--danger:#dc2626;--shadow:0 18px 50px #0f172a14}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}.auth-split{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-info{color:#fff;background:linear-gradient(145deg,#45d6c7,#0f5d7e);align-items:center;padding:72px;display:flex}.auth-info-content{max-width:460px}.auth-info h2{margin:0 0 18px;font-size:42px;line-height:1.05}.auth-info p{color:#ffffffd9;line-height:1.7}.auth-info ul{gap:14px;margin-top:28px;padding-left:20px;display:grid}.auth-form-area{background:#f5f9fc;place-items:center;padding:32px;display:grid}.auth-card{width:100%;max-width:430px;box-shadow:var(--shadow);background:#fff;border-radius:24px;padding:42px}.register-card{max-width:560px}.role-card{max-width:520px}.auth-brand{text-align:center;margin-bottom:30px}.logo-mark{width:62px;height:62px;color:var(--primary);border:2px solid var(--border);background:#fff;border-radius:18px;place-items:center;margin:0 auto 12px;font-size:28px;font-weight:900;display:grid}.auth-brand h1{margin:0;font-size:32px}.auth-brand p{color:var(--muted);margin:10px 0 0}form{gap:16px;display:grid}fieldset{border:0;margin:0;padding:0}.form-section{border:1px solid var(--border);background:#fbfdff;border-radius:14px;gap:14px;padding:16px;display:grid}.form-section legend{color:var(--primary);padding:0 6px;font-size:13px;font-weight:900}.segmented-control{border:1px solid var(--border);background:#f8fafc;border-radius:14px;grid-template-columns:1fr 1fr;gap:6px;padding:5px;display:grid}.segmented-control button{min-height:42px;color:var(--muted);background:0 0;border-radius:10px;font-weight:900}.segmented-control button.active{background:var(--primary);color:#fff}.role-choice-grid{gap:14px;display:grid}.role-choice-card{border:1px solid var(--border);background:#fbfdff;border-radius:16px;grid-template-columns:54px 1fr;align-items:center;gap:4px 14px;min-height:118px;padding:18px;display:grid}.role-choice-card:hover{border-color:var(--primary);box-shadow:0 12px 30px #0f172a14}.role-choice-icon{background:var(--primary);color:#fff;border-radius:50%;grid-row:span 2;place-items:center;width:48px;height:48px;font-weight:900;display:grid}.role-choice-card strong{font-size:18px}.role-choice-card small{color:var(--muted);line-height:1.5}label{gap:8px;font-size:14px;font-weight:800;display:grid}input,select,textarea{border:1px solid var(--border);background:#fff;border-radius:12px;outline:none;width:100%;padding:13px 14px}input:focus,select:focus,textarea:focus{border-color:var(--primary)}.primary-button{background:var(--primary);color:#fff;border-radius:12px;width:100%;padding:13px 16px;font-weight:900}.primary-button:hover{background:var(--primary-dark)}.secondary-button{color:var(--primary);background:#eef6fa;border-radius:10px;padding:11px 14px;font-weight:800}.auth-link{text-align:center;color:var(--muted);margin:22px 0 0}.auth-link a{color:var(--primary);font-weight:900}.error-message{color:var(--danger);margin:0;font-weight:800}.app-shell{grid-template-columns:190px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--primary);color:#fff;flex-direction:column;padding:26px 18px;display:flex}.sidebar-brand{text-align:center;margin-bottom:34px}.sidebar-brand .logo-mark{color:#fff;background:0 0;border-color:#ffffff73;width:42px;height:42px;margin-bottom:8px;font-size:18px}.sidebar-brand h1{margin:0;font-size:18px}.sidebar-brand p{color:#ffffffbf;margin:4px 0 0;font-size:12px}.nav{gap:8px;display:grid}.nav a{color:#ffffffdb;border-radius:12px;padding:12px 14px;font-size:14px}.nav a.router-link-active,.nav a:hover{color:#fff;background:#ffffff24}.logout-button{color:#fff;background:#00000029;border-radius:12px;margin-top:auto;padding:12px 14px;font-weight:800}.main{background:var(--bg);min-width:0}.topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:flex-end;align-items:center;gap:14px;height:68px;padding:0 34px;display:flex}.topbar-user{text-align:right;gap:4px;display:grid}.topbar-user strong{display:block}.topbar-user span{color:var(--muted);font-size:13px;display:block}.profile-orb{background:var(--primary);color:#fff;border:2px solid #d8eef3;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;font-weight:900;display:grid;overflow:hidden}.profile-orb img{object-fit:cover;width:100%;height:100%}.content{padding:34px}.page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-header h2{margin:4px 0 0;font-size:28px}.eyebrow{color:var(--muted);margin:0;font-size:13px}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.search-input{max-width:360px}.filter-toggle{min-height:46px}.filter-panel{border:1px solid var(--border);background:#fff;border-radius:16px;grid-template-columns:minmax(220px,320px) auto;align-items:end;gap:14px;margin:-6px 0 20px;padding:16px;display:grid;box-shadow:0 8px 24px #0f172a0a}.featured-dentist-card{background:#fff;border:1px solid #cfe7ef;border-radius:18px;grid-template-columns:132px 1fr;align-items:center;gap:22px;margin-bottom:22px;padding:22px;display:grid;box-shadow:0 14px 34px #0f5d7e17}.featured-dentist-photo{background:var(--primary);color:#fff;border:5px solid #d8eef3;border-radius:50%;place-items:center;width:132px;height:132px;font-size:42px;font-weight:900;display:grid;overflow:hidden}.featured-dentist-photo img{object-fit:cover;width:100%;height:100%}.featured-dentist-info{min-width:0}.featured-dentist-info h3{margin:4px 0 0;font-size:28px}.featured-dentist-info p{color:var(--muted);margin:7px 0 0;line-height:1.5}.featured-dentist-description{max-width:680px}.cards-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;display:grid}.card{border:1px solid var(--border);background:#fff;border-radius:16px;padding:18px;box-shadow:0 8px 24px #0f172a0a}.clickable-card{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.clickable-card:hover,.clickable-card:focus-visible{border-color:#0f766e59;outline:none;transform:translateY(-1px);box-shadow:0 12px 28px #0f172a14}.card-header{align-items:center;gap:12px;display:flex}.avatar{background:var(--primary);color:#fff;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-weight:900;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.card h3{margin:0;font-size:16px}.card p{color:var(--muted);margin:5px 0 0;font-size:13px}.card-actions{gap:10px;margin-top:16px;display:flex}.status-pill{color:#0f766e;background:#e9f8f6;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.list{gap:12px;display:grid}.list-item{border:1px solid var(--border);background:#fff;border-radius:14px;justify-content:space-between;gap:16px;padding:16px;display:flex}.empty-state{border:1px dashed var(--border);color:var(--muted);text-align:center;background:#fff;border-radius:18px;padding:32px}.loading-page{min-height:100vh;color:var(--muted);place-items:center;display:grid}.app-logo-wrapper{justify-content:center;align-items:center;display:flex}.app-logo-image{object-fit:contain;display:block}.app-logo-wrapper.sm .app-logo-image{width:72px;height:auto}.app-logo-wrapper.md .app-logo-image{width:120px;height:auto}.app-logo-wrapper.lg .app-logo-image{width:180px;height:auto}.app-logo-wrapper.xl .app-logo-image{width:260px;height:auto}.secondary-button{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #d0d7de;border-radius:.75rem;width:100%;margin-top:.75rem;padding:.85rem 1rem;font-weight:600}.secondary-button:disabled{opacity:.6;cursor:not-allowed}.inline-button{white-space:nowrap;width:auto;margin-top:0}.badge{color:#0f766e;background:#e9f8f6;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.agenda-board{gap:22px;display:grid}.agenda-day{border:1px solid var(--border);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #0f172a0a}.agenda-day-header{border-bottom:1px solid var(--border);background:#fbfdff;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.agenda-day-header h3{margin:4px 0 0;font-size:18px}.agenda-count{color:var(--primary);background:#eef6fa;border-radius:999px;flex:none;padding:6px 10px;font-size:12px;font-weight:900}.agenda-list{display:grid}.agenda-item{border-left:5px solid var(--border);grid-template-columns:96px 1fr;gap:18px;padding:18px 20px;display:grid}.agenda-item+.agenda-item{border-top:1px solid var(--border)}.agenda-time{color:var(--muted);align-content:start;gap:4px;padding-top:2px;display:grid}.agenda-time strong{color:var(--text);font-size:16px}.agenda-time span{font-size:13px}.agenda-card{min-width:0}.agenda-card-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.agenda-card-header h3{margin:0;font-size:16px}.agenda-card-header p{color:var(--muted);margin:5px 0 0;font-size:13px}.agenda-meta{gap:3px;margin-top:12px;display:inline-grid}.agenda-meta span{color:var(--muted);font-size:12px;font-weight:800}.agenda-meta strong{color:var(--text);font-size:14px}.agenda-notes{color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.5}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:900;display:inline-flex}.agenda-item.status-pending{border-left-color:#f59e0b}.agenda-item.status-confirmed{border-left-color:#0ea5e9}.agenda-item.status-completed{border-left-color:#16a34a}.agenda-item.status-cancelled{background:snow;border-left-color:#dc2626}.status-badge.status-pending{color:#b45309;background:#fff7ed}.status-badge.status-confirmed{color:#0369a1;background:#e0f2fe}.status-badge.status-completed{color:#15803d;background:#dcfce7}.status-badge.status-cancelled{color:#b91c1c;background:#fee2e2}.muted-text{color:var(--muted);margin:5px 0 0;font-size:13px}.section-block{margin-top:28px}.section-block>h3{margin:0 0 14px}.section-card{margin-top:24px}.compact-header{margin-bottom:18px}.compact-header h2,.compact-header h3{margin:4px 0 0}.metric-card h3{margin-top:8px;font-size:28px}.row-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inline-form{align-items:center;gap:12px;margin-bottom:16px;display:flex}.nested-list{gap:10px;margin-top:14px;display:grid}.chat-grid{grid-template-columns:minmax(260px,340px) 1fr;align-items:start;gap:18px;display:grid}.stacked-form{margin:14px 0 18px}.chat-list{margin-top:14px}.chat-list-item{text-align:left;border:1px solid var(--border);background:#fff;border-radius:12px;gap:4px;width:100%;padding:12px;display:grid}.chat-list-item:hover{border-color:var(--primary)}.chat-list-item span{color:var(--muted);font-size:13px}.chat-panel{flex-direction:column;min-height:520px;display:flex}.messages-list{flex:1;align-content:start;gap:10px;min-height:280px;max-height:460px;padding:8px 0;display:grid;overflow:auto}.message-bubble{border:1px solid var(--border);background:#f8fafc;border-radius:14px;max-width:72%;padding:10px 12px}.message-bubble.own{background:#e9f8f6;border-color:#bdebe5;justify-self:end}.message-bubble p{color:var(--text);margin:0}.message-bubble span{color:var(--muted);margin-top:6px;font-size:12px;display:block}.message-attachment{gap:6px;margin-top:8px;display:grid}.message-attachment img,.message-attachment video{border:1px solid var(--border);object-fit:cover;background:#fff;border-radius:10px;width:min(280px,100%);max-height:260px}.message-attachment video{object-fit:contain}.attachment-link{border:1px solid var(--border);width:fit-content;color:var(--primary);cursor:pointer;background:#fff;border-radius:8px;padding:8px 10px;font-weight:800}.attachment-link:hover{border-color:var(--primary)}.message-form{margin-top:14px}.profile-grid{grid-template-columns:minmax(240px,320px) 1fr;align-items:start;gap:18px;display:grid}.profile-summary{text-align:center;justify-items:center;gap:10px;display:grid}.profile-photo-preview{background:var(--primary);color:#fff;border:4px solid #d8eef3;border-radius:50%;place-items:center;width:112px;height:112px;font-size:34px;font-weight:900;display:grid;overflow:hidden}.profile-photo-preview img{object-fit:cover;width:100%;height:100%}.profile-summary h3{margin:4px 0 0}.details-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.details-list div{border-bottom:1px solid var(--border);padding-bottom:14px}.details-list span{color:var(--muted);margin-bottom:5px;font-size:12px;font-weight:800;display:block}.details-list strong{color:var(--text);font-size:14px;line-height:1.5}.details-list-wide{grid-column:1/-1}.profile-safe-note{color:var(--muted);margin-top:10px;font-size:13px;line-height:1.5}.success-message{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:.75rem;padding:.75rem;font-size:.9rem}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f203357;place-items:center;padding:28px;display:grid;position:fixed;inset:0;overflow:auto}.modal-panel{background:#fff;border:1px solid #fff9;border-radius:20px;width:min(100%,960px);max-height:calc(100vh - 56px);padding:22px;overflow:auto;box-shadow:0 24px 70px #0f172a38}.appointment-modal-panel{width:min(100%,620px)}.profile-modal-panel{width:min(100%,980px)}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.modal-header h2{margin:4px 0 0;font-size:26px}@media (width<=720px){.auth-split{grid-template-columns:1fr}.auth-info{display:none}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.chat-grid,.profile-grid,.inline-form{grid-template-columns:1fr;display:grid}.list-item{display:grid}.filter-panel{grid-template-columns:1fr}.featured-dentist-card{text-align:center;grid-template-columns:1fr;justify-items:center}.featured-dentist-info .row-actions{justify-content:center}.agenda-day-header,.agenda-card-header{display:grid}.agenda-item{grid-template-columns:1fr;gap:10px}.agenda-time{align-items:baseline;gap:8px;display:flex}.modal-backdrop{align-items:start;padding:14px}.modal-panel{max-height:calc(100vh - 28px);padding:16px}.modal-header{display:grid}}
