*{box-sizing:border-box;margin:0;padding:0}body{background-color:#f0f2f5;color:#1a1a2e;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;max-width:100vw;overflow-x:hidden}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.notes-modal-overlay{align-items:center;background:#0006;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.notes-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;display:flex;flex-direction:column;max-height:85vh;max-width:500px;overflow:hidden;position:relative;transition:all .3s ease;width:90%}.notes-modal.wide{max-width:900px}.notes-modal-content-wrapper{display:flex;flex:1 1;overflow:hidden}.notes-modal-body{min-width:320px;padding:1.5rem}.notes-history-sidebar{background:#f8fafc;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding:1.5rem;width:350px}.notes-modal.wide .notes-history-sidebar{border-left:0;width:100%}.notes-history-sidebar h4{border-bottom:1px solid #e2e8f0;color:#334155;font-size:.95rem;font-weight:600;margin:0 0 1rem;padding-bottom:.75rem}.history-list{display:flex;flex-direction:column;gap:1rem;min-width:0}.history-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px #00000005;min-width:0;padding:1rem;transition:all .2s}.history-item:hover{border-color:#cbd5e1;box-shadow:0 4px 6px -1px #0000000d;transform:translateY(-1px)}.history-meta{color:#64748b;flex-wrap:wrap;font-size:.75rem;gap:.5rem;justify-content:space-between;margin-bottom:.75rem}.history-date,.history-meta{align-items:center;display:flex}.history-date{gap:.35rem}.history-status{border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.02em;padding:.15rem .5rem;text-transform:capitalize}.history-status.status-lead{background:#eff6ff;border:1px solid #dbeafe;color:#1e40af}.history-status.status-prospect{background:#fffbeb;border:1px solid #fef3c7;color:#92400e}.history-status.status-interested{background:#ecfeff;border:1px solid #cffafe;color:#155e75}.history-status.status-not-interested{background:#fff7ed;border:1px solid #ffedd5;color:#9a3412}.history-status.status-negotiation{background:#f5f3ff;border:1px solid #ede9fe;color:#5b21b6}.history-status.status-done{background:#ecfdf5;border:1px solid #d1fae5;color:#065f46}.history-status.status-lost{background:#fef2f2;border:1px solid #fee2e2;color:#991b1b}.history-note{color:#334155;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.notes-header-actions{align-items:center;display:flex;gap:.75rem}.notes-history-btn{align-items:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .65rem;transition:all .2s}.notes-history-btn:hover{background:#e2e8f0;color:#1e293b}.notes-modal-footer{align-items:center;background:#fff;border-top:1px solid #f1f5f9;margin-top:0;padding:1rem 1.5rem}.notes-modal-btn.secondary{background:#fff;border:1px solid #e2e8f0;color:#64748b}.notes-modal-btn.secondary:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.history-empty,.history-loading{align-items:center;color:#94a3b8;display:flex;font-size:.9rem;height:100%;justify-content:center;padding:2rem 0}.notes-modal-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:1.25rem}.notes-modal-header h3{color:#1a1a2e;font-size:1.1rem;font-weight:700;margin:0}.notes-modal-close{align-items:center;background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:all .15s}.notes-modal-close svg{height:20px;width:20px}.notes-modal-close:hover{background:#e5e7eb;color:#374151}.notes-modal-body{display:flex;flex:1 1;flex-direction:column;overflow-y:auto;padding:1.25rem}.notes-phone{margin:0 0 .75rem}.notes-phone,.notes-status{color:#374151;font-size:.9rem}.notes-status{margin:0 0 1rem}.notes-textarea-display{background:#fafafa;border:1px solid #d1d5db;border-radius:8px;color:#374151;flex:1 1;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:.85rem;line-height:1.5;max-height:300px;min-height:150px;padding:.75rem;resize:vertical;width:100%}.notes-textarea-display:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.notes-modal-footer{background:#f8fafc;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:.75rem;justify-content:flex-end;padding:1rem 1.25rem}.notes-modal-btn{background:#1c3b90;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:.6rem 1.2rem;transition:all .2s}.notes-modal-btn:hover{background:#15306f}.agent-card-header{padding:1.5rem}.agent-avatar{font-size:1.25rem;height:56px;width:56px}.agent-details h3{font-size:1.1rem}.status-badge.status-lead{background:#dbeafe;color:#1e40af}.status-badge.status-prospect{background:#fef3c7;color:#d97706}.status-badge.status-interested{background:#cffafe;color:#0369a1}.status-badge.status-not-interested{background:#ffedd5;color:#c2410c}.status-badge.status-negotiation{background:#ede9fe;color:#7c3aed}.status-badge.status-done{background:#d1fae5;color:#047857}.status-badge.status-lost{background:#fee2e2;color:#dc2626}.status-badge.status-none{background:#f3f4f6;color:#6b7280}.section-title svg{height:16px;width:16px}.call-btn.whatsapp-btn{background:#25d366}.call-btn.whatsapp-btn:hover{background:#128c7e}.call-btn:disabled{cursor:not-allowed;opacity:.6}.call-btn .spin{animation:spin 1s linear infinite}.phone-select-btn{align-items:center;background:none;border:none;color:#9ca3af;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;padding:0;transition:color .2s}.phone-select-btn .checked,.phone-select-btn:hover{color:#1c3b90}.phone-item.phone-selected{background:#eef2ff;border-color:#1c3b90}.phone-number-col{display:flex;flex:1 1;flex-direction:column;gap:.25rem;min-width:0}.phone-call-status{align-items:center;align-self:flex-start;background:#e0f2fe;border-radius:6px;color:#0369a1;display:inline-flex;font-size:.7rem;font-weight:600;gap:.35rem;padding:.25rem .5rem;white-space:nowrap}.phone-call-status .status-icon{height:14px;width:14px}.phone-status-badges{align-items:center;display:flex;flex-wrap:wrap;gap:.3rem}.phone-call-successful{align-items:center;align-self:flex-start;background:#fef9c3;border:1px solid #fde047;border-radius:6px;color:#854d0e;display:inline-flex;font-size:.7rem;font-weight:600;gap:.35rem;padding:.25rem .5rem;white-space:nowrap}.phone-call-successful svg{height:14px;width:14px}.phone-call-status-group{align-items:center;display:flex;gap:.5rem}.phone-call-time{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;color:#166534;display:inline-flex;font-size:.65rem;font-weight:600;gap:.35rem;padding:.25rem .5rem;white-space:nowrap}.phone-call-time svg{height:12px;width:12px}.show-more-btn{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;margin-top:.75rem;padding:.75rem;transition:all .2s;width:100%}.show-more-btn:hover{background:#e5e7eb;border-color:#d1d5db}.error-message{align-items:center;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;font-size:.9rem;font-weight:500;gap:.75rem;margin-bottom:1rem;padding:.875rem 1rem}.error-message svg{flex-shrink:0;height:18px;width:18px}@media (max-width:768px){.agent-card{margin-bottom:1rem}.property-item{align-items:flex-start;flex-direction:column}.property-right{align-items:flex-start;width:100%}.action-buttons{grid-template-columns:1fr}}.confirm-overlay{align-items:center;background:#00000073;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.confirm-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000002e;padding:1.5rem 1.75rem;text-align:center;width:280px}.confirm-title{color:#1a1a2e;font-size:1rem;font-weight:600;margin:0 0 .4rem}.confirm-number,.confirm-subtitle{color:#4b5563;font-size:.9rem;margin:0 0 1.25rem;word-break:break-all}.confirm-actions{display:flex;gap:.75rem;justify-content:center}.confirm-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:.85rem;font-weight:600;gap:.35rem;padding:.5rem 1.1rem;transition:opacity .15s}.confirm-btn:hover{opacity:.85}.confirm-btn.cancel{background:#f3f4f6;color:#374151}.confirm-btn.ok{background:#25d366;color:#fff}.notes-label-row{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.history-toggle-btn{align-items:center;background:#ecfdf5;border:1px solid #d1fae5;border-radius:6px;color:#059669;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.4rem .75rem;transition:all .2s}.history-toggle-btn:hover{background:#d1fae5;border-color:#6ee7b7}.history-toggle-btn svg{height:14px;width:14px}.history-panel-inline{background:#f0fdf4;border:1px solid #d1fae5;border-radius:8px;margin-bottom:.75rem;max-height:250px;overflow-y:auto;padding:.75rem}.history-empty-inline,.history-loading-inline{color:#6b7280;font-size:.85rem;padding:.75rem;text-align:center}.history-list-inline{display:flex;flex-direction:column;gap:.5rem}.history-item-inline{background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.85rem;padding:.75rem}.history-item-header{align-items:center;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.35rem}.history-status-badge{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;color:#6b7280;display:inline-block;font-size:.7rem;font-weight:600;padding:.25rem .5rem;text-transform:capitalize}.history-status-badge.status-lead{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.history-status-badge.status-prospect{background:#fef3c7;border-color:#fcd34d;color:#d97706}.history-status-badge.status-interested{background:#cffafe;border-color:#a5f3fc;color:#0369a1}.history-status-badge.status-negotiation{background:#f5f3ff;border-color:#ede9fe;color:#5b21b6}.history-status-badge.status-done{background:#ecfdf5;border-color:#d1fae5;color:#065f46}.history-status-badge.status-lost{background:#fef2f2;border-color:#fee2e2;color:#991b1b}.history-item-date{color:#9ca3af;font-size:.7rem;white-space:nowrap}.history-item-notes{color:#4b5563;font-size:.8rem;line-height:1.4;margin:0;word-break:break-word}.batch-call-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;margin:0 3rem;padding:1.5rem}.batch-call-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.batch-call-title{align-items:center;display:flex;gap:.75rem}.batch-call-title svg{color:#1c3b90;height:24px;width:24px}.batch-call-title h2{color:#1a1a2e;font-size:1.4rem;font-weight:700;margin:0}.batch-call-actions{display:flex;gap:.75rem}.batch-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:.85rem;font-weight:600;gap:.5rem;padding:.6rem 1.2rem;transition:all .2s}.batch-btn svg{height:16px;width:16px}.batch-btn.primary{background:#1c3b90;color:#fff}.batch-btn.primary:hover{background:#15306f}.batch-btn.secondary{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151}.batch-btn.secondary:hover{background:#e5e7eb}.batch-btn.danger{background:#fee2e2;color:#dc2626}.batch-btn.danger:hover{background:#fecaca}.batch-btn.small{font-size:.8rem;padding:.4rem .8rem}.batch-btn:disabled{cursor:not-allowed;opacity:.6}.batch-create-form{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:1.5rem;padding:1.5rem}.batch-create-form h3{color:#1a1a2e;font-size:1.1rem;margin:0 0 1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.4rem}.form-group .hint{color:#9ca3af;font-size:.8rem;font-weight:400}.form-group input,.form-group textarea{background:#fff;border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;color:#374151;font-family:inherit;font-size:.9rem;padding:.65rem .85rem;transition:border-color .2s;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#1c3b90;box-shadow:0 0 0 3px #1c3b901a;outline:none}.form-group textarea{min-height:100px;resize:vertical}.form-actions{gap:.75rem;margin-top:1rem}.batch-calls-list{display:flex;flex-direction:column;gap:.75rem}.batch-empty,.batch-loading{color:#6b7280;padding:3rem 1rem;text-align:center}.batch-empty svg,.batch-loading svg{color:#9ca3af;height:40px;margin-bottom:1rem;width:40px}.batch-empty h3{color:#374151;margin:0 0 .5rem}.batch-empty p{font-size:.9rem}.batch-card{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:box-shadow .2s}.batch-card:hover{box-shadow:0 2px 6px #00000014}.batch-card-header{align-items:center;background:#fff;cursor:pointer;display:flex;justify-content:space-between;padding:1rem 1.25rem;transition:background .2s}.batch-card-header:hover{background:#f8fafc}.batch-card-info{display:flex;flex-direction:column;gap:.5rem}.batch-card-name{align-items:center;color:#1a1a2e;display:flex;font-size:.95rem;font-weight:600;gap:.5rem}.batch-card-name svg{color:#1c3b90;height:18px;width:18px}.batch-card-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.batch-status-badge{align-items:center;background:#fef3c7;border-radius:20px;color:#92400e;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;letter-spacing:.5px;padding:.3rem .75rem;text-transform:uppercase}.batch-status-badge .batch-status-icon{height:14px;width:14px}.batch-date,.batch-phone-count{align-items:center;color:#6b7280;display:inline-flex;font-size:.82rem;font-weight:500;gap:.35rem}.batch-card-expand svg{color:#9ca3af;height:20px;transition:transform .2s;width:20px}.batch-card-details{background:#f8fafc;border-top:1px solid #e5e7eb;padding:1rem 1.25rem}.batch-detail-error,.batch-detail-loading{align-items:center;color:#6b7280;display:flex;font-size:.9rem;gap:.5rem;justify-content:center;padding:1.5rem}.batch-detail-error svg,.batch-detail-loading svg{height:20px;width:20px}.batch-stats{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(4,1fr);margin-bottom:1rem}.batch-stat{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem .5rem;text-align:center}.batch-stat-value{color:#1a1a2e;display:block;font-size:1.4rem;font-weight:700}.batch-stat.success .batch-stat-value{color:#10b981}.batch-stat.warning .batch-stat-value{color:#f59e0b}.batch-stat.danger .batch-stat-value{color:#ef4444}.batch-stat-label{color:#6b7280;display:block;font-size:.75rem;font-weight:500;margin-top:.25rem}.batch-recipients{margin-bottom:1rem}.batch-recipients h4{color:#374151;font-size:.9rem;font-weight:600;margin:0 0 .75rem}.recipients-list{display:flex;flex-direction:column;gap:.4rem;max-height:400px;overflow-y:auto}.recipient-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:1rem;justify-content:space-between;padding:.6rem .85rem;transition:all .15s}.recipient-item:hover{border-color:#d1d5db;box-shadow:0 1px 3px #0000000a}.recipient-left{align-items:center;display:flex;flex:1 1;gap:.75rem;min-width:0}.recipient-phone{align-items:center;color:#374151;display:flex;font-size:.88rem;font-weight:500;gap:.5rem}.recipient-phone svg{color:#1c3b90}.recipient-statuses{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.recipient-status-batch{align-items:center;background:#d1fae5;border:1px solid #6ee7b7;border-radius:6px;color:#047857;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .6rem;white-space:nowrap}.recipient-status-batch .status-icon{height:14px;width:14px}.recipient-status-conversation{align-items:center;background:#dbeafe;border:1px solid #93c5fd;border-radius:6px;color:#1e40af;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .6rem;white-space:nowrap}.recipient-status-conversation .status-icon{height:14px;width:14px}.recipient-status-call-successful{background:#fef9c3;border:1px solid #fde047;border-radius:6px;color:#854d0e}.recipient-status,.recipient-status-call-successful{align-items:center;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .6rem;white-space:nowrap}.recipient-status{background:#e0f2fe;border-radius:6px;color:#0369a1;flex-shrink:0}.recipient-status .status-icon{height:14px;width:14px}.batch-detail-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:.5rem}.recipient-lead-status{align-items:center;background:#0000;border:1.5px solid;border-radius:6px;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .6rem;transition:all .15s;white-space:nowrap}.recipient-lead-status:hover{opacity:.8;transform:translateY(-1px)}.recipient-lead-status svg{height:12px;width:12px}@media (max-width:768px){.batch-call-panel{margin:0 1rem;padding:1rem}.batch-call-header{align-items:flex-start;flex-direction:column}.batch-stats{grid-template-columns:repeat(2,1fr)}.batch-card-header{padding:.75rem}}.toast{font-size:.95rem;font-weight:500}.toast svg{flex-shrink:0;height:20px;width:20px}@media (max-width:768px){.toast{bottom:1rem;left:1rem;max-width:calc(100% - 2rem);right:1rem}}.user-management{margin:0 auto;max-width:1200px;padding:20px}.user-management-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.header-left{align-items:center;color:#1a1a1a;display:flex;gap:12px}.header-left h2{font-size:24px;font-weight:600;margin:0}.btn-add-user{align-items:center;background:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .2s}.btn-add-user:hover:not(:disabled){background:#45a049;box-shadow:0 4px 8px #4caf504d;transform:translateY(-1px)}.btn-add-user:disabled{cursor:not-allowed;opacity:.6}.user-form-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:24px;padding:24px}.user-form-card h3{color:#1a1a1a;font-size:18px;font-weight:600;margin:0 0 20px}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.form-group{gap:6px}.form-group label{color:#555;font-size:13px}.form-group input,.form-group select{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:10px 12px;transition:border-color .2s}.form-group input:focus,.form-group select:focus{border-color:#4caf50;outline:none}.form-group input:disabled,.form-group select:disabled{background:#f5f5f5;cursor:not-allowed}.error-text{align-items:center;color:#f44336;display:flex;font-size:12px;gap:4px;margin-top:4px}.form-actions{border-top:1px solid #eee;display:flex;gap:12px;justify-content:flex-end;padding-top:12px}.btn-cancel,.btn-submit{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:10px 20px;transition:all .2s}.btn-cancel{background:#f5f5f5;color:#666}.btn-cancel:hover:not(:disabled){background:#e0e0e0}.btn-submit{background:#4caf50;color:#fff}.btn-submit:hover:not(:disabled){background:#45a049}.btn-cancel:disabled,.btn-submit:disabled{cursor:not-allowed;opacity:.6}.users-list{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.empty-state,.loading-state{align-items:center;color:#999;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.loading-state{gap:12px}.empty-state{gap:8px}.empty-state p{color:#666;font-size:18px;font-weight:500;margin:0}.empty-state span{color:#999;font-size:14px}.users-table{border-collapse:collapse;width:100%}.users-table thead{background:#f9f9f9;border-bottom:2px solid #eee}.users-table th{color:#666;font-size:13px;font-weight:600;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase}.users-table td{border-bottom:1px solid #f0f0f0;color:#333;font-size:14px;padding:16px}.users-table tbody tr:hover{background:#fafafa}.username-cell{color:#1a1a1a;font-weight:500}.role-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 12px;text-transform:capitalize}.role-badge.admin{background:#e3f2fd;color:#1976d2}.role-badge.member{background:#f3e5f5;color:#7b1fa2}.btn-delete{align-items:center;background:#0000;border:none;border-radius:6px;color:#f44336;cursor:pointer;display:inline-flex;justify-content:center;padding:8px;transition:all .2s}.btn-delete:hover:not(:disabled){background:#ffebee;transform:scale(1.1)}.btn-delete:disabled{cursor:not-allowed;opacity:.4}@media (max-width:768px){.user-management{padding:16px}.user-management-header{align-items:stretch;flex-direction:column;gap:16px}.form-row{grid-template-columns:1fr}.users-table{font-size:13px}.users-table td,.users-table th{padding:12px 8px}}.sales-dashboard{background:#f5f7fa;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh}.sales-dashboard svg{flex-shrink:0}.dashboard-header{background:#fff;box-shadow:0 1px 3px #0000000f;overflow-x:hidden;padding:1.5rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{display:flex;flex-direction:column;gap:1.25rem;margin:0 auto;max-width:100%;overflow-x:hidden;padding:0 3rem}.header-top{align-items:center;display:flex;justify-content:space-between}.header-title{align-items:baseline;display:flex;gap:1.25rem}.header-logo{object-ft:contain;display:block;flex-shrink:0;height:auto;width:180px}.header-title h1{color:#1a1a2e;font-size:2.2rem;font-weight:700}.stats-container{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stat-card{align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 4px #0000000f;display:flex;gap:1rem;padding:1.5rem;transition:all .2s}.stat-icon{align-items:center;border-radius:10px;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.stat-icon svg{color:#fff;height:24px;width:24px}.stat-icon.agents{background:#1c3b90}.stat-icon.properties{background:#26b2cd}.stat-icon.leads{background:#f59e0b}.stat-icon.prospects{background:#1c3b90}.stat-icon.interested{background:#06b6d4}.stat-icon.not-interested{background:#f97316}.stat-icon.done{background:#10b981}.stat-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.stat-value{color:#1a1a2e;font-size:2rem;font-weight:700;line-height:1}.stat-label{color:#6b7280;font-size:.85rem;font-weight:500}.stat-percentage{align-items:center;color:#6b7280;display:flex;font-size:.75rem;font-weight:600;gap:.75rem;margin-top:.75rem}.stat-progress-bar{background:#e5e7eb;border-radius:4px;flex:1 1;height:8px;overflow:hidden;position:relative}.stat-progress-fill{border-radius:4px;box-shadow:0 1px 3px #0000001f;height:100%;position:relative;transition:width .8s ease}.stat-progress-fill.leads{background:linear-gradient(90deg,#f59e0b,#fb923c)}.stat-progress-fill.prospects{background:linear-gradient(90deg,#1c3b90,#1c3b90)}.stat-progress-fill.done{background:linear-gradient(90deg,#10b981,#34d399)}.stat-percentage-text{color:#374151;font-size:1.3rem;font-weight:700;min-width:40px;text-align:right}.dashboard-content{margin:0 auto;max-width:100%;overflow-x:hidden;padding:1.5rem 5rem}.filters-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;margin-bottom:1.5rem;margin-left:3rem;margin-right:3rem;overflow:hidden;padding:1.5rem;position:relative}.filters-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.filters-header h2{align-items:center;color:#374151;display:flex;font-size:1.1rem;font-weight:600;gap:.5rem}.clear-filters-btn{align-items:center;background:none;border:none;border-radius:8px;color:#1c3b90;cursor:pointer;display:flex;font-size:.875rem;gap:.25rem;padding:.5rem 1rem;transition:background .2s}.clear-filters-btn:hover{background:#f3f4f6}.filters-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));overflow:hidden}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.filter-input,.filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;max-width:100%;overflow:hidden;padding:.75rem 1rem;transition:all .2s}.filter-input:focus,.filter-select:focus{border-color:#1c3b90;box-shadow:0 0 0 3px #667eea1a;outline:none}.filter-input::placeholder{color:#9ca3af}.call-status-toggle-group{bottom:1.5rem;display:flex;flex-direction:column;gap:.5rem;position:absolute;right:1.5rem}.ios-switch{cursor:pointer;display:inline-block;height:28px;position:relative;width:50px}.ios-switch input{height:0;opacity:0;width:0}.ios-switch .slider{background-color:#ccc;border-radius:28px;bottom:0;left:0;position:absolute;right:0;top:0;transition:.3s}.ios-switch .slider:before{background-color:#fff;border-radius:50%;bottom:3px;box-shadow:0 2px 4px #0003;content:"";height:22px;left:3px;position:absolute;transition:.3s;width:22px}.ios-switch input:checked+.slider{background-color:#1c3b90}.ios-switch input:checked+.slider:before{transform:translateX(22px)}.pagination{align-items:center;display:flex;gap:1.5rem;justify-content:center;margin:0 auto;max-width:100%;padding:2rem 3rem}.pagination-btn{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.pagination-btn:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.pagination-btn:disabled{cursor:not-allowed;opacity:.5}.loading-more,.pagination-info{color:#6b7280;font-size:.875rem;font-weight:500}.loading-more{align-items:center;display:flex;gap:.75rem;justify-content:center;padding:2rem}.loading-more svg{animation:spin 1s linear infinite;height:20px;width:20px}.end-of-results{align-items:center;border-top:1px solid #e5e7eb;color:#9ca3af;display:flex;font-size:.875rem;justify-content:center;margin:2rem auto 0;max-width:100%;padding:2rem 3rem}.agents-grid{column-gap:2rem;columns:420px;margin-left:3rem;margin-right:3rem}.agent-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;break-inside:avoid;display:block;margin-bottom:1.5rem;overflow:hidden;page-break-inside:avoid;transition:box-shadow .2s}.agent-card-header{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:1.75rem}.agent-info{display:flex;gap:1rem}.agent-avatar{align-items:center;background:#1c3b90;border-radius:50%;color:#fff;display:flex;font-size:1.5rem;font-weight:600;height:64px;justify-content:center;width:64px}.agent-details h3{color:#1a1a2e;font-size:1.2rem;font-weight:600;margin-bottom:.5rem}.office-badge{word-wrap:break-word;align-items:center;background:#f3f4f6;border-radius:6px;color:#6b7280;display:inline-flex;font-size:.75rem;font-weight:600;gap:.4rem;line-height:1.4;max-width:250px;padding:.35rem .75rem;white-space:normal}.office-badge svg{height:14px;width:14px}.agent-status{align-items:center;display:flex;gap:.5rem}.status-badge{border-radius:20px;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.35rem .75rem;text-transform:uppercase}.phone-section{border-bottom:1px solid #f3f4f6;padding:1.25rem 1.5rem}.section-title{align-items:center;color:#6b7280;display:flex;font-size:.75rem;font-weight:600;gap:.5rem;letter-spacing:.5px;margin-bottom:1rem;text-transform:uppercase}.phone-list{display:flex;flex-direction:column;gap:.75rem;padding-right:.25rem}.phone-list::-webkit-scrollbar{width:6px}.phone-list::-webkit-scrollbar-track{background:#f3f4f6;border-radius:10px}.phone-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}.phone-list::-webkit-scrollbar-thumb:hover{background:#9ca3af}.phone-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;gap:1rem;justify-content:space-between;padding:.75rem 1rem;transition:all .2s}.phone-info,.phone-item{align-items:center;display:flex}.phone-info{flex:1 1;gap:.75rem;min-width:0}.phone-info>svg{color:#1c3b90;flex-shrink:0;height:20px;width:20px}.phone-number{color:#1a1a2e;flex:1 1;font-size:.95rem;font-weight:600;letter-spacing:.3px}.call-btn{align-items:center;background:#10b981;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:.8rem;font-weight:600;gap:.5rem;justify-content:center;min-width:45px;padding:.6rem 1rem;transition:all .2s;white-space:nowrap}.call-btn:hover{background:#059669}.call-btn svg{height:18px;width:18px}.properties-section{border-bottom:1px solid #f3f4f6;padding:1.25rem 1.5rem}.properties-list{display:flex;flex-direction:column;gap:.75rem;padding-right:.25rem}.properties-list::-webkit-scrollbar{width:6px}.properties-list::-webkit-scrollbar-track{background:#f3f4f6;border-radius:10px}.properties-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}.properties-list::-webkit-scrollbar-thumb:hover{background:#9ca3af}.property-item{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:1rem;justify-content:space-between;overflow:hidden;padding:1rem;transition:all .2s}.property-main{flex:1 1;min-width:0;overflow:hidden}.property-header{align-items:center;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:.75rem;overflow:hidden}.property-right{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:.5rem;justify-content:center}.property-price{color:#1c3b90;font-size:1rem;font-weight:700;white-space:nowrap}.property-badges{flex-wrap:wrap;margin-bottom:.75rem}.property-badges,.property-location{display:flex;gap:.5rem;overflow:hidden}.property-location{align-items:center;background:#f9fafb;border-radius:6px;color:#6b7280;font-size:.85rem;max-width:100%;padding:.5rem .75rem;width:-webkit-fit-content;width:fit-content}.property-location svg{color:#1c3b90;flex-shrink:0;height:14px;width:14px}.property-location span{line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-link{align-items:center;background:#1c3b90;border-radius:6px;color:#fff;display:flex;flex-shrink:0;font-size:.75rem;font-weight:600;gap:.35rem;padding:.5rem .75rem;text-decoration:none;transition:all .2s;white-space:nowrap}.property-link:hover{background:#5568d3}.property-link svg{height:14px;width:14px}.property-type-badge{background:#e0e7ff;color:#4338ca}.property-transaction-badge,.property-type-badge{border-radius:6px;font-size:.7rem;font-weight:600;padding:.25rem .65rem;text-transform:capitalize;white-space:nowrap}.property-transaction-badge{background:#dcfce7;color:#16a34a}.property-portal-badge{align-items:center;background:#dbeafe;border-radius:6px;color:#1e40af;display:flex;font-size:.7rem;font-weight:600;gap:.35rem;padding:.25rem .65rem;text-align:center;white-space:nowrap}.property-portal-badge svg{height:12px;width:12px}.actions-section{padding:1.25rem 1.5rem}.status-notes-container{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.notes-group,.status-group{display:flex;flex-direction:column;gap:.5rem}.input-label{align-items:center;color:#6b7280;display:flex;font-size:.75rem;font-weight:600;gap:.5rem;letter-spacing:.5px;text-transform:uppercase}.input-label svg{height:16px;width:16px}.status-select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1a1a2e;cursor:pointer;font-size:.95rem;font-weight:500;padding:.875rem 1rem;transition:all .2s;width:100%}.status-select:focus{border-color:#1c3b90;box-shadow:0 0 0 3px #667eea1a;outline:none}.notes-input{border:1px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:.9rem;line-height:1.5;max-height:200px;overflow-y:auto;padding:.875rem 1rem;resize:none;transition:all .2s;width:100%}.notes-input:focus{border-color:#1c3b90;box-shadow:0 0 0 3px #667eea1a;outline:none}.notes-input::placeholder{color:#9ca3af}.action-buttons{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 2fr}.action-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem 1.25rem;transition:all .2s}.action-btn svg{height:18px;width:18px}.action-btn.primary{background:#1c3b90;color:#fff}.action-btn.primary:hover:not(:disabled){background:#5568d3}.action-btn.primary:disabled{cursor:not-allowed;opacity:.6}.action-btn.secondary{background:#f3f4f6;border:1px solid #e5e7eb;color:#6b7280}.action-btn.secondary:hover{background:#e5e7eb;color:#374151}.last-contacted{align-items:center;border-top:1px solid #f3f4f6;color:#4b5563;display:flex;font-size:1rem;font-weight:500;gap:.5rem;justify-content:center;margin-top:1rem;padding-top:1rem;text-align:center}.last-contacted svg{height:18px;width:18px}.no-results{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;padding:4rem 2rem;text-align:center}.no-results svg{color:#d1d5db;height:64px;margin-bottom:1rem;width:64px}.no-results h3{color:#374151;font-size:1.25rem;margin-bottom:.5rem}.no-results p{color:#6b7280}.modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.call-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px;max-width:400px;padding:2rem;text-align:center;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.call-modal-icon{align-items:center;animation:pulse 1.5s infinite;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;color:#fff;display:flex;height:80px;justify-content:center;margin:0 auto 1.5rem;width:80px}@keyframes pulse{0%{box-shadow:0 0 0 0 #10b98166}70%{box-shadow:0 0 0 20px #10b98100}to{box-shadow:0 0 0 0 #10b98100}}.call-modal h3{color:#1a1a2e;font-size:1.25rem;margin-bottom:.5rem}.call-modal .calling-number{color:#1c3b90;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.call-modal .calling-agent{color:#6b7280;margin-bottom:1.5rem}.end-call-btn{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:50px;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:.5rem;padding:1rem 2rem;transition:transform .2s}.end-call-btn:hover{transform:scale(1.05)}.toast{align-items:center;animation:slideIn .3s ease;background:#1a1a2e;border-radius:12px;bottom:2rem;box-shadow:0 10px 40px #0003;color:#fff;display:flex;gap:.75rem;padding:1rem 1.5rem;position:fixed;right:2rem;z-index:1001}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.toast.success{background:linear-gradient(135deg,#10b981,#059669)}.toast.error{background:linear-gradient(135deg,#ef4444,#dc2626)}.toast.info{background:linear-gradient(135deg,#26b2cd,#26b2cd)}@media (max-width:768px){.dashboard-header{padding:1rem}.header-content{flex-direction:column;gap:1rem}.header-stats{justify-content:space-around;width:100%}.agents-grid,.filters-grid{grid-template-columns:1fr}.agent-card{margin:0 -.5rem}}.status-lead{background:#dbeafe;color:#26b2cd}.status-prospect{background:#fef3c7;color:#b45309}.status-negotiation{background:#ede9fe;color:#6d28d9}.status-done{background:#dcfce7;color:#16a34a}.status-lost{background:#fee2e2;color:#dc2626}.status-none{background:#f3f4f6;color:#6b7280}.loading-state{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;padding:4rem 2rem;text-align:center}.loading-spinner{margin-bottom:1.5rem}.loading-spinner svg{animation:spin 1s linear infinite;color:#1c3b90;height:48px;width:48px}.loading-state h3{color:#374151;font-size:1.25rem;margin-bottom:.5rem}.loading-state p{color:#6b7280}.error-state{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f;padding:4rem 2rem;text-align:center}.error-icon-wrapper{align-items:center;display:flex;justify-content:center;margin-bottom:1rem}.error-icon{color:#ef4444;height:56px;width:56px}.retry-btn{font-size:1.08rem;padding:.8rem 1.7rem}.retry-icon-wrapper{align-items:center;display:flex}.retry-icon{height:24px;width:24px}.error-state h3{color:#374151;font-size:1.45rem;margin-bottom:.7rem}.error-state p{color:#6b7280;margin-bottom:1.5rem}.retry-btn{align-items:center;background:#1c3b90;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.retry-btn:hover{background:#5568d3}.header-actions{gap:1rem}.header-actions,.view-btn{align-items:center;display:flex}.view-btn{background:#1c3b90;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s}.view-btn:hover{background:#5568d3}.view-btn svg{height:18px;width:18px}.batch-calls-btn{background:#16a34a!important}.batch-calls-btn:hover{background:#15803d!important}.refresh-btn{align-items:center;background:#1c3b90;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s}.refresh-btn:hover{background:#5568d3}.refresh-btn svg{height:18px;width:18px}.logout-btn{align-items:center;background:#dc2626;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s}.logout-btn:hover{background:#b91c1c}.logout-btn svg{height:18px;width:18px}.calling-office{color:#9ca3af;font-size:.85rem;margin-bottom:1rem}.batch-selection-bar{align-items:center;background:#fff;border-top:2px solid #1c3b90;bottom:0;box-shadow:0 -4px 20px #0000001f;display:flex;flex-wrap:wrap;gap:1.5rem;left:0;padding:1rem 2rem;position:fixed;right:0;z-index:200}.batch-bar-info{align-items:center;color:#1c3b90;display:flex;flex-shrink:0;font-weight:600;gap:.5rem;white-space:nowrap}.batch-bar-info svg{height:20px;width:20px}.batch-bar-count{background:#1c3b90;border-radius:12px;color:#fff;font-size:.85rem;font-weight:700;min-width:24px;padding:.2rem .6rem;text-align:center}.batch-bar-selected-list{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;gap:.5rem;min-width:0;overflow:hidden}.batch-bar-chip{align-items:center;background:#eef2ff;border:1px solid #c7d2fe;border-radius:16px;color:#1c3b90;display:inline-flex;font-size:.78rem;font-weight:500;gap:.35rem;padding:.25rem .6rem;white-space:nowrap}.batch-bar-chip button{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:flex;padding:0;transition:color .2s}.batch-bar-chip button:hover{color:#ef4444}.batch-bar-chip.more{background:#f3f4f6;border-color:#e5e7eb;color:#6b7280}.batch-bar-actions{align-items:center;display:flex;flex-shrink:0;gap:.75rem}.batch-bar-name-input{border:1px solid #e5e7eb;border-radius:8px;font-size:.85rem;padding:.5rem .75rem;transition:border-color .2s;width:180px}.batch-bar-name-input:focus{border-color:#1c3b90;box-shadow:0 0 0 2px #1c3b901a;outline:none}.batch-bar-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:.85rem;font-weight:600;gap:.4rem;padding:.55rem 1rem;transition:all .2s;white-space:nowrap}.batch-bar-btn svg{height:16px;width:16px}.batch-bar-btn.clear{background:#f3f4f6;border:1px solid #e5e7eb;color:#6b7280}.batch-bar-btn.clear:hover{background:#fee2e2;border-color:#fecaca;color:#dc2626}.batch-bar-btn.submit{background:#1c3b90;color:#fff}.batch-bar-btn.submit:hover:not(:disabled){background:#5568d3}.batch-bar-btn.submit:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.batch-selection-bar{gap:.75rem;padding:.75rem 1rem}.batch-bar-selected-list{display:none}.batch-bar-name-input{width:120px}}.login-container{align-items:center;background:#f5f7fa;display:flex;justify-content:center;min-height:100vh;padding:20px}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000001a;max-width:400px;padding:40px;width:100%}.login-header{margin-bottom:32px;text-align:center}.login-logo{height:auto;margin-bottom:16px;width:180px}.login-header p{color:#6b7280;font-size:14px;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.login-error{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;font-size:14px;gap:8px;padding:12px 16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#374151;font-size:14px;font-weight:500}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:#9ca3af;left:14px;pointer-events:none;position:absolute}.input-wrapper input{border:2px solid #e5e7eb;border-radius:10px;font-size:15px;outline:none;padding:12px 14px 12px 44px;transition:all .2s ease;width:100%}.input-wrapper input:focus{border-color:#1c3b90;box-shadow:0 0 0 3px #1c3b901a}.input-wrapper input::placeholder{color:#9ca3af}.login-btn{align-items:center;background:#1c3b90;border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;margin-top:8px;padding:14px 24px;transition:all .2s ease}.login-btn:hover:not(:disabled){background:#26b2cd}.login-btn:disabled{cursor:not-allowed;opacity:.7}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:480px){.login-card{padding:32px 24px}}
/*# sourceMappingURL=main.39956d17.css.map*/