/* Usama CRM unified clean layout */
#leadsTable,#ownersTable{border-collapse:separate!important;border-spacing:0!important;width:100%!important;table-layout:fixed!important}
#leadsTable th,#leadsTable td,#ownersTable th,#ownersTable td{text-align:left!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid rgba(148,163,184,.08)!important;padding:8px 10px!important;white-space:normal!important}
#leadsTable th,#ownersTable th{height:44px!important;color:#91a0b5!important;font-size:11px!important;font-weight:700!important;letter-spacing:.25px!important;background:#07101a!important;position:sticky!important;top:0!important;z-index:2!important}
#leadsTable td,#ownersTable td{height:52px!important;font-size:13px!important;color:#edf3fa!important;background:#050a11!important}
#leadsTable tr:hover td,#ownersTable tr:hover td{background:#08121d!important}
#leadsTable td:first-child,#leadsTable th:first-child,#ownersTable td:first-child,#ownersTable th:first-child{padding-left:14px!important}
#leadsTable td,#leadsTable th{text-align:left!important}
#leadsTable td:nth-child(1),#leadsTable th:nth-child(1){width:14%!important}
#leadsTable td:nth-child(2),#leadsTable th:nth-child(2){width:13%!important}
#leadsTable td:nth-child(3),#leadsTable th:nth-child(3){width:16%!important}
#leadsTable td:nth-child(4),#leadsTable th:nth-child(4){width:9%!important}
#leadsTable td:nth-child(5),#leadsTable th:nth-child(5){width:8%!important}
#leadsTable td:nth-child(6),#leadsTable th:nth-child(6){width:12%!important}
#leadsTable td:nth-child(7),#leadsTable th:nth-child(7){width:20%!important}
#leadsTable td:nth-child(8),#leadsTable th:nth-child(8){width:8%!important}
#leadsTable .profileBtn,#leadsTable .callBtn,#leadsTable .copyBtn,#leadsTable .waBtn,#leadsTable button,#ownersTable .profileBtn,#ownersTable .callBtn,#ownersTable .copyBtn,#ownersTable .waBtn{margin:2px 4px 2px 0!important;vertical-align:middle!important}
#leadsTable td:last-child>div,#ownersTable td:last-child>div{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:wrap!important}
#leadsTable .remarksInput,#ownersTable .remarksInput{min-height:34px!important;max-height:74px!important;width:100%!important;text-align:left!important;padding:8px 9px!important;border-radius:8px!important}
#leadsTable .remarkBox,#ownersTable .remarkBox{display:flex!important;align-items:flex-start!important;gap:6px!important;min-width:220px!important}
#leadsTable .saveRemarkBtn,#ownersTable .saveRemarkBtn{position:static!important;flex:0 0 auto!important;margin:0!important;height:34px!important}
#leadDetailModal .activityItem,#ownerProfileModal .activityItem,.activityTimeline>div{position:relative!important;padding-right:120px!important}
.crmEditScheduleBtn{display:inline-flex;align-items:center;justify-content:center;margin-top:9px;padding:7px 10px;border-radius:8px;border:1px solid #31506e;background:#0b1724;color:#d9edff;font:600 11px Poppins,sans-serif;cursor:pointer}
.crmEditScheduleBtn:hover{background:#10243a;border-color:#1687df}
.crmCalendarBadge{position:absolute!important;top:7px!important;right:7px!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font:700 10px Poppins,sans-serif!important;align-items:center!important;justify-content:center!important;line-height:1!important;box-shadow:0 0 0 2px #050a11!important;z-index:20!important}
.crmPipelineOrdered{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
[data-crm-status]{transition:.16s!important}
[data-crm-status="new"]{background:#111827!important;border-color:#374151!important;color:#d1d5db!important}
[data-crm-status="contacted"]{background:#12263d!important;border-color:#4ea7ff!important;color:#bfe1ff!important}
[data-crm-status="call-back"]{background:#3a2208!important;border-color:#f59e0b!important;color:#ffd48a!important}
[data-crm-status="interested"]{background:#0f3523!important;border-color:#22c55e!important;color:#b8f7cb!important}
[data-crm-status="viewing"]{background:#0c2f3b!important;border-color:#22d3ee!important;color:#bdf7ff!important}
[data-crm-status="visit-done"]{background:#173d18!important;border-color:#7ed957!important;color:#d6ffc6!important}
[data-crm-status="negotiation"]{background:#2f1b46!important;border-color:#a855f7!important;color:#e8c8ff!important}
[data-crm-status="won"]{background:#0c382b!important;border-color:#10b981!important;color:#b7f7df!important}
[data-crm-status="lost"]{background:#3a1519!important;border-color:#ef4444!important;color:#ffc5ca!important}
[data-crm-legacy-reminder-hidden="1"]{display:none!important}
.crmReminderHeader{margin-bottom:10px}.crmReminderHeader h2{margin:0;font-size:18px}.crmReminderHeader p{margin:3px 0 0;color:#91a0b5;font-size:11px}.crmReminderHeader button{border:1px solid #26384d;background:#0b1420;color:#eef4ff;border-radius:7px;padding:7px 10px;font:600 10px Poppins,sans-serif;cursor:pointer}.crmReminderCards{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.crmReminderCard{width:210px;min-height:88px;border:1px solid #1b2a3c;border-radius:11px;padding:12px 13px;background:#050a11;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden}.crmReminderCard:before{content:"";position:absolute;left:0;right:0;top:0;height:2px}.crmReminderCard.today:before{background:#1687df}.crmReminderCard.upcoming:before{background:#8b5cf6}.crmReminderCard div{display:flex;flex-direction:column}.crmReminderCard span{font-size:11px;font-weight:700;color:#a8b5c8}.crmReminderCard strong{font-size:28px;line-height:1;margin-top:7px;color:#fff}.crmReminderCard a{border:1px solid #2a4058;background:#0b1623;color:#eef4ff;border-radius:7px;padding:7px 10px;font:600 10px Poppins,sans-serif;text-decoration:none;white-space:nowrap}.crmReminderCard a:hover{border-color:#3b82f6;background:#10243a}.crmReminderLoading{padding:16px;text-align:center;color:#91a0b5;font-size:11px}
@media(max-width:760px){#leadsTable th,#leadsTable td,#ownersTable th,#ownersTable td{padding:7px 8px!important}.crmEditScheduleBtn{width:100%}#leadsTable{min-width:1100px!important}.crmCalendarBadge{top:4px!important;right:4px!important}.crmPipelineOrdered{gap:8px!important}.crmReminderHeader h2{font-size:17px}.crmReminderCards{gap:8px}.crmReminderCard{width:calc(50% - 4px);min-height:78px;padding:10px}.crmReminderCard strong{font-size:24px}.crmReminderCard a{padding:6px 8px;font-size:9px}}
@media(max-width:460px){.crmReminderCard{width:100%}}