@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--navy:#102743;--navy2:#19385c;--blue:#1677ff;--text:#13223b;--muted:#71809a;--line:#e8edf5;--bg:#f5f8fd}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:13px}.app-shell{min-height:100vh;display:flex}.sidebar{width:242px;flex:0 0 242px;background:linear-gradient(165deg,#102642,#172f50 72%,#102743);color:white;padding:22px 12px 18px;display:flex;flex-direction:column;min-height:100vh;transition:.25s;z-index:5}.brand{display:flex;gap:10px;align-items:center;padding:0 8px 28px}.brand-mark{width:45px;height:42px;border-radius:12px;background:linear-gradient(135deg,#17a8ff,#1de0b2 55%,#f74d7b);display:grid;place-items:center;font-weight:900;font-size:25px;color:#102743;transform:skew(-8deg)}.brand strong{font-size:19px;display:block;letter-spacing:.4px}.brand span,.brand small{display:block;font-size:9px;letter-spacing:.7px;margin-top:2px}.brand small{color:#b8c9df;font-size:8px}.nav{display:grid;gap:8px}.nav-item{color:#d8e3f3;text-decoration:none;padding:13px 14px;display:flex;align-items:center;gap:13px;border-radius:10px;font-size:13px;font-weight:500;transition:.18s}.nav-item:hover{background:#ffffff14;color:#fff}.nav-item.active{background:linear-gradient(110deg,#1685ff,#1768e9);color:#fff;box-shadow:0 7px 18px #0069e633}.nav-icon{font-size:21px;width:23px;text-align:center}.chevron{margin-left:auto;font-size:22px;color:#9fb4cf}.sidebar-footer{margin-top:auto;padding:16px 12px 0;border-top:1px solid #ffffff18;color:#d4e2f3;font-size:11px}.status-dot{display:inline-block;width:7px;height:7px;background:#1dd79b;border-radius:50%;margin-right:7px}.sidebar-footer small{display:block;color:#91a6c2;margin:8px 0 0 15px;font-size:10px}.main{min-width:0;flex:1}.topbar{height:68px;background:#fff;border-bottom:1px solid #eaf0f7;display:flex;align-items:center;padding:0 28px;gap:22px;position:sticky;top:0;z-index:4}.icon-button{border:0;background:transparent;color:#183454;font-size:22px;cursor:pointer;position:relative;padding:7px}.menu-button{font-size:20px}.search{height:40px;max-width:500px;flex:1;background:#f1f5fb;border:1px solid #edf1f7;border-radius:24px;display:flex;align-items:center;padding:0 15px;gap:11px;color:#58708f}.search span{font-size:25px}.search input{border:0;outline:0;background:transparent;width:100%;font:inherit;color:var(--text)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.notification i{position:absolute;right:1px;top:1px;background:#ff405a;color:white;font-size:9px;font-style:normal;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.profile{display:flex;align-items:center;gap:10px;margin-left:7px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#dce9ff,#a9c7f7);color:#174b92;font-weight:800;font-size:16px}.profile strong,.profile small{display:block}.profile strong{font-size:12px}.profile small{color:var(--muted);font-size:10px;margin-top:3px}.profile>span{margin-left:8px;color:#71809a}.page-content{padding:20px 22px 14px;max-width:1900px;margin:auto}.welcome-banner{min-height:100px;border-radius:14px;background:linear-gradient(105deg,#e7f2ff 0%,#e9eaff 57%,#f0e6ff 100%);display:flex;align-items:center;padding:18px 26px;position:relative;overflow:hidden;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.4px;color:#3973c7;font-weight:800;margin:0 0 6px}.welcome-banner h1{font-size:23px;letter-spacing:-.6px;margin:0 0 8px;font-weight:800}.welcome-banner h1 span{font-size:20px}.welcome-banner p:last-child{margin:0;color:#435c82;font-size:13px}.banner-art{position:absolute;right:270px;top:8px;width:160px;height:88px;opacity:.8}.phone{position:absolute;left:55px;top:1px;width:49px;height:77px;border-radius:9px;background:#fff;border:3px solid #3378ee;box-shadow:0 8px 20px #5379c033;color:#2876f5;display:grid;place-items:center;font-size:24px;transform:rotate(10deg)}.phone span{position:absolute;right:-10px;top:14px;border-radius:50%;background:#ffbd33;color:white;font-size:13px;padding:5px}.coin{position:absolute;border-radius:50%;background:#ffbe32;color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 3px 8px #f4ae3933}.coin-one{width:25px;height:25px;bottom:7px;left:30px}.coin-two{width:22px;height:22px;top:9px;left:18px;background:#ff5373}.date-card{margin-left:auto;display:flex;align-items:center;gap:12px;position:relative;z-index:1;min-width:210px}.calendar-icon{width:42px;height:42px;border-radius:12px;background:#ffffffa8;color:#2677ef;display:grid;place-items:center;font-size:24px}.date-card strong,.date-card small{display:block}.date-card strong{font-size:12px}.date-card small{color:#526a8c;margin-top:5px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 13px}.section-heading h2{margin:0;font-size:16px;letter-spacing:-.3px}.section-heading p,.panel-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}.outline-button{border:1px solid #dce5f1;background:white;color:#246de0;border-radius:8px;padding:9px 12px;font:600 11px Inter,Arial;cursor:pointer;transition:.18s}.outline-button:hover{background:#f1f6ff;border-color:#9cbcf4}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.stat-card{min-width:0;background:white;border:1px solid #edf1f7;border-radius:13px;box-shadow:0 4px 15px #263f6510;padding:17px 16px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden;min-height:100px}.stat-icon{width:54px;height:54px;flex:0 0 54px;border-radius:13px;display:grid;place-items:center;color:white;font-size:27px;font-weight:600}.blue{background:linear-gradient(145deg,#2c90ff,#0666ee)}.green{background:linear-gradient(145deg,#13c68a,#04996b)}.purple{background:linear-gradient(145deg,#bd58f5,#8b37d9)}.orange{background:linear-gradient(145deg,#ff9d36,#ff790c)}.pink{background:linear-gradient(145deg,#ff637f,#ed365c)}.yellow{background:linear-gradient(145deg,#ffcf35,#ffad08)}.cyan{background:linear-gradient(145deg,#28d6e8,#00aeca)}.red{background:linear-gradient(145deg,#ff6370,#ed2d45)}.stat-copy{min-width:0}.stat-copy>span{display:block;color:#536781;font-size:11px;white-space:nowrap}.stat-copy strong{display:block;font-size:21px;letter-spacing:-.6px;margin:5px 0 4px;white-space:nowrap}.stat-copy small{font-size:10px;white-space:nowrap}.stat-copy em{font-style:normal;color:#8995a8;margin-left:3px}.positive{color:#08a66a;font-weight:700}.negative{color:#e6485d;font-weight:700}.muted{color:#8b97aa}.sparkline{margin-left:auto;align-self:flex-end;font-size:22px;letter-spacing:-2px;opacity:.7;white-space:nowrap}.blue-line{color:#3286ff}.green-line{color:#0ebc83}.purple-line{color:#a15ce8}.orange-line{color:#ff982c}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,1fr);gap:14px;margin-top:15px}.panel{background:white;border:1px solid #eaf0f7;border-radius:13px;box-shadow:0 4px 15px #263f6509;padding:18px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-heading h3{font-size:14px;margin:0;letter-spacing:-.25px}.panel-heading select{border:1px solid #dce5f1;background:#fff;border-radius:8px;padding:9px 10px;color:#304866;font:500 10px Inter,Arial;outline:0}.chart-wrap{height:215px;position:relative}.service-content{display:flex;align-items:center;gap:12px;min-height:215px}.donut-wrap{width:48%;max-width:220px;min-width:140px;height:200px;position:relative}.donut-wrap canvas{width:100%!important;height:100%!important}.donut-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.donut-center strong{display:block;font-size:20px}.donut-center span{font-size:10px;color:#7c8aa0;white-space:nowrap}.legend{flex:1;min-width:0;display:grid;gap:13px}.legend>div{display:flex;align-items:center;gap:8px;font-size:10px;min-width:0}.legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.legend b{font-size:10px}.dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px}.d-blue{background:#247cff}.d-pink{background:#ff4d6d}.d-yellow{background:#ffca35}.d-cyan{background:#22c7e7}.d-purple{background:#9866f7}.d-green{background:#11bd80}.d-gray{background:#8b9bb3}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,1fr);gap:14px;margin-top:14px}.transactions-panel{padding-bottom:10px}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}thead{background:#f3f7fc}th{font-size:10px;color:#536783;font-weight:600;padding:11px 9px}td{padding:11px 9px;border-bottom:1px solid #edf1f7;font-size:10px;color:#43546e}tbody tr:hover{background:#f9fbff}.user-cell{display:flex;align-items:center;gap:7px;color:#233750;font-weight:600}.mini-avatar{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;font-size:8px;font-weight:800}.av1{background:#e1efff;color:#2876d9}.av2{background:#ffe6ed;color:#d9476c}.av3{background:#e4f8ee;color:#0d9a6b}.av4{background:#fff1d9;color:#b77708}.av5{background:#efe6ff;color:#8750c8}.amount{font-weight:700;color:#172b47}.badge{display:inline-block;padding:5px 8px;border-radius:6px;font-size:9px;font-weight:700}.success{background:#ddf8e9;color:#088652}.pending{background:#fff1d0;color:#b77808}.failed{background:#ffe2e5;color:#d72e47}.top-services .panel-heading{margin-bottom:17px}.period-pill{border:1px solid #e1e8f2;border-radius:7px;padding:8px 10px;font-size:10px;color:#435975}.service-row{display:grid;grid-template-columns:27px minmax(85px,1fr) 40px minmax(55px,1fr);align-items:center;gap:8px;margin:15px 0;font-size:10px}.service-row>b{text-align:right;font-size:10px}.service-symbol{width:25px;height:25px;border-radius:8px;color:white;display:grid;place-items:center;font-size:14px}.s-blue{background:#267cff}.s-pink{background:#ff4d6d}.s-yellow{background:#ffbd20}.s-cyan{background:#23c6e6}.s-purple{background:#9664f6}.s-green{background:#12bb80}.progress{height:7px;border-radius:20px;background:#edf1f7;overflow:hidden}.progress i{display:block;height:100%;border-radius:20px}footer{display:flex;justify-content:space-between;color:#8794a8;font-size:10px;padding:22px 4px 4px}.toast{position:fixed;right:25px;bottom:25px;background:#102743;color:#fff;padding:13px 18px;border-radius:9px;box-shadow:0 8px 30px #0c223c33;opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s;z-index:10}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1250px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid,.bottom-grid{grid-template-columns:minmax(0,1fr)}.service-content{justify-content:flex-start}.donut-wrap{width:220px}.banner-art{right:240px}}
@media(max-width:760px){.sidebar{position:fixed;left:-250px;top:0;bottom:0;min-height:100%;box-shadow:12px 0 30px #10274325}.sidebar.open{left:0}.topbar{height:60px;padding:0 12px;gap:8px}.search{max-width:none}.search input{font-size:11px}.top-actions{gap:4px}.profile>div:not(.avatar),.profile>span,.top-actions .icon-button:nth-child(2){display:none}.profile{margin-left:0}.page-content{padding:13px 11px}.welcome-banner{padding:18px;min-height:130px;align-items:flex-start}.welcome-banner h1{font-size:19px}.welcome-banner p:last-child{max-width:270px;line-height:1.5}.date-card{position:absolute;right:14px;bottom:13px;min-width:0;gap:7px}.date-card .calendar-icon{width:29px;height:29px;font-size:17px}.date-card strong{font-size:9px}.date-card small{font-size:9px}.banner-art{right:10px;top:2px;opacity:.25}.section-heading{margin-top:18px}.stats-grid{gap:9px}.stat-card{padding:12px 10px;gap:9px;min-height:90px}.stat-icon{width:39px;height:39px;flex-basis:39px;border-radius:10px;font-size:20px}.stat-copy>span{font-size:9px}.stat-copy strong{font-size:16px}.stat-copy small{font-size:8px}.sparkline{display:none}.panel{padding:13px}.panel-heading h3{font-size:12px}.panel-heading p{font-size:9px}.chart-wrap{height:200px}.service-content{gap:5px}.donut-wrap{min-width:125px;width:43%;height:165px}.legend{gap:10px}.legend>div{font-size:9px;gap:5px}.legend b{font-size:9px}.bottom-grid{gap:10px}.service-row{grid-template-columns:25px minmax(75px,1fr) 35px minmax(45px,.8fr);gap:6px}footer{gap:8px;line-height:1.5;flex-wrap:wrap}.date-card{background:#ffffff90;padding:5px 7px;border-radius:9px}}
@media(max-width:420px){.stats-grid{grid-template-columns:1fr}.stat-card{min-height:76px}.stat-copy strong{font-size:20px}.stat-copy>span{font-size:11px}.stat-copy small{font-size:10px}.service-content{flex-direction:column}.donut-wrap{height:190px;width:200px}.legend{width:100%;grid-template-columns:1fr 1fr}.legend>div{font-size:9px}.welcome-banner p:last-child{max-width:230px}}


/* Users List + Create User modal */
[hidden]{display:none!important}
.primary-button{border:0;background:linear-gradient(110deg,#1685ff,#1768e9);color:#fff;border-radius:9px;padding:11px 15px;font:600 11px Inter,Arial;box-shadow:0 5px 13px #1677ff25;cursor:pointer;transition:transform .15s,box-shadow .15s}
.primary-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #1677ff35}
.users-heading{margin-top:5px}
.users-panel{padding:0;overflow:hidden}
.users-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 20px;border-bottom:1px solid #edf1f7}
.users-toolbar h3{margin:0;font-size:14px}.users-toolbar p{margin:5px 0 0;color:#8794a8;font-size:11px}
.table-search{height:37px;min-width:250px;border:1px solid #e0e8f2;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#68809e;font-size:20px}
.table-search input{border:0;outline:0;width:100%;font:11px Inter,Arial;color:#13223b}
#usersTable th{padding:13px 12px}#usersTable td{padding:13px 12px}
.user-name-cell{display:flex;align-items:center;gap:9px;font-weight:600;color:#1a2c46}
.user-list-avatar{width:32px;height:32px;border-radius:10px;background:#e6f0ff;color:#1b70e8;display:grid;place-items:center;font-size:11px;font-weight:800}
.user-status{display:inline-flex;align-items:center;gap:6px;background:#ddf8e9;color:#078650;border-radius:6px;padding:6px 9px;font-size:10px;font-weight:700}
.user-status:before{content:"";width:5px;height:5px;border-radius:50%;background:#0bb879}
.view-user-btn{border:1px solid #dce8f8;background:#f4f8ff;color:#176de5;padding:6px 10px;border-radius:7px;font:600 10px Inter,Arial;cursor:pointer}
.empty-state{padding:46px 12px;text-align:center;color:#7d8ba1;white-space:normal}
.empty-state span{width:48px;height:48px;border-radius:15px;background:#edf4ff;color:#347ee8;display:grid;place-items:center;font-size:25px;margin:0 auto 12px}
.empty-state strong,.empty-state small{display:block}.empty-state strong{font-size:13px;color:#2a3c56}.empty-state small{font-size:11px;margin-top:6px}
.modal-backdrop{position:fixed;inset:0;background:rgba(10,26,48,.55);backdrop-filter:blur(5px);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.user-modal{width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 25px 80px #071b3540;animation:modalIn .2s ease-out}
@keyframes modalIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-header{display:flex;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid #edf1f7;background:linear-gradient(110deg,#f4f8ff,#fff)}
.modal-title-icon{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#2c90ff,#0666ee);color:white;display:grid;place-items:center;font-size:23px}
.modal-title-copy{flex:1}.modal-title-copy h2{margin:0;font-size:18px;letter-spacing:-.4px}.modal-title-copy p{margin:5px 0 0;color:#7c8aa0;font-size:11px}
.close-modal{border:0;background:#eef3fa;color:#65758d;width:32px;height:32px;border-radius:9px;font-size:23px;cursor:pointer}
#createUserForm{padding:20px 24px 0}.form-section-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:#263a56;margin:3px 0 14px}.form-section-label:not(:first-child){margin-top:22px}.form-section-label>span{width:25px;height:25px;border-radius:8px;background:#eaf3ff;color:#1976ed;display:grid;place-items:center;font-size:10px}.form-section-label small{margin-left:auto;color:#8794a8;font-weight:500;font-size:10px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field>span{font-size:11px;font-weight:600;color:#455770}.field b,.required-star{color:#ed4c63}.field em{font-style:normal;font-size:9px;font-weight:500;color:#8a97aa;margin-left:5px}.field input,.field textarea{width:100%;border:1px solid #dfe7f1;border-radius:9px;background:#fbfcfe;padding:11px 12px;font:11px Inter,Arial;color:#172a45;outline:0;transition:border-color .15s,box-shadow .15s;resize:vertical}.field input:focus,.field textarea:focus{border-color:#6ba6ff;box-shadow:0 0 0 3px #1677ff14;background:#fff}.field input::placeholder,.field textarea::placeholder{color:#a0aabc}.password-wrap{display:flex;border:1px solid #dfe7f1;border-radius:9px;background:#fbfcfe;overflow:hidden}.password-wrap:focus-within{border-color:#6ba6ff;box-shadow:0 0 0 3px #1677ff14;background:#fff}.password-wrap input{border:0;background:transparent;box-shadow:none!important;min-width:0}.password-wrap button{border:0;background:transparent;color:#2675e5;padding:0 13px;font:600 10px Inter,Arial;cursor:pointer}.field-help{font-size:9px;color:#8a97aa;line-height:1.5}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px -24px 0;padding:16px 24px;border-top:1px solid #edf1f7;background:#fbfcff}.modal-footer p{margin:0;color:#8794a8;font-size:10px}.modal-footer>div{display:flex;gap:8px}.modal-footer .outline-button,.modal-footer .primary-button{padding:10px 14px}
@media(max-width:600px){.modal-backdrop{padding:8px;align-items:flex-start}.user-modal{max-height:calc(100vh - 16px);border-radius:14px}.modal-header{padding:16px}.modal-title-copy h2{font-size:16px}#createUserForm{padding:16px 16px 0}.form-grid{grid-template-columns:1fr;gap:12px}.field.full{grid-column:auto}.modal-footer{margin:20px -16px 0;padding:14px 16px}.users-toolbar{align-items:flex-start;flex-direction:column}.table-search{min-width:0;width:100%}.users-heading{align-items:flex-start;gap:10px}.users-heading .primary-button{white-space:nowrap;padding:10px 11px}}
