.customer-page{max-width:1340px;margin:0 auto}.customer-title{display:flex;align-items:flex-end;justify-content:space-between;margin:0 2px 20px}.customer-demo{display:flex;align-items:center;gap:7px;color:#2b82ed;font-size:10px;font-weight:800;letter-spacing:.55px}.customer-demo i{width:7px;height:7px;border-radius:50%;background:#1abc70;box-shadow:0 0 0 4px #dff7ea}.customer-title h1{margin:7px 0 4px;font:800 25px Manrope,sans-serif;color:#15253c}.customer-title p{margin:0;color:#6b7a90;font-size:12px}.customer-primary{border:1px solid #197df0;border-radius:7px;background:#197df0;color:#fff;padding:10px 14px;font:700 11px "DM Sans";box-shadow:0 7px 13px #197df034;cursor:pointer}.customer-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:9px}.customer-search{display:flex;align-items:center;gap:6px;width:280px;height:35px;border:1px solid #dce5ef;border-radius:6px;padding:0 10px;background:#fff;color:#247de9}.customer-search input{width:100%;border:0;outline:0;font:10.5px "DM Sans";color:#33425a}.customer-controls select,.customer-controls label:not(.customer-search){height:35px;border:1px solid #dce5ef;border-radius:6px;background:#fff;padding:0 9px;color:#536278;font:10px "DM Sans"}.customer-controls label:not(.customer-search){display:flex;align-items:center;gap:5px}.customer-controls input{accent-color:#207eee}.customer-privacy{margin:0 0 12px;padding:8px 10px;border:1px solid #d6e7fa;border-radius:7px;background:#f5faff;color:#577999;font-size:9.5px}.customer-card,.customer-profile,.customer-payment-form{background:#fff;border:1px solid #e2e8f0;border-radius:9px;box-shadow:0 3px 11px #15305007;overflow:hidden}.customer-card>header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px 10px}.customer-card h2,.customer-payment-form h2{margin:0;color:#1a2a40;font:800 13px Manrope,sans-serif}.customer-card header small{display:block;margin-top:4px;color:#8996a7;font-size:9px}.customer-export,.customer-edit,.customer-view{border:1px solid #d7e5f4;border-radius:5px;background:#fff;color:#3973b4;padding:6px 8px;font:700 9px "DM Sans";cursor:pointer}.customer-edit{margin-left:4px}.customer-table-wrap{overflow:auto}.customer-list-table,.customer-history-table,.customer-ledger-table{width:100%;min-width:930px;border-collapse:collapse;font-size:10px}.customer-list-table th,.customer-history-table th,.customer-ledger-table th{padding:11px 10px;background:#f7f9fc;color:#64738a;text-align:left;font-size:9px;white-space:nowrap}.customer-list-table td,.customer-history-table td,.customer-ledger-table td{padding:10px;border-top:1px solid #edf1f5;color:#445268;white-space:nowrap}.customer-list-table td>b,.customer-history-table td>b,.customer-ledger-table td>b{color:#27374c;font-size:10.5px}.customer-id{font-size:8.5px;color:#576980}.customer-outstanding{color:#d17d16;font-weight:800}.customer-tag{display:inline-block;padding:4px 8px;border-radius:13px;font-size:8.5px;font-weight:800}.customer-tag.active,.customer-tag.paid{background:#e6f8ed;color:#13a260}.customer-tag.inactive{background:#f1f3f5;color:#768494}.customer-tag.credit{background:#fff1dc;color:#dc8a16}.customer-tag.sale{background:#eaf3ff;color:#2877df}.customer-tag.credit-sale{background:#fff1dc;color:#dc8a16}.customer-tag.payment{background:#e6f8ed;color:#15955d}.customer-profile{padding:13px 15px;margin-bottom:12px}.customer-back{border:0;background:transparent;color:#287ee8;font:700 10px "DM Sans";cursor:pointer;padding:0}.customer-profile-top{display:flex;align-items:center;gap:11px;margin-top:10px}.customer-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#8f64e8,#5a3ea7);color:#fff;font:800 12px Manrope}.customer-profile-top h2{margin:0;color:#1d2d43;font:800 16px Manrope,sans-serif}.customer-profile-top p{margin:3px 0;color:#66758b;font-size:10px}.customer-profile-top small{color:#8794a5;font-size:9px}.customer-profile-top .customer-tag{margin-left:auto}.customer-edit-profile{border:1px solid #d7e5f4;background:#fff;border-radius:5px;color:#3973b4;padding:7px 9px;font:700 9px "DM Sans";cursor:pointer}.customer-summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.customer-summary-cards article{padding:10px 12px;border:1px solid #e3ebf3;border-radius:7px;background:#fbfdff}.customer-summary-cards span,.customer-summary-cards small{display:block;color:#738197;font-size:9px}.customer-summary-cards b{display:block;margin:5px 0;color:#1d2d43;font:800 16px Manrope}.customer-summary-cards b.paid{color:#14965a}.customer-summary-cards b.due{color:#d57d17}.customer-tabs{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid #dfe7ef}.customer-tabs button{border:0;background:transparent;color:#6c7b90;padding:10px 14px;font:700 10px "DM Sans";cursor:pointer;border-bottom:2px solid transparent}.customer-tabs button.active,.customer-tabs button:hover{color:#217ee9;border-bottom-color:#217ee9}.customer-history-table a,.customer-ledger-table a{color:#1e7eee;text-decoration:none;font-weight:700}.customer-ledger-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:12px}.customer-ledger-controls label{display:grid;gap:4px;color:#68778c;font-size:8.5px;font-weight:700}.customer-ledger-controls input,.customer-ledger-controls select,.customer-ledger-controls button{height:34px;border:1px solid #dce5ef;border-radius:6px;background:#fff;padding:0 9px;color:#516076;font:10px "DM Sans"}.customer-ledger-controls button{color:#1979e8;background:#f3f8ff;border-color:#cfe2fb;font-weight:700;cursor:pointer}.customer-ledger-controls span{flex:1}.customer-debit{color:#d27c16}.customer-credit{color:#15965a}.customer-payment-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.customer-payment-form>header{display:block;padding:15px 17px 10px}.customer-payment-form header span{display:block;margin-top:4px;color:#8794a5;font-size:9px}.customer-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:5px 17px 16px}.customer-payment-grid label{display:grid;gap:5px;color:#64738a;font-size:9px;font-weight:700}.customer-payment-grid label.wide{grid-column:span 2}.customer-payment-grid input,.customer-payment-grid select,.customer-payment-grid textarea{height:34px;border:1px solid #dce5ef;border-radius:6px;padding:0 9px;background:#fbfdff;color:#2a3a51;font:10px "DM Sans";outline-color:#8ec0f8}.customer-payment-grid textarea{height:65px;padding:9px;resize:vertical}.customer-amount{display:flex;align-items:center;border:1px solid #dce5ef;border-radius:6px;overflow:hidden;padding-left:9px;color:#237eea}.customer-amount input{width:100%;border:0;border-radius:0}.customer-payment-form footer,.customer-form footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 17px;border-top:1px solid #e8eef4}.customer-cancel{height:35px;border:1px solid #dce5ef;border-radius:6px;background:#fff;color:#59697c;padding:0 13px;font:700 10px "DM Sans";cursor:pointer}.customer-payment-history>div{display:grid;grid-template-columns:31px 1fr auto;gap:9px;align-items:center;padding:11px 14px;border-top:1px solid #edf1f5}.customer-payment-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e6f8ed;color:#15965a}.customer-payment-history section b{display:block;color:#2b3a50;font-size:10px}.customer-payment-history section small,.customer-payment-history section em{display:block;margin-top:3px;color:#8290a2;font-size:8.5px;font-style:normal}.customer-payment-history strong{color:#15965a;font-size:10px}.customer-future{margin:9px 0;color:#7c8e9f;text-align:center;font-size:9px}.customer-form-backdrop{z-index:60;padding:20px}.customer-form{width:min(800px,96vw);max-height:92vh;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 24px 70px #08233b6b;overflow:hidden}.customer-form>header{display:flex;align-items:flex-start;justify-content:space-between;padding:19px 22px 15px;border-bottom:1px solid #e9eef3}.customer-form>header span{color:#287ee9;font-size:9px;font-weight:800;letter-spacing:.5px}.customer-form h2{margin:6px 0 4px;font:800 20px Manrope,sans-serif;color:#17263d}.customer-form header p{margin:0;color:#728197;font-size:10px}.customer-form header button{border:0;background:#f2f5f8;border-radius:50%;width:28px;height:28px;font-size:20px;color:#506075;cursor:pointer}.customer-form-body{overflow:auto;padding:17px 22px}.customer-form-body section+section{margin-top:18px}.customer-form-body h3{margin:0 0 11px;color:#24344c;font:800 12px Manrope}.customer-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.customer-form-grid label{display:grid;gap:5px;color:#64738a;font-size:9px;font-weight:700}.customer-form-grid label.wide{grid-column:span 3}.customer-form-grid input,.customer-form-grid select,.customer-form-grid textarea{height:34px;border:1px solid #dce5ef;border-radius:6px;padding:0 9px;background:#fbfdff;color:#293950;font:10.5px "DM Sans";outline-color:#8abbf5}.customer-form-grid textarea{height:60px;padding:9px;resize:vertical}.customer-active-switch{display:flex;align-items:center;gap:9px;margin-top:11px;padding:10px;border:1px solid #e1e8f0;border-radius:7px;cursor:pointer}.customer-active-switch input{display:none}.customer-active-switch>span{width:33px;height:18px;border-radius:10px;background:#ccd5df;position:relative;flex:none}.customer-active-switch>span:after{content:"";position:absolute;width:14px;height:14px;top:2px;left:2px;border-radius:50%;background:#fff;transition:.18s}.customer-active-switch input:checked+span{background:#1a9bdf}.customer-active-switch input:checked+span:after{left:17px}.customer-active-switch b{display:block;color:#2c3b51;font-size:10px}.customer-active-switch small{display:block;margin-top:3px;color:#8190a3;font-size:8.5px}@media(max-width:1050px){.customer-summary-cards{grid-template-columns:1fr 1fr}.customer-payment-layout{grid-template-columns:1fr}.customer-payment-history{display:none}}@media(max-width:720px){.customer-title{align-items:flex-start}.customer-title h1{font-size:20px}.customer-search{width:100%}.customer-controls>*{flex:1}.customer-summary-cards{grid-template-columns:1fr 1fr}.customer-profile-top{flex-wrap:wrap}.customer-profile-top .customer-tag{margin-left:0}.customer-tabs{overflow:auto}.customer-tabs button{white-space:nowrap}.customer-ledger-controls>*{flex:1}.customer-ledger-controls span{display:none}.customer-payment-grid,.customer-form-grid{grid-template-columns:1fr}.customer-payment-grid label.wide,.customer-form-grid label.wide{grid-column:auto}.customer-form{max-height:96vh}.customer-form-body{padding:15px}.customer-form>header,.customer-form footer{padding-left:15px;padding-right:15px}}
