#customers-ui{--customer-blue:#2468ee;--customer-blue-soft:#edf4ff}.customer-pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.customer-pagehead h1{margin:2px 0 1px;font-size:22px;letter-spacing:-.5px}.customer-pagehead p{margin:0;color:var(--muted);font-size:12px}.customer-page-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.customer-page-actions .btn{min-height:42px;padding-inline:16px}
.customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.customer-stat{display:flex;align-items:center;gap:13px;min-height:108px;padding:18px;border:1px solid #dce5ef;border-top:3px solid #cbd7e5;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(31,55,88,.05)}.customer-stat-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:12px;color:#2770ee;background:#edf4ff}.customer-stat-icon svg{width:23px;height:23px}.customer-stat small{display:block;color:#66758d;font-size:11px;font-weight:650}.customer-stat strong{display:block;margin-top:2px;color:#111827;font-size:24px;line-height:1;font-weight:800;letter-spacing:-.7px}.customer-stat.is-active{border-top-color:#22b983}.customer-stat.is-active .customer-stat-icon{color:#00a875;background:#e6f7f1}.customer-stat.is-paused .customer-stat-icon,.customer-stat.is-debt .customer-stat-icon{color:#65758e;background:#f0f4f8}
.customer-list{overflow:hidden;border:1px solid #dce5ef;border-top:3px solid var(--customer-blue);border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(31,55,88,.05)}.customer-toolbar{display:grid;grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(160px,.8fr)) auto;gap:10px;padding:12px 14px;border-bottom:1px solid #e5ebf2}.customer-toolbar select,.customer-search{min-width:0;width:100%}.customer-search{display:flex;align-items:center;gap:9px;margin:0;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:#8aa0bd;background:#fff}.customer-search svg{width:18px;height:18px;flex:0 0 auto}.customer-search input{min-width:0;width:100%;height:40px;padding:0;border:0;outline:0;background:transparent}.customer-count{min-height:40px;display:flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid #dce5ef;border-radius:8px;color:#63738a;background:#f6f9fc;font-size:11px;font-weight:700;white-space:nowrap}
#customers-ui .tablewrap{margin:0;border:0;border-radius:0}#customers-ui table{min-width:1180px}#customers-ui th{padding:11px 13px;color:#65758c;background:#f7faff;font-size:10px}#customers-ui td{padding:12px 13px;vertical-align:middle}.customer-name{display:flex;align-items:center;gap:10px;min-width:190px}.customer-avatar,.customer-profile-avatar{display:grid;place-items:center;flex:0 0 auto;color:#2368e8;background:linear-gradient(145deg,#e7efff,#f3f7ff);font-weight:800}.customer-avatar{width:38px;height:38px;border-radius:11px;font-size:11px}.customer-name b{display:block}.customer-name .sub{display:block;max-width:230px}.customer-id{color:var(--customer-blue);font-weight:750}.number-cell{text-align:center}.care-pill{padding:6px 9px;border:1px solid #cfdeff;border-radius:999px;color:#2468ee;background:#f0f5ff;font-size:10px;font-weight:700}.customer-actions{display:flex;gap:6px}.customer-action{width:32px;height:32px;display:grid;place-items:center;border:1px solid #dce5ef;border-radius:8px;color:#617796;background:#fff}.customer-action:hover{color:#2468ee;border-color:#abc6ff;background:#f2f6ff}.customer-action svg{width:16px;height:16px}
body .modal:has(.customer-profile){position:relative;width:min(980px,calc(100% - 48px));padding:0;background:#fff}body .modal:has(.customer-profile) .modalhead{top:0;margin:0;padding:17px 22px;background:#fff}body .modal:has(.customer-profile) .modalhead .eyebrow{display:none}body .modal:has(.customer-profile) .modalhead h2{margin:0;font-size:16px}.customer-profile-title{display:flex;align-items:center;gap:12px}.customer-profile-avatar{width:48px;height:48px;border-radius:50%;font-size:13px}.customer-profile-title>span:last-child{display:flex;flex-direction:column;gap:2px}.customer-profile-title small{color:var(--muted);font-size:10px;font-weight:550}.customer-profile{padding:0 22px 82px}.customer-tabs{position:sticky;top:82px;z-index:4;display:flex;gap:6px;overflow:auto;padding:12px 0 10px;border-bottom:1px solid var(--line);background:#fff;scrollbar-width:none}.customer-tabs .btn{min-height:36px;padding:7px 13px;border-color:transparent;color:#65758c;white-space:nowrap}.customer-tabs .btn.selected{color:#2468ee;border-color:#dce8ff;background:#edf4ff}.customer-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.customer-profile-stat{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #dce5ef;border-top:3px solid #ced9e8;border-radius:12px;background:#fff}.customer-profile-stat>span{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:#137dbe;background:#e9f6fd;font-weight:800}.customer-profile-stat>span svg{width:20px;height:20px}.customer-profile-stat:nth-child(2)>span{color:#00a875;background:#e6f7f1}.customer-profile-stat small,.customer-profile-stat strong{display:block}.customer-profile-stat small{color:var(--muted);font-size:10px}.customer-profile-stat strong{margin-top:2px;font-size:18px}.customer-section{margin:0 0 22px}.customer-section h3,.customer-form h3,.customer-care-modal h3{margin:0 0 12px;padding:0 0 9px;border-bottom:1px solid var(--line);color:#182234;font-size:12px;text-transform:uppercase;letter-spacing:.2px}.customer-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 22px}.customer-info-grid small,.customer-info-grid b{display:block}.customer-info-grid small{margin-bottom:4px;color:#718198;font-size:9px;text-transform:uppercase}.customer-info-grid b{overflow-wrap:anywhere;font-size:11.5px}.customer-tab-content{margin-top:18px}.customer-profile .empty{padding:52px 18px;border:1px dashed #dbe4ef;border-radius:11px;background:#fafcff}.customer-profile-footer{position:absolute;left:0;right:0;bottom:0;z-index:6;display:flex;justify-content:flex-end;gap:8px;padding:13px 22px;border-top:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}
.customer-form-code,.customer-care-modal>p{margin:-7px 0 17px;color:var(--muted);font-size:11px}.customer-form h3:not(:first-of-type){margin-top:22px}.customer-care-modal form{padding:14px;border:1px solid #dfe7f0;border-radius:12px;background:#fbfcfe}.customer-care-modal>section{margin-top:22px}.customer-care-timeline{display:grid;gap:10px}.customer-care-timeline article{display:flex;gap:11px;padding:12px;border:1px solid #e1e8f0;border-radius:10px;background:#fff}.customer-care-timeline article>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:#2468ee;background:#edf4ff}.customer-care-timeline svg{width:17px;height:17px}.customer-care-timeline p{margin:3px 0;color:#405065}.customer-care-timeline small{color:var(--muted)}.customer-reminder-list{display:grid;gap:7px}.customer-reminder-list>button{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0e7ef;border-radius:10px;background:#fff;text-align:left}.customer-reminder-list>button:hover{background:#f5f8fc}.customer-reminder-list b,.customer-reminder-list small{display:block}.customer-reminder-list small{margin-top:2px;color:var(--muted)}.customer-reminder-list i{color:#8ea0b8;font-style:normal}
@media(max-width:1100px){.customer-stats{grid-template-columns:1fr 1fr}.customer-toolbar{grid-template-columns:1fr 1fr}.customer-count{grid-column:span 2}.customer-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.customer-pagehead{align-items:flex-start;flex-direction:column}.customer-page-actions{width:100%;justify-content:flex-start}.customer-stats{gap:9px}.customer-stat{min-height:88px;padding:12px}.customer-toolbar{grid-template-columns:1fr}.customer-count{grid-column:auto}body .modal:has(.customer-profile){width:100%}.customer-profile{padding-inline:16px}.customer-profile-stats{grid-template-columns:1fr}.customer-profile-footer{overflow-x:auto;padding:10px 16px}.customer-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.customer-stats{grid-template-columns:1fr}.customer-info-grid{grid-template-columns:1fr}.customer-page-actions .btn{flex:1}.customer-stat{min-height:78px}}
