@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{--navy:#12365a;--blue:#2463a5;--teal:#16a6a0;--ink:#203247;--muted:#718096;--line:#e2e8f0;--bg:#f3f6fa;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}a{color:var(--blue);text-decoration:none}h1{font-size:23px;margin:0 0 8px}h2{font-size:17px;margin:0 0 16px}.muted,small{color:var(--muted)}.login-bg{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#edf4fa,#f7f9fc)}.login-card,.install-card{width:min(100%,430px);background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 20px 60px #12365a12}.login-card{text-align:center}.logo,.brand-dot{display:inline-grid;place-items:center;background:var(--navy);color:white;border-radius:16px;width:58px;height:58px;font-size:26px;font-weight:800}.login-card h1,.install-card h1{font-size:22px;margin:14px 0 6px}.login-card form,.install-card form{text-align:right;margin-top:22px}label{display:block;font-weight:600;margin:12px 0 6px}input,textarea,select{font:inherit;width:100%;padding:12px;border:1px solid #d7e0ea;border-radius:10px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2463a51a}button,.btn{font:inherit;border:0;border-radius:10px;background:var(--blue);color:#fff;padding:12px 18px;cursor:pointer;display:inline-block;text-align:center}.btn.full{width:100%;margin-top:18px}.btn.small{padding:7px 10px;font-size:12px}.role-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.role-options label{margin:0;padding:11px 4px;text-align:center;border:1px solid var(--line);border-radius:10px;background:#f8fafc;font-size:13px}.role-options input{width:auto}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;gap:14px}.topbar>div:first-child{display:flex;align-items:center;gap:12px}.brand-dot{width:38px;height:38px;border-radius:12px;font-size:18px}.user-info{display:flex;align-items:center;gap:10px}.pill{background:#e4f6f3;color:#087f78;border-radius:20px;padding:5px 10px;font-size:12px}.shell{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:230px;background:#fff;border-left:1px solid var(--line);padding:20px 14px;flex-shrink:0}.sidebar a{display:block;padding:12px 14px;color:#526579;border-radius:10px;margin-bottom:5px}.sidebar a.active,.sidebar a:hover{background:#eaf2fb;color:var(--navy);font-weight:700}.content{padding:28px;width:100%;min-width:0}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin-top:20px;box-shadow:0 6px 22px #12365a05}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:22px}.stats div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:9px}.stats span{color:var(--muted);font-size:12px}.stats b{font-size:22px;color:var(--navy);overflow-wrap:anywhere}.quick-links{display:flex;flex-wrap:wrap;gap:10px}.quick-links a{background:#f2f7fc;padding:12px;border-radius:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label{margin:0}.form-grid .wide,fieldset.wide{grid-column:1/-1}.form-grid button{justify-self:start}.form-grid fieldset{border:1px solid var(--line);border-radius:10px;padding:10px}.form-grid fieldset label{display:inline-flex;align-items:center;gap:6px;margin-left:16px}.form-grid fieldset input{width:auto}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:600px}th,td{text-align:right;border-bottom:1px solid var(--line);padding:12px 10px;vertical-align:top}th{background:#f7f9fc;color:#526579;font-size:12px}td{font-size:13px}.notice,.success,.alert{padding:12px 14px;border-radius:10px;margin:12px 0;background:#eaf7f4;color:#087f78}.alert{background:#fff0f0;color:#a33333}.mobile-nav{display:none}hr{border:0;border-top:1px solid var(--line);margin:20px 0}@media(max-width:760px){.topbar{height:auto;min-height:66px;padding:12px 16px;flex-wrap:wrap}.topbar strong{font-size:13px}.user-info{font-size:12px}.shell{display:block}.sidebar{display:none}.content{padding:18px 13px 88px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.panel{padding:16px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats div{padding:13px}.stats b{font-size:18px}.mobile-nav{display:flex;position:fixed;bottom:0;right:0;left:0;background:#fff;border-top:1px solid var(--line);padding:9px;justify-content:space-around;z-index:10}.mobile-nav a{font-size:12px;padding:8px}.login-card,.install-card{padding:24px 20px}.role-options{gap:5px}.role-options label{font-size:12px}}

/* User profile inspired by the supplied mobile screenshot */
.profile-shortcut{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;font-size:12px}
.profile-page{width:min(100%,560px);margin:0 auto;padding:0 0 28px}
.profile-brand{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 16px;margin-bottom:16px}
.profile-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#5b2aa6;color:#fff;font-size:22px;font-weight:800}
.profile-brand>div{display:flex;flex:1;flex-direction:column;gap:3px}.profile-brand strong{color:#5b2aa6;font-size:16px}.profile-brand small{font-size:11px}
.profile-menu-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:18px}
.profile-hero{background:#fff;border:1px solid var(--line);border-radius:19px;padding:25px 18px 20px;text-align:center;box-shadow:0 8px 24px #172b4d08}
.profile-avatar{width:66px;height:66px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#f0eef5;color:#5b2aa6;font-size:25px;font-weight:800;border:4px solid #faf9fc}
.profile-hero h1{font-size:18px;margin:5px 0}.profile-phone{font-weight:700;letter-spacing:.2px;margin:4px 0;color:#28384b}.profile-role{display:inline-block;background:#f0eafb;color:#5b2aa6;padding:4px 11px;border-radius:30px;font-size:11px;margin-top:4px}.profile-edit-link{display:block;width:max-content;margin:9px auto 0;color:#6b35b0;font-size:12px}
.profile-summary{display:grid;grid-template-columns:1fr;gap:9px;margin:13px 0}.profile-summary>a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 14px;color:var(--ink)}.profile-summary>a>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.profile-summary b{font-size:13px}.profile-summary small{font-size:11px}.profile-summary strong{font-size:23px;color:#9aa7b5;font-weight:400}.summary-icon{width:38px;height:38px;border-radius:11px;background:#f0eafb;color:#5b2aa6;display:grid;place-items:center;font-size:20px}
.profile-menu-list{background:#fff;border:1px solid var(--line);border-radius:18px;padding:7px 13px;box-shadow:0 8px 24px #172b4d08}.profile-menu-list>a{display:flex;align-items:center;gap:11px;min-height:47px;padding:9px 3px;color:#263448;border-bottom:1px solid #f0f2f6;font-size:13px}.profile-menu-list>a:last-child{border-bottom:0}.profile-menu-list>a>span:nth-child(2){flex:1}.profile-menu-list>a>b{font-size:22px;line-height:1;font-weight:400;color:#a0a8b4}.profile-menu-list>a>small{font-size:11px;color:#249d61;margin-left:5px}.menu-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e7e2ef;border-radius:9px;color:#5b2aa6;font-size:18px;flex-shrink:0}.profile-menu-list .profile-logout{color:#b33a48}.profile-menu-list .profile-logout .menu-icon{color:#b33a48;border-color:#f2dfe2}.profile-edit{margin-top:14px}.profile-data-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf0f4;font-size:12px}.profile-data-row span{color:var(--muted)}.profile-data-row strong{text-align:left;overflow-wrap:anywhere;max-width:65%}
@media(min-width:761px){.profile-page{padding-top:4px}.profile-summary{grid-template-columns:1fr 1fr}.profile-summary>a:first-child{grid-column:1/-1}}
@media(max-width:760px){.profile-page{padding-bottom:10px}.profile-brand{border-radius:12px}.profile-hero{padding:21px 14px 17px}.profile-menu-list{padding:5px 11px}.profile-menu-list>a{min-height:45px}.profile-edit.panel{padding:15px}}


/* Polished member profile v3 */
.profile-page{width:min(100%,760px);padding-bottom:34px;display:flex;flex-direction:column;gap:16px}
.profile-brand{margin:0;border-color:#e6edf5;box-shadow:0 8px 26px #15375a08}
.profile-brand-mark{background:linear-gradient(145deg,#153e67,#207c94);box-shadow:0 7px 15px #12365a22}
.profile-brand strong{color:var(--navy)}
.profile-hero{position:relative;overflow:hidden;color:#fff;text-align:center;border:0;background:radial-gradient(circle at 15% 10%,#2f91a0 0,transparent 34%),linear-gradient(135deg,#12365a 0%,#175a78 58%,#207f89 100%);padding:21px 22px 24px;box-shadow:0 16px 35px #12365a20}
.profile-hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff18;border-radius:50%;left:-85px;bottom:-150px;box-shadow:0 0 0 25px #ffffff08,0 0 0 50px #ffffff05;pointer-events:none}
.profile-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px;position:relative;z-index:1}
.profile-status{font-size:11px;background:#ffffff18;border:1px solid #ffffff30;padding:6px 10px;border-radius:30px;display:inline-flex;align-items:center;gap:6px}.profile-status i{width:7px;height:7px;border-radius:50%;background:#73e4bd;box-shadow:0 0 0 4px #73e4bd22}.profile-hero-caption{font-size:11px;color:#d8eaf2}
.profile-avatar{width:82px;height:82px;margin:12px auto 9px;background:linear-gradient(145deg,#fff,#dcecf2);color:#16486b;border:4px solid #ffffff65;box-shadow:0 7px 20px #001c3028;font-size:31px}
.profile-hero h1{color:#fff;font-size:21px;margin:6px 0}.profile-phone{color:#e1f1f5;font-size:13px}.profile-phone span{font-size:15px}.profile-role{background:#ffffff20;color:#fff;border:1px solid #ffffff38;margin-top:5px;padding:5px 13px}
.profile-hero-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:17px;position:relative;z-index:1}.profile-action-primary,.profile-action-secondary{border-radius:10px;padding:10px 14px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:10px}.profile-action-primary{background:#fff;color:#17486b}.profile-action-secondary{background:#ffffff12;border:1px solid #ffffff52;color:#fff}
.profile-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0}.profile-summary>a{min-width:0;align-items:flex-start;flex-wrap:wrap;padding:14px 13px;gap:9px;border-color:#e5edf4;box-shadow:0 6px 18px #12365a06;transition:transform .18s,border-color .18s}.profile-summary>a:hover{transform:translateY(-2px);border-color:#b8d3e5}.profile-summary>a>span:nth-child(2){min-width:0}.profile-summary b{font-size:12px;line-height:1.8}.profile-summary small{font-size:11px;line-height:1.8}.profile-summary strong{margin-right:auto;font-size:16px;color:#6e8ba0}.summary-icon{width:35px;height:35px;background:#eaf3fb;color:#1c6694}.summary-icon-green{background:#e7f8f0;color:#16835f}.summary-icon-orange{background:#fff3e4;color:#bb741b}
.profile-details-card,.profile-menu-card{background:#fff;border:1px solid #e3ebf3;border-radius:18px;padding:20px;box-shadow:0 8px 24px #12365a06}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.profile-section-heading h2{margin:3px 0 0;font-size:16px;color:#193b59}.profile-section-kicker{font-size:9px;letter-spacing:1.2px;color:#8198aa;font-weight:800;direction:ltr;display:block;text-align:right}.profile-section-symbol{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eaf3f9;color:#236e91;font-size:20px;flex-shrink:0}
.profile-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-detail-item{display:flex;align-items:flex-start;gap:10px;min-width:0;background:#f8fafc;border:1px solid #edf1f5;border-radius:12px;padding:12px}.detail-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf3fb;color:#276b91;flex-shrink:0;font-size:16px}.profile-detail-item>div{display:flex;flex-direction:column;gap:5px;min-width:0}.profile-detail-item small{font-size:10px;color:#7b8b9b}.profile-detail-item strong{font-size:12px;color:#253d53;line-height:1.9;overflow-wrap:anywhere}.profile-detail-address{grid-column:1/-1}.ltr-value{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
.profile-details-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:11px 12px;border-radius:11px;background:#eff7fb;color:#53758b;font-size:11px;line-height:1.9}.profile-details-note span{font-size:15px;color:#26739b}
.profile-menu-card .profile-menu-list{border:0;box-shadow:none;padding:0}.profile-menu-list>a{min-height:50px;gap:12px;padding:9px 4px;font-size:12px}.profile-menu-list>a:hover{background:#f8fbfd;border-radius:10px}.profile-menu-list>a>b{font-size:17px;color:#8ba0b0}.menu-icon{background:#f7f9fc;border-color:#e7edf3;color:#36728e}.profile-menu-list .profile-logout{margin-top:4px;border-bottom:0;background:#fff8f8;border-radius:10px;padding-right:10px;padding-left:10px}
.profile-edit.panel{margin-top:0;border-radius:18px;border-color:#e3ebf3;box-shadow:0 8px 24px #12365a06}.profile-edit .profile-section-heading{margin-bottom:8px}.profile-edit .muted{font-size:12px;line-height:1.9}.profile-data-row{font-size:12px;line-height:1.8}.profile-data-row strong{max-width:70%}
@media(min-width:761px){.profile-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-summary>a:first-child{grid-column:auto}.profile-page{padding-top:4px}}
@media(max-width:760px){.profile-page{gap:12px;padding-bottom:18px}.profile-brand{padding:12px}.profile-hero{padding:17px 14px 20px;border-radius:17px}.profile-avatar{width:74px;height:74px}.profile-hero h1{font-size:19px}.profile-summary{grid-template-columns:1fr;gap:8px}.profile-summary>a{align-items:center;flex-wrap:nowrap;padding:11px 12px}.profile-summary>a>span:nth-child(2){flex:1}.profile-details-card,.profile-menu-card{padding:15px;border-radius:15px}.profile-details-grid{grid-template-columns:1fr;gap:8px}.profile-detail-address{grid-column:auto}.profile-detail-item{padding:10px}.profile-section-heading h2{font-size:15px}.profile-menu-list>a{min-height:47px}.profile-edit.panel{padding:15px;border-radius:15px}}
