.chatbox-container{width:100%;height:100vh;display:flex;flex-direction:column;background:#fff;position:relative;overflow:hidden}.chatbox-header{padding:1rem 2rem;background:#fff;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;height:70px;z-index:10}.header-content{display:flex;align-items:center;gap:1rem}.header-icon{width:40px;height:40px;background:#e8f0fe;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--primary)}.header-text{display:flex;flex-direction:column}.header-title{font-size:1.1rem;font-weight:600;color:#1e293b;margin:0}.header-subtitle{font-size:.8rem;color:#64748b;margin:0}.messages-area{flex:1;padding:2rem;overflow-y:auto;background:#f8f9fa;display:flex;flex-direction:column;gap:1.5rem;max-width:100%;margin:0;width:100%}.message{display:flex;gap:1rem;max-width:85%;line-height:1.6}.message.user{align-self:flex-end;flex-direction:row-reverse}.message-avatar{width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#475569}.message.user .message-avatar{background:var(--primary);color:#fff;border:none}.message-content{padding:1rem 1.5rem;border-radius:12px;font-size:.95rem;background:#fff;border:1px solid var(--border-color);box-shadow:0 1px 2px #0000000d;color:#334155;position:relative}.message.user .message-content{background:#e8f0fe;border-color:#dbeafe;color:#1e40af;border-radius:12px 0 12px 12px}.message.assistant .message-content{border-radius:0 12px 12px}.input-area{padding:1.5rem 2rem;background:#fff;border-top:1px solid var(--border-color);display:flex;flex-direction:column;align-items:center;position:relative;z-index:20}.input-form{width:100%;max-width:100%}.input-wrapper{background:#f1f5f9;border-radius:24px;padding:.5rem 1rem;display:flex;align-items:center;gap:.8rem;transition:background .2s,box-shadow .2s;border:1px solid transparent;min-height:56px}.input-wrapper:focus-within{background:#fff;box-shadow:0 4px 12px #00000014;border-color:var(--primary)}.message-input{flex:1;background:transparent;border:none;padding:0;font-size:1rem;line-height:1.5;resize:none;max-height:150px;min-height:24px;font-family:inherit;color:#1e293b;align-self:center;margin-top:2px}.message-input:focus{outline:none}.send-button{background:var(--primary);color:#fff;border:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.send-button:disabled{background:#cbd5e1;cursor:not-allowed}.send-button:hover:not(:disabled){background:var(--primary-hover)}.input-footer{padding-top:.75rem;color:#94a3b8;font-size:.75rem}@media (max-width: 768px){.chatbox-header{padding:.75rem 1rem}.messages-area{padding:1rem}.message{max-width:90%}.input-area{padding:1rem}}.hidden{display:none!important}.fade-in{animation:fadeIn .3s ease-out}.mode-chat,.main-content-area{display:flex;flex-direction:column;flex:1;overflow:hidden;height:100%;position:relative}.dashboard-menu{padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.welcome-section{text-align:center;margin-bottom:3rem}.welcome-section h2{font-size:2rem;margin-bottom:.5rem;background:linear-gradient(135deg,#1e293b,#334155);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dashboard-cards{display:flex;gap:2rem;flex-wrap:wrap;justify-content:center}.dash-card{background:#fff;padding:2rem;border-radius:1.5rem;width:280px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s;text-align:center}.dash-card:hover{transform:translateY(-5px);box-shadow:0 10px 15px -3px #0000001a;border-color:#cbd5e1}.dash-card.accent{border-color:#bfdbfe;background:linear-gradient(to bottom,#eff6ff,#fff)}.dash-icon{font-size:3rem;margin-bottom:1rem}.dash-card h3{margin-bottom:.5rem;color:#1e293b}.dash-card p{color:#64748b;font-size:.9rem;margin-bottom:1.5rem;line-height:1.5}.dash-btn{width:100%;padding:.75rem;border-radius:.75rem;border:none;font-weight:600;cursor:pointer;transition:all .2s;background:#2563eb;color:#fff}.dash-btn.secondary{background:#e2e8f0;color:#475569}.appointments-view{padding:2rem;height:100%;display:flex;flex-direction:column;max-width:800px;margin:0 auto;width:100%}.view-header{display:flex;align-items:center;margin-bottom:2rem;gap:1rem}.back-btn{background:none;border:none;font-size:1rem;color:#64748b;cursor:pointer}.appt-list{display:flex;flex-direction:column;gap:1rem;overflow-y:auto;padding-bottom:2rem}.appt-card{display:flex;align-items:center;background:#fff;padding:1.5rem;border-radius:1rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.appt-date-box{display:flex;flex-direction:column;align-items:center;background:#eff6ff;padding:.75rem;border-radius:.75rem;min-width:70px;margin-right:1.5rem;color:#2563eb}.appt-month{font-size:.75rem;font-weight:700;text-transform:uppercase}.appt-day{font-size:1.5rem;font-weight:700}.appt-details{flex:1}.appt-details h3{margin:0 0 .25rem;color:#1e293b}.appt-spec{color:#64748b;font-size:.9rem;display:block;margin-bottom:.5rem}.appt-time{font-size:.9rem;color:#334155;background:#f1f5f9;padding:.25rem .5rem;border-radius:.5rem;display:inline-block}.appt-status{padding:.5rem 1rem;border-radius:999px;font-size:.8rem;font-weight:600;background:#ecfdf5;color:#059669;text-transform:capitalize}.empty-state{text-align:center;margin-top:4rem;color:#94a3b8}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.header-actions{display:flex;align-items:center;gap:1rem}.menu-btn{padding:.5rem 1rem;border:1px solid #e2e8f0;background:#fff;border-radius:.5rem;font-size:.85rem;cursor:pointer;color:#475569}.user-profile{width:32px;height:32px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem;cursor:pointer}.doctor-card{margin-top:1rem;background:#fff;border-radius:var(--radius-md);padding:1rem;border:1px solid var(--border-color);display:flex;align-items:center;gap:1rem;box-shadow:0 1px 2px #0000000d;transition:all .2s;cursor:pointer}.doctor-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a;border-color:var(--primary)}.doctor-card-icon{width:48px;height:48px;background:#e0e7ff;color:var(--primary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.doctor-details h4{font-size:1rem;margin-bottom:.2rem;color:#1e293b;margin:0 0 .25rem}.doctor-specialty{color:#64748b;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.doctor-edu{font-size:.8rem;color:#64748b;margin-bottom:.25rem}.doctor-desc{font-size:.85rem;color:#475569;line-height:1.4;margin-bottom:1rem}.book-btn{background:var(--primary);color:#fff;border:none;padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-size:.9rem}.doctor-rating{margin-left:auto;font-size:.8rem;color:#059669;background:#ecfdf5;padding:2px 8px;border-radius:12px}.error-alert{position:absolute;top:-60px;left:50%;transform:translate(-50%);background:#fef2f2;color:#991b1b;padding:.75rem 1.5rem;border-radius:20px;font-size:.875rem;font-weight:500;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 12px #0000001a;border:1px solid #fecaca;animation:slideInUp .3s cubic-bezier(.16,1,.3,1);white-space:nowrap;z-index:100}.close-error{background:#0000000d;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer}.typing-dots{display:flex;gap:4px;padding:4px}.typing-dots span{width:6px;height:6px;background:#94a3b8;border-radius:50%;opacity:.6;animation:typing 1s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes slideInUp{0%{transform:translate(-50%,10px);opacity:0}to{transform:translate(-50%);opacity:1}}.appt-actions{display:flex;gap:.5rem;margin-top:1rem}.action-btn{padding:.4rem .8rem;border-radius:6px;font-size:.85rem;cursor:pointer;border:1px solid transparent;transition:all .2s;font-weight:500}.action-btn.secondary{background:#e2e8f0;color:#475569}.action-btn.secondary:hover{background:#cbd5e1}.action-btn.danger{background:#fee2e2;color:#991b1b}.action-btn.danger:hover{background:#fecaca}.appt-status.cancelled{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.profile-modal{max-width:600px;width:90%;padding:0!important;overflow:hidden;display:flex;flex-direction:column;max-height:90vh}.modal-header.profile-header-center{flex-direction:column;text-align:center;background:linear-gradient(to bottom,#eff6ff,#fff);padding:2rem 2rem 1rem;border-bottom:1px solid #e2e8f0}.profile-header-center .doc-avatar{width:80px;height:80px;font-size:2.5rem;margin:0 auto 1rem;background:#fff;box-shadow:0 4px 6px -1px #0000001a;display:flex;align-items:center;justify-content:center;border-radius:50%}.profile-header-center h2{font-size:1.5rem;margin-bottom:.25rem;color:#1e293b}.rating-badge{display:inline-block;background:#ecfdf5;color:#059669;padding:.25rem .75rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-top:.5rem}.profile-body-scroll{padding:2rem;overflow-y:auto;flex:1}.section{margin-bottom:1.5rem}.section h4{font-size:.9rem;text-transform:uppercase;color:#64748b;letter-spacing:.05em;margin-bottom:.5rem;font-weight:700}.section p{color:#334155;line-height:1.6;margin:0}.bg-highlight{background:#f8fafc;padding:1.5rem;border-radius:12px;border:1px solid #e2e8f0}.price-tag{font-size:1.5rem;font-weight:700;color:#2563eb;margin-bottom:.25rem!important}.sub-text{font-size:.85rem;color:#64748b}.view-profile-btn{background:#fff;border:1px solid #cbd5e1;color:#475569;padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-size:.9rem;margin-left:.5rem;transition:all .2s}.view-profile-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#1e293b}.education-list{display:flex;flex-direction:column;gap:1rem}.edu-item{display:flex;align-items:center;gap:1rem;background:#fff;padding:.75rem 1rem;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #00000005}.edu-icon{font-size:1.25rem;background:#f1f5f9;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.edu-degree{font-size:.75rem;color:#64748b;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.1rem}.edu-school{color:#1e293b;font-weight:600;font-size:.95rem}:root{--primary: #2563eb;font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:#1f2937;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--primary: #1a73e8;--primary-hover: #1557b0;--bg-color: #ffffff;--surface-color: #f8f9fa;--border-color: #e2e8f0;--text-primary: #1e293b;--text-secondary: #64748b;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--radius-lg: 12px;--primary-light: #eff6ff;--secondary: #0d9488;--accent: #f43f5e;--bg-main: #f8fafc;--bg-card: #ffffff;--bg-input: #f1f5f9;--text-inverse: #ffffff;--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-floating: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);--font-body: "Inter", system-ui, -apple-system, sans-serif;--font-display: "Outfit", system-ui, sans-serif;--radius-sm: .5rem;--radius-md: .75rem;--radius-full: 9999px;--transition: all .2s cubic-bezier(.4, 0, .2, 1)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-body);background:var(--bg-main);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased;height:100vh;overflow:hidden}#root{height:100%}h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;color:var(--text-primary);letter-spacing:-.025em}@keyframes slideInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:fadeIn .4s ease-out forwards}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.landing-container{height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top center,#f1f5f9,#cbd5e1);text-align:center;padding:2rem;position:fixed;top:0;left:0;width:100%;z-index:50}.landing-title{font-size:3.5rem;margin-bottom:.5rem;background:linear-gradient(135deg,#2563eb,#0d9488);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.landing-subtitle{font-size:1.25rem;color:#64748b;margin-bottom:3rem}.role-cards{display:flex;gap:2rem;justify-content:center;flex-wrap:wrap}.role-card{background:#fff;padding:2rem;border-radius:1.5rem;width:300px;box-shadow:0 10px 15px -3px #0000001a;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:2px solid transparent}.role-card:hover{transform:translateY(-10px);border-color:#2563eb;box-shadow:0 20px 25px -5px #0000001a}.role-icon{font-size:4rem;margin-bottom:1rem}.role-btn{margin-top:1.5rem;padding:.75rem 1.5rem;border-radius:9999px;background:linear-gradient(135deg,#2563eb,#0d9488);color:#fff;font-weight:600;width:100%;border:none;cursor:pointer}.role-btn.secondary{background:#e2e8f0;color:#475569}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}.modal-content{background:#fff;width:90%;max-width:500px;border-radius:1rem;padding:2rem;position:relative;box-shadow:0 25px 50px -12px #00000040;animation:slideUp .3s ease-out}.close-btn{position:absolute;top:1rem;right:1rem;font-size:1.5rem;color:#94a3b8;background:none;border:none;cursor:pointer}.doctor-mini-profile{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.doc-avatar{font-size:2.5rem;background:#eff6ff;width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:50%}.date-strip{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:1.5rem}.date-chip{padding:.5rem 1rem;border-radius:.75rem;border:1px solid #e2e8f0;background:#fff;white-space:nowrap;font-size:.875rem;cursor:pointer;transition:all .2s}.date-chip:hover{background:#f8fafc}.date-chip.active{background:linear-gradient(135deg,#2563eb,#0d9488);color:#fff;border-color:transparent}.slots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.5rem;margin-bottom:2rem}.slot-chip{padding:.5rem;border-radius:.5rem;background:#f1f5f9;color:#1e293b;text-align:center;font-size:.875rem;cursor:pointer;border:none;transition:all .2s}.slot-chip:hover{background:#e2e8f0}.slot-chip.active{background:#10b981;color:#fff}.modal-footer{display:flex;justify-content:flex-end;gap:1rem}.book-confirm-btn{background:#10b981;color:#fff;padding:.75rem 1.5rem;border-radius:9999px;border:none;cursor:pointer;font-weight:600}.book-confirm-btn:disabled{opacity:.5;cursor:not-allowed}.cancel-btn{background:transparent;color:#64748b;font-weight:500;border:none;cursor:pointer}.auth-container{height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#f8fafc,#e2e8f0);position:relative;overflow:hidden}.auth-container:before{content:"";position:absolute;width:600px;height:600px;background:radial-gradient(circle,#2563eb1a,#fff0 70%);top:-100px;right:-100px;border-radius:50%;z-index:0}.auth-card{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:3rem;border-radius:2rem;width:100%;max-width:440px;box-shadow:0 25px 50px -12px #00000026;text-align:center;border:1px solid rgba(255,255,255,.8);position:relative;z-index:10}.auth-header{margin-bottom:2.5rem}.auth-icon-wrapper{width:64px;height:64px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;box-shadow:0 4px 6px -1px #2563eb1a}.auth-card h2{font-size:1.875rem;margin-bottom:.5rem;color:#0f172a;font-weight:700}.auth-subtitle{color:#64748b;font-size:.95rem}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{text-align:left;position:relative}.form-group label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:600;color:#334155;margin-left:.25rem}.input-with-icon{position:relative}.input-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none;transition:color .2s}.form-group input{width:100%;padding:.875rem 1rem .875rem 3rem;border:1px solid #e2e8f0;border-radius:1rem;font-size:1rem;transition:all .2s;background:#f8fafc;color:#1e293b}.form-group input:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 4px #2563eb1a;outline:none}.form-group input:focus+.input-icon,.form-group input:focus~.input-icon{color:#2563eb}.auth-btn{margin-top:1rem;padding:1rem;border-radius:1rem;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:600;border:none;cursor:pointer;font-size:1rem;box-shadow:0 4px 6px -1px #2563eb33;transition:transform .1s,box-shadow .1s}.auth-btn:hover{transform:translateY(-1px);box-shadow:0 10px 15px -3px #2563eb4d}.auth-btn:active{transform:translateY(0)}.auth-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #f1f5f9;font-size:.9rem;color:#64748b}.link-btn{background:none;border:none;color:#2563eb;font-weight:600;cursor:pointer;padding:0;margin-left:.25rem}.link-btn:hover{text-decoration:underline}.error-alert{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;padding:.75rem;border-radius:.75rem;margin-bottom:1.5rem;font-size:.875rem;display:flex;align-items:center;gap:.5rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.slide-up{animation:slideUp .4s ease-out}.slide-in{animation:slideUp .4s ease-out backwards}.spinner-dots span{display:inline-block;width:6px;height:6px;background:#fff;border-radius:50%;margin:0 3px;animation:bounce .6s infinite alternate}.spinner-dots span:nth-child(2){animation-delay:.2s}.spinner-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{to{transform:translateY(-4px)}}
