.sidebar{width:260px;min-height:100vh;background:#fffffffa;border-right:1px solid #e5e7eb;padding:28px 20px;display:flex;flex-direction:column;transition:transform .3s ease;z-index:1000}.logo-section{margin-bottom:40px;text-align:center}.logo-section img{width:100px;margin-bottom:10px}.menu{list-style:none;padding:0;flex:1}.menu li{margin-bottom:18px}.menu a{text-decoration:none;font-weight:500;color:#374151;font-size:16px}.menu a:hover{color:#2563eb}.logout-btn{background:#ef4444;color:#fff;border:none;padding:12px;border-radius:10px;cursor:pointer}@media(max-width:768px){.mobile-header{display:flex;position:fixed;top:0;left:0;right:0;height:60px;align-items:center;padding:0 16px;background:#fff;border-bottom:1px solid #e5e7eb;z-index:2000}.sidebar{position:fixed;top:60px;left:0;height:calc(100% - 60px);width:260px;background:#fff;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.overlay{position:fixed;inset:0;background:#0006;z-index:900}}.app-layout{display:flex;min-height:100vh}.main-content{flex:1;padding:24px;overflow-y:auto}.mobile-header{display:none}@media(max-width:768px){.mobile-header{display:flex;position:fixed;top:0;left:0;right:0;height:60px;align-items:center;padding:0 16px;background:#fff;border-bottom:1px solid #e5e7eb;z-index:2000}.main-content{margin-top:60px;padding:16px}}.login-page{min-height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background:#f3f4f6}.login-card{background:#fff;width:360px;padding:32px;border-radius:16px;box-shadow:0 12px 30px #0000001f}.login-card h2{margin-bottom:20px;text-align:center}.login-card input{width:100%;padding:12px;margin-bottom:14px;border-radius:8px;border:1px solid #ddd}.login-card button{width:100%;padding:12px;background:#2563eb;color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer}.error{color:red;font-size:14px;margin-bottom:10px;text-align:center}.dashboard-page{padding:24px;width:100%}.dashboard-container{max-width:1400px;margin:0 auto;padding:24px 0}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.dashboard-page h2{margin-bottom:24px}.page-title{font-size:24px;font-weight:700}.import-btn{padding:10px 18px;background:#2563eb;color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease}.import-btn:hover{background:#1e40af}.import-btn:focus,.import-btn:active{outline:none;box-shadow:none}.dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px}.dash-card{background:#fff;border-radius:14px;padding:18px;box-shadow:0 6px 14px #00000014;transition:all .25s ease;position:relative}.dash-card p{font-size:14px;color:#6b7280}.dash-card h1{font-size:32px;margin-top:8px;font-weight:700}.clickable-card,.clickable{cursor:pointer;transition:all .25s ease}.clickable-card:hover,.clickable:hover{transform:translateY(-4px);box-shadow:0 12px 22px #0000001f}.clickable-card:active,.clickable:active{transform:scale(.98)}.dash-card:focus,.dash-card:active,.dash-card:focus-visible,.clickable-card:focus,.clickable-card:focus-visible,.clickable:focus,.clickable:focus-visible{outline:none;box-shadow:0 6px 14px #00000014}a:focus,a:active,a:focus-visible{outline:none;text-decoration:none}.orange{border-left:6px solid #f97316}.purple{border-left:6px solid #8b5cf6}.teal{border-left:6px solid #14b8a6}.dashboard-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-top:24px}.dashboard-panel{background:#fff;border-radius:14px;padding:20px;box-shadow:0 6px 14px #00000014}.dashboard-panel h3{margin-bottom:16px}.recent-lead,.reminder-item,.health-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #eee}.recent-lead:last-child,.reminder-item:last-child,.health-item:last-child{border-bottom:none}.recent-lead p,.reminder-item p{font-size:13px;color:#6b7280}.status{padding:4px 10px;border-radius:14px;font-size:12px;font-weight:600}.status.new{background:#e0f2fe;color:#0369a1}.status.interested{background:#dcfce7;color:#166534}.status.converted{background:#ede9fe;color:#5b21b6}.reminder-title{margin-top:14px;margin-bottom:6px;font-size:14px;font-weight:600}.reminder-title.today{color:#166534}.reminder-title.overdue{color:#991b1b}.reminder-title.upcoming{color:#1e40af}.reminder-badge.today{background:#dcfce7;color:#166534}.reminder-badge.overdue{background:#fee2e2;color:#991b1b}.reminder-badge.upcoming{background:#e0e7ff;color:#1e40af}.stats-list{list-style:none;padding:0}.stats-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee}.stats-list li:last-child{border-bottom:none}.danger{color:#dc2626}.snapshot p{margin-bottom:10px;font-size:14px}.dash-card a,.dash-card a:hover{text-decoration:none!important;color:inherit!important}a{text-decoration:none;color:inherit}@media(max-width:1100px){.dashboard-cards{grid-template-columns:1fr 1fr}.dashboard-grid-3{grid-template-columns:1fr}}@media(max-width:600px){.dashboard-page{padding:16px}.dashboard-header{flex-direction:column;align-items:flex-start}.dashboard-cards{grid-template-columns:1fr}.dash-card h1{font-size:24px}.page-title{font-size:20px}.import-btn{width:100%}}.lead-table-wrapper{width:100%;overflow-x:auto}.lead-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 6px 14px #00000014;min-width:1100px}.lead-table thead{background:#f3f4f6}.lead-table th{padding:14px;text-align:left;font-size:14px;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.lead-table td{padding:14px;font-size:14px;border-bottom:1px solid #e5e7eb;vertical-align:middle}.lead-table tbody tr:hover{background:#f9fafb}.clickable{cursor:pointer;font-weight:500}.actions-cell{min-width:160px}.action-buttons{display:flex;gap:8px;flex-wrap:wrap}.reassign-btn{background:#6366f1;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer}.delete-btn{background:#ef4444;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer}.design-badge{padding:4px 10px;border-radius:12px;font-weight:600}.design-badge.active{background:#dcfce7;color:#166534}.design-badge.zero{background:#fee2e2;color:#991b1b}.project-badge{padding:4px 10px;border-radius:10px;font-size:13px;font-weight:600}.project-badge.active{background:#d1fae5;color:#047857}.project-badge.zero{background:#f3f4f6;color:#6b7280}.source-badge{padding:4px 10px;border-radius:8px;font-size:12px;font-weight:600;display:inline-block}.source-badge.justdial{background:#e0f2fe;color:#0369a1}.source-badge.meta{background:#dcfce7;color:#166534}.source-badge.manual{background:#fef3c7;color:#92400e}.badge-assigned{margin-left:8px;padding:2px 6px;font-size:11px;background:#22c55e;color:#fff;border-radius:6px}.badge-unassigned{margin-left:8px;padding:2px 6px;font-size:11px;background:#f59e0b;color:#fff;border-radius:6px}.row-high{background:#ef444414}.row-medium{background:#f59e0b14}.row-low{background:#22c55e14}@media(max-width:768px){.lead-table{min-width:900px}.action-buttons{flex-direction:column;gap:6px}}.leads-page{padding:24px;width:100%;box-sizing:border-box;overflow-x:auto}.leads-header{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.table-wrapper{width:100%;overflow-x:auto}.clickable{color:#2563eb;cursor:pointer;font-weight:500}.clickable:hover{text-decoration:underline}table{width:100%;border-collapse:collapse;min-width:800px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 6px 14px #00000014}thead{background:#f3f4f6}th,td{padding:14px;text-align:left;font-size:14px;border-bottom:1px solid #e5e7eb}th{font-weight:600;color:#374151}tbody tr:hover{background:#f9fafb}.action-buttons{display:flex;gap:8px}.view-btn{padding:6px 12px;border-radius:6px;border:none;background:#2563eb;color:#fff;cursor:pointer;font-size:13px}.edit-btn{padding:6px 12px;border-radius:6px;border:none;background:#22c55e;color:#fff;cursor:pointer;font-size:13px}.view-btn:hover{background:#1e40af}.loading-wrapper{display:grid;gap:16px}.loading-card{height:70px;background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb,#f3f4f6 75%);background-size:200% 100%;animation:loading 1.4s infinite;border-radius:10px}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.filter-bar{display:flex;gap:12px;flex-wrap:wrap}.filter-bar input,.filter-bar select{padding:8px 12px;border-radius:8px;border:1px solid #ddd;font-size:14px;min-width:200px}.filter-bar input:focus,.filter-bar select:focus{outline:none;border-color:#2563eb}.reset-btn{padding:8px 14px;border-radius:8px;border:none;background:#ef4444;color:#fff;font-size:14px;cursor:pointer}.reset-btn:hover{background:#dc2626}.junk-btn{padding:8px 14px;border-radius:8px;border:none;background:#6b7280;color:#fff;font-size:14px;cursor:pointer}.junk-btn:hover{background:#374151}@media(max-width:768px){.leads-page{padding:12px}h2{font-size:18px}}.add-lead-page{padding:28px 34px;max-width:1400px;margin:auto}.add-lead-page h2{margin-bottom:22px;font-weight:600}.lead-form{display:flex;flex-direction:column;gap:24px}.form-section{background:#fff;padding:24px 28px;border-radius:14px;box-shadow:0 6px 16px #00000014}.form-section h3{margin-bottom:18px;font-size:16px;font-weight:600}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:center}.grid input,.grid select,textarea,input[type=date]{width:100%;height:40px;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;transition:all .2s ease}textarea{height:auto;min-height:90px;resize:none}.grid input:focus,.grid select:focus,textarea:focus,input[type=date]:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb26}.checkbox{display:flex;align-items:center;gap:8px;font-size:14px;margin-top:6px}.radio-group{margin-top:10px}.radio-group p{font-size:14px;font-weight:600;margin-bottom:6px}.radio-group label{margin-right:16px;font-size:14px}.primary-btn{margin-top:6px;padding:12px;width:100%;background:#2563eb;color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease}.primary-btn:hover{background:#1e40af}input[type=date]{max-width:220px}@media(max-width:1400px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:1200px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.add-lead-page{padding:22px}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.grid{grid-template-columns:1fr}}@media(max-width:450px){.add-lead-page{padding:16px}.form-section{padding:20px}.primary-btn{font-size:14px}}.followups-page{padding:28px 34px;max-width:1400px;margin:auto}.page-title{font-size:22px;font-weight:600;margin-bottom:24px;color:#111827}.followup-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:36px}.summary-card{background:#fff;border-radius:14px;padding:20px 24px;box-shadow:0 6px 14px #00000014;transition:all .25s ease}.summary-card:hover{transform:translateY(-4px);box-shadow:0 12px 20px #0000001f}.summary-card p{font-size:13px;color:#6b7280;margin-bottom:4px}.summary-card h1{font-size:34px;font-weight:700;margin:0}.summary-card.today{border-left:6px solid #22c55e}.summary-card.pending{border-left:6px solid #ef4444}.summary-card.total{border-left:6px solid #2563eb}.followup-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.followup-column{background:#f8fafc;padding:22px;border-radius:14px}.followup-column h3{margin-bottom:16px;font-size:18px;font-weight:600;color:#111827}.task-card{background:#fff;border-radius:12px;padding:16px 18px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;gap:14px;box-shadow:0 4px 10px #0000000f;transition:all .2s ease}.task-card:hover{transform:translateY(-2px);box-shadow:0 10px 18px #0000001f}.task-info{flex:1;min-width:0}.task-info h4{margin:0;font-size:15px;font-weight:600;color:#2563eb;cursor:pointer}.task-info h4:hover{text-decoration:underline}.task-info .phone{font-size:13px;color:#374151;margin-top:2px}.task-info .note{font-size:12px;color:#6b7280;margin-top:3px}.badge{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:600;margin-bottom:6px}.badge-today{background:#dcfce7;color:#166534}.badge-pending{background:#fee2e2;color:#991b1b}.badge-complete{background:#e0e7ff;color:#3730a3}.task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-card.completed{opacity:.8;background:#f1f5f9}.call-btn,.wa-btn,.done-btn,.open-btn{padding:6px 12px;border-radius:6px;font-size:12px;text-decoration:none;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.call-btn{background:#2563eb;color:#fff}.call-btn:hover{background:#1d4ed8}.wa-btn{background:#22c55e;color:#fff}.wa-btn:hover{background:#16a34a}.done-btn{background:#6b7280;color:#fff}.done-btn:hover{background:#374151}.open-btn{background:#9333ea;color:#fff}.open-btn:hover{background:#7e22ce}.empty{color:#6b7280;font-size:14px;padding:6px 0}@media(max-width:1100px){.followup-summary{grid-template-columns:repeat(3,1fr)}.followup-grid{grid-template-columns:1fr}}@media(max-width:768px){.followups-page{padding:22px}.followup-summary{grid-template-columns:1fr}.task-card{flex-direction:column;align-items:flex-start;gap:10px}.task-actions{width:100%;justify-content:flex-start}}@media(max-width:480px){.followups-page{padding:18px}.page-title{font-size:20px}.summary-card h1{font-size:28px}.task-actions{gap:6px}.call-btn,.wa-btn,.done-btn,.open-btn{padding:5px 10px;font-size:11px}}.chart-wrapper{width:100%;height:320px}.report-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:32px}.report-card{background:#fff;padding:20px;border-radius:16px;box-shadow:0 6px 14px #00000014}.report-card p{color:#6b7280;font-size:14px}.report-card h1{margin-top:8px;font-size:32px}.blue{border-left:6px solid #3b82f6}.green{border-left:6px solid #22c55e}.red{border-left:6px solid #ef4444}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}.report-panel{background:#fff;padding:24px;border-radius:16px;margin-bottom:32px;overflow:hidden;box-shadow:0 6px 14px #00000014}.report-panel h3{margin-bottom:16px}.report-table{width:100%;border-collapse:collapse}.report-table th,.report-table td{padding:14px;border-bottom:1px solid #e5e7eb}.report-table th{font-weight:600;color:#374151}.role-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;text-transform:capitalize}.role-badge.admin{background:#ede9fe;color:#5b21b6}.role-badge.bda{background:#dcfce7;color:#166534}.role-badge.assistant{background:#e0f2fe;color:#0369a1}.time-chip{padding:4px 10px;border-radius:12px;font-weight:600}.time-chip.ok{background:#dcfce7;color:#166534}.time-chip.danger{background:#fee2e2;color:#991b1b}.pending-item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.badge.danger{background:#fee2e2;color:#991b1b;padding:4px 10px;border-radius:12px}.recharts-wrapper{margin-top:16px}.export-buttons{display:flex;gap:16px;margin-bottom:24px}.export-buttons button{padding:10px 16px;border:none;border-radius:10px;cursor:pointer;background:#2563eb;color:#fff;font-weight:500;transition:.2s ease}.export-buttons button:hover{background:#1d4ed8}.empty{color:#6b7280;font-size:14px}.chart-wrapper{width:100%;min-height:320px}.reports-page{width:100%;max-width:1400px;margin:0 auto}@media(max-width:1100px){.report-cards{grid-template-columns:1fr 1fr}.report-grid{grid-template-columns:1fr}}.lead-details-page{padding:24px 30px;max-width:1500px;margin:0 auto}.details-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;flex-wrap:wrap}.details-header h2{font-size:22px}.edit-btn{padding:8px 14px;background:#22c55e;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px}.edit-btn:hover{background:#15803d}.lead-info{background:#fff;border-radius:12px;padding:22px 26px;box-shadow:0 6px 14px #00000014;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px 26px;margin-bottom:24px}.lead-info p{font-size:14px;color:#374151}.lead-info b{color:#111827}.lead-description{background:#fff;padding:16px 20px;border-radius:12px;box-shadow:0 6px 14px #00000014;margin-bottom:30px}.lead-description p{margin-top:6px;font-size:14px;color:#374151;line-height:1.5}.design-count-badge{padding:5px 12px;border-radius:20px;font-weight:600;font-size:13px}.design-count-badge.active{background:#dcfce7;color:#166534}.design-count-badge.zero{background:#fee2e2;color:#991b1b}.followup-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}.summary-card{background:#fff;padding:16px;border-radius:10px;box-shadow:0 4px 12px #0000000f}.summary-card p{font-size:14px}.summary-card h1{margin-top:6px;font-size:28px}.followup-item{background:#fff;padding:14px;margin-top:12px;border-left:4px solid #2563eb;border-radius:8px;box-shadow:0 4px 10px #0000000d}.followup-item p{font-size:14px}.pagination{display:flex;gap:6px;margin-top:20px;flex-wrap:wrap}.pagination button{padding:6px 10px;border-radius:6px;border:1px solid #ddd;background:#fff;cursor:pointer;font-size:13px}.pagination button.active{background:#2563eb;color:#fff}.pagination button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:1200px){.lead-details-page{padding:22px}}@media(max-width:900px){.lead-info{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.lead-details-page{padding:16px}.lead-info{grid-template-columns:1fr}.details-header{flex-direction:column;align-items:flex-start;gap:10px}.summary-card h1{font-size:24px}}@media(max-width:400px){.edit-btn{width:100%}}.edit-lead-page{padding:20px 30px;max-width:1500px;margin:0 auto}.edit-lead-page h2{font-size:22px;font-weight:600;margin-bottom:20px}.edit-form{background:#fff;padding:28px;border-radius:12px;box-shadow:0 5px 14px #00000014;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border-radius:7px;border:1px solid #dcdcdc;font-size:14px;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f626}.form-group{display:flex;flex-direction:column}.full-width{grid-column:1 / -1;margin-top:8px}.form-group label{margin-bottom:6px;font-weight:600;font-size:14px}.form-group input,.form-group select,.form-group textarea{padding:10px;border-radius:8px;border:1px solid #ddd;font-size:14px;width:100%}textarea{min-height:80px}.form-actions{grid-column:1/-1;display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}.save-btn{padding:10px 18px;border:none;border-radius:8px;background:#22c55e;color:#fff;cursor:pointer}.save-btn:hover{background:#15803d}.cancel-btn{padding:10px 18px;border:none;border-radius:8px;background:#ef4444;color:#fff;cursor:pointer}.cancel-btn:hover{background:#b91c1c}.unwanted-btn{padding:10px 18px;border:none;border-radius:8px;background:#f97316;color:#fff}.add-desc-btn{margin-top:10px;padding:8px 14px;border:none;border-radius:6px;background:#3b82f6;color:#fff;cursor:pointer}@media(max-width:1200px){.edit-form{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.edit-form{grid-template-columns:1fr}}@media(max-width:500px){.edit-lead-page{padding:15px}.edit-form{padding:18px}}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-layout{display:flex;height:100vh;overflow:hidden}.main-content{flex:1;padding:24px;overflow-y:auto;overflow-x:hidden}.app-content{flex:1;padding:32px;background:#f5f7fb;overflow-x:hidden}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}*{box-sizing:border-box}html,body,#root{height:100%;overflow-x:hidden}body{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;background:#f5f7fb;margin:0;overflow:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.side-link{display:block;padding:10px 12px;margin-bottom:8px;border-radius:8px;color:#111827;text-decoration:none;font-weight:500}.side-link:hover{background:#f3f4f6}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
