/* Shogh Life Portal - RTL responsive design */
.shogh-hero,.shogh-dashboard,.shogh-panel{direction:rtl;text-align:right;font-family:inherit;box-sizing:border-box}
.shogh-hero{background:linear-gradient(135deg,#102d46,#174b65 60%,#177c80);color:#fff;border-radius:24px;padding:clamp(24px,5vw,48px);margin:18px 0;box-shadow:0 18px 48px #102d4626;position:relative;overflow:hidden}
.shogh-hero:after{content:"";position:absolute;width:250px;height:250px;border:1px solid #ffffff20;border-radius:50%;left:-80px;top:-90px;box-shadow:0 0 0 32px #ffffff08,0 0 0 65px #ffffff05}
.shogh-brand-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#e9d29a;color:#102d46;font-size:30px;font-weight:900;margin-bottom:22px}
.shogh-eyebrow{display:block;color:#b8d8dc;font-size:12px;font-weight:800;letter-spacing:.02em;margin-bottom:8px}
.shogh-hero h2{font-size:clamp(26px,4vw,38px);line-height:1.5;color:#fff;margin:0 0 12px}.shogh-hero p{max-width:660px;line-height:2;color:#e3eef1;margin:0 0 22px}
.shogh-actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}
.shogh-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#176e78;color:#fff!important;border:1px solid #176e78;border-radius:12px;padding:12px 20px;min-height:44px;font:inherit;font-weight:800;text-decoration:none!important;cursor:pointer;transition:transform .15s,box-shadow .15s}.shogh-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #123c4b22}.shogh-button-light{background:#fff;color:#17465c!important;border-color:#d9e5e9}
.shogh-panel{background:#fff;border:1px solid #e0e9ed;border-radius:20px;padding:clamp(18px,3vw,28px);margin:18px 0;box-shadow:0 8px 28px #153f5210;color:#193648}.shogh-panel-head{margin-bottom:20px}.shogh-panel-head h2,.shogh-panel-head h3{color:#153c53;margin:0 0 5px;font-size:23px}.shogh-panel-head p{margin:0;color:#6a7e89;line-height:1.9;font-size:14px}
.shogh-form{display:block}.shogh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.shogh-field{display:flex;flex-direction:column;gap:8px;margin:0 0 16px;color:#294c5d;font-size:14px;font-weight:700}.shogh-field input,.shogh-field select,.shogh-field textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d5e1e6;border-radius:11px;padding:12px 13px;background:#fbfdfe;color:#17384b;font:inherit;min-height:46px;outline:none}.shogh-field input:focus,.shogh-field select:focus,.shogh-field textarea:focus{border-color:#25838a;box-shadow:0 0 0 3px #25838a1a}.shogh-field textarea{resize:vertical}.shogh-check{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#47616e;font-size:14px}.shogh-small{font-size:12px;line-height:1.9;color:#6c808b;margin:14px 0 0}.shogh-notice{border-radius:12px;padding:13px 16px;margin:12px 0;line-height:1.9;font-size:14px}.shogh-success{background:#e8f7f0;border:1px solid #b8e5d0;color:#176544}.shogh-error{background:#fff0ef;border:1px solid #f3c7c2;color:#9d3027}.shogh-info{background:#eef6fa;border:1px solid #d0e4ed;color:#23536a}
.shogh-dashboard{color:#18384b}.shogh-welcome{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:linear-gradient(120deg,#f2f8fa,#f7fbfb);border:1px solid #e1ecef;border-radius:20px;padding:24px;margin:18px 0}.shogh-welcome h2{font-size:26px;color:#153c53;margin:0 0 5px}.shogh-welcome p{color:#607984;margin:0;line-height:1.9}.shogh-status{display:inline-flex;white-space:nowrap;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;background:#fff1d8;color:#875b0d}.shogh-status-approved{background:#e2f6ed;color:#176647}.shogh-status-rejected{background:#fff0ef;color:#9d3027}.shogh-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.shogh-stat{border:1px solid #e0e9ed;border-radius:15px;padding:17px;background:#fff}.shogh-stat span{display:block;font-size:12px;color:#738792;margin-bottom:8px}.shogh-stat strong{font-size:17px;color:#173f55}.shogh-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.shogh-tile{display:flex;flex-direction:column;gap:8px;text-decoration:none!important;border:1px solid #dce8ec;background:#fff;border-radius:17px;padding:18px;color:#173e53!important;transition:.15s}.shogh-tile:hover{border-color:#87c2c4;transform:translateY(-2px);box-shadow:0 8px 22px #123c4b12}.shogh-tile-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e9f5f4;color:#16737a;font-size:24px}.shogh-tile strong{font-size:15px}.shogh-tile small{font-size:12px;color:#70848e}.shogh-photo-preview img{width:92px;height:112px;object-fit:cover;border-radius:12px;border:3px solid #edf3f5;margin:0 0 16px}.shogh-rating-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}.shogh-rating{border:1px solid #dce7eb;border-radius:14px;padding:14px;margin:0;min-width:0}.shogh-rating legend{font-weight:800;color:#23485a;padding:0 6px}.shogh-rating-options{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.shogh-rating-options label{cursor:pointer}.shogh-rating-options input{position:absolute;opacity:0;pointer-events:none}.shogh-rating-options span{display:inline-block;padding:8px 11px;border:1px solid #dce6e9;border-radius:9px;color:#647984;font-size:13px}.shogh-rating-options input:checked+span{background:#fff3d8;border-color:#e5bd65;color:#81580c;font-weight:800}.shogh-rating small{color:#82939b;font-size:11px}.shogh-logout-form{margin:20px 0}.shogh-id-card{max-width:600px;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #d6e2e7;box-shadow:0 12px 30px #153f5218;color:#17384b}.shogh-card-top{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#102d46,#176e78);padding:17px 22px;color:#fff}.shogh-card-top span{font-size:12px}.shogh-card-top strong{font-size:20px;color:#efdba8}.shogh-card-body{display:flex;align-items:center;gap:20px;padding:22px}.shogh-card-photo{width:112px;height:138px;object-fit:cover;border-radius:12px;border:3px solid #e4edf0}.shogh-no-photo{display:grid;place-items:center;background:#f0f5f7;color:#8ca0aa}.shogh-card-details>span{font-size:11px;color:#718691}.shogh-card-details h3{font-size:22px;margin:4px 0 10px;color:#153c53}.shogh-card-details p{font-size:12px;margin:5px 0;color:#496473}.shogh-card-bottom{display:flex;justify-content:space-between;gap:10px;padding:13px 22px;background:#f3f8f9;border-top:1px solid #e1eaed;font-size:11px;color:#657d88}.shogh-card-bottom a{color:#176e78;font-weight:800;text-decoration:none}.shogh-form input[type=file]{padding:9px;background:#fff}
@media(max-width:680px){.shogh-form-grid,.shogh-stat-grid,.shogh-tile-grid,.shogh-rating-grid{grid-template-columns:1fr}.shogh-welcome{flex-direction:column;padding:18px}.shogh-card-body{gap:12px;padding:15px}.shogh-card-photo{width:86px;height:108px}.shogh-card-details h3{font-size:18px}.shogh-card-top{padding:14px}.shogh-card-bottom{padding:12px;flex-direction:column}.shogh-actions .shogh-button{width:100%}}
@media print{body *{visibility:hidden!important}.shogh-id-card,.shogh-id-card *{visibility:visible!important}.shogh-id-card{position:absolute;left:0;top:0;width:100%;max-width:600px;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.shogh-panel{border:0!important;box-shadow:none!important;padding:0!important}.shogh-button,.shogh-small{display:none!important}}
.shogh-card-verify{display:flex;align-items:center;gap:8px}.shogh-card-verify img{width:68px;height:68px;object-fit:contain;background:#fff;border:1px solid #e0e9ed;border-radius:6px;padding:3px}@media print{.shogh-card-verify img{display:block!important}}

/* Version 1.0.1 — visual refinement: premium civic portal theme */
.shogh-hero,.shogh-dashboard,.shogh-panel{font-family:Tahoma,"Segoe UI",Arial,sans-serif;}
.shogh-hero{isolation:isolate;background:radial-gradient(circle at 12% 10%,#ffffff1c 0 2px,transparent 3px),radial-gradient(circle at 88% 86%,#d9bd7c20 0 3px,transparent 4px),linear-gradient(128deg,#0b2439 0%,#123d56 48%,#14767a 100%);border:1px solid #ffffff20;border-radius:28px;padding:clamp(28px,5.5vw,58px);box-shadow:0 24px 65px #0c2b4024;}
.shogh-hero:before{content:"";position:absolute;z-index:-1;width:300px;height:300px;right:-130px;bottom:-185px;border:1px solid #e6cc8b4a;border-radius:50%;box-shadow:0 0 0 22px #e6cc8b0c,0 0 0 48px #e6cc8b08,0 0 0 78px #e6cc8b06;}
.shogh-hero:after{width:210px;height:210px;left:-78px;top:-95px;border-color:#e8d29a55;box-shadow:0 0 0 25px #ffffff08,0 0 0 52px #ffffff05,0 0 0 80px #ffffff03;}
.shogh-brand-mark{width:66px;height:66px;border-radius:21px;background:linear-gradient(145deg,#f6e7bb,#d9b96e);color:#12344a;box-shadow:0 10px 25px #061a2a44,inset 0 1px 0 #fff9;font-size:33px;margin-bottom:25px;}
.shogh-eyebrow{font-size:12px;letter-spacing:.03em;color:#b8d8dc;}
.shogh-hero h2{max-width:760px;font-weight:900;letter-spacing:-.035em;line-height:1.55;text-shadow:0 2px 18px #061a2a22;}
.shogh-hero p{font-size:15px;max-width:620px;line-height:2.15;color:#e4f0f2;}
.shogh-button{border-radius:14px;min-height:48px;padding:12px 22px;background:linear-gradient(135deg,#197b80,#12636e);border-color:#197b80;box-shadow:0 5px 14px #0b33401c;font-size:14px;}
.shogh-button:hover{transform:translateY(-2px);box-shadow:0 12px 25px #0b33402a;filter:saturate(1.08);}
.shogh-button-light{background:#fff;color:#173e53!important;border-color:#e2edf0;box-shadow:0 5px 15px #061a2a12;}
.shogh-button-light:hover{background:#f4f9fa;}
.shogh-panel{border:1px solid #e1eaee;border-radius:23px;padding:clamp(20px,3.2vw,32px);box-shadow:0 10px 34px #183c4c0b;transition:border-color .2s,box-shadow .2s;}
.shogh-panel:hover{border-color:#d2e3e7;box-shadow:0 14px 38px #183c4c10;}
.shogh-panel-head{position:relative;padding-right:15px;margin-bottom:23px;}
.shogh-panel-head:before{content:"";position:absolute;right:0;top:3px;bottom:4px;width:4px;border-radius:5px;background:linear-gradient(#d9bd7c,#168187);}
.shogh-panel-head h2,.shogh-panel-head h3{font-weight:900;letter-spacing:-.02em;font-size:22px;}
.shogh-panel-head p{font-size:13px;line-height:2;color:#718590;}
.shogh-welcome{position:relative;overflow:hidden;align-items:center;border:1px solid #dbe9e9;border-radius:23px;padding:clamp(20px,3.5vw,32px);background:radial-gradient(circle at 4% 15%,#d8ecea 0,transparent 34%),linear-gradient(120deg,#f5fafb,#f1f8f7 72%,#fbf8ef);box-shadow:0 8px 26px #1a59620a;}
.shogh-welcome:after{content:"ش";position:absolute;left:20px;bottom:-45px;font-size:170px;font-weight:900;line-height:1;color:#16777b08;pointer-events:none;}
.shogh-welcome h2{font-size:clamp(23px,3vw,30px);font-weight:900;letter-spacing:-.03em;}
.shogh-status{border:1px solid #f0dcae;background:#fff8e8;color:#80580e;padding:8px 13px;box-shadow:0 3px 9px #7b5a1110;}
.shogh-status-approved{border-color:#bde8d3;background:#e9f8f0;color:#176647;}
.shogh-status-rejected{border-color:#f1c9c4;background:#fff2f0;color:#9d3027;}
.shogh-stat-grid{gap:14px;margin:16px 0 20px;}
.shogh-stat{position:relative;overflow:hidden;border:1px solid #e1eaee;border-radius:18px;padding:19px;background:linear-gradient(145deg,#fff,#fbfdfe);box-shadow:0 5px 18px #193c4c08;}
.shogh-stat:after{content:"";position:absolute;width:56px;height:56px;left:-22px;bottom:-27px;border:8px solid #17777b0a;border-radius:50%;}
.shogh-stat span{font-weight:700;color:#788c96;}
.shogh-stat strong{font-size:18px;font-weight:900;line-height:1.8;overflow-wrap:anywhere;}
.shogh-tile-grid{gap:14px;margin:18px 0 24px;}
.shogh-tile{position:relative;overflow:hidden;min-height:125px;gap:10px;border:1px solid #e0eaed;border-radius:19px;padding:20px;background:linear-gradient(155deg,#fff 0%,#fbfdfd 100%);box-shadow:0 5px 16px #123c4b08;}
.shogh-tile:after{content:"";position:absolute;width:78px;height:78px;border:1px solid #187a7b12;border-radius:50%;left:-35px;bottom:-39px;transition:transform .25s;}
.shogh-tile:hover{border-color:#9ccfd0;box-shadow:0 14px 28px #123c4b12;}
.shogh-tile:hover:after{transform:scale(1.35);}
.shogh-tile-icon{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#e8f6f3,#d8ecea);color:#176e78;box-shadow:inset 0 1px 0 #fff;font-size:25px;}
.shogh-tile strong{font-size:15px;font-weight:900;}
.shogh-tile small{font-size:12px;line-height:1.8;}
.shogh-field{gap:9px;margin-bottom:18px;color:#244a5c;font-size:13px;font-weight:800;}
.shogh-field input,.shogh-field select,.shogh-field textarea{border:1px solid #d9e5e9;border-radius:13px;padding:13px 14px;background:#fbfdfe;min-height:49px;transition:border-color .18s,box-shadow .18s,background .18s;}
.shogh-field input:hover,.shogh-field select:hover,.shogh-field textarea:hover{border-color:#b6d0d7;background:#fff;}
.shogh-field input:focus,.shogh-field select:focus,.shogh-field textarea:focus{border-color:#24868a;box-shadow:0 0 0 4px #24868a15;background:#fff;}
.shogh-field input[type=file]{min-height:50px;background:#f8fbfc;border-style:dashed;}
.shogh-check{gap:10px;}
.shogh-check input{accent-color:#16777b;width:17px;height:17px;}
.shogh-notice{border-radius:14px;padding:15px 17px;box-shadow:0 4px 14px #183c4c06;}
.shogh-success{background:linear-gradient(120deg,#edf9f2,#e6f7ee);}
.shogh-error{background:linear-gradient(120deg,#fff5f3,#fff0ef);}
.shogh-info{background:linear-gradient(120deg,#f1f8fc,#eaf5fa);}
.shogh-rating{border:1px solid #e0e9ec;border-radius:17px;padding:16px;background:linear-gradient(145deg,#fff,#fbfdfd);}
.shogh-rating legend{font-size:14px;font-weight:900;}
.shogh-rating-options{gap:8px;margin:11px 0;}
.shogh-rating-options span{min-width:40px;text-align:center;padding:9px 12px;border-radius:11px;background:#f8fbfc;transition:.15s;}
.shogh-rating-options label:hover span{border-color:#d8bd7a;background:#fffaf0;}
.shogh-rating-options input:focus-visible+span{outline:3px solid #24868a44;outline-offset:2px;}
.shogh-rating-options input:checked+span{background:linear-gradient(135deg,#fff5dc,#ffedc2);border-color:#d9b55e;color:#78520b;box-shadow:0 3px 9px #a8791514;}
.shogh-rating small{line-height:1.9;}
.shogh-photo-preview img{width:100px;height:122px;border-radius:15px;border:3px solid #fff;box-shadow:0 4px 18px #153f5220;}
.shogh-id-card{border-radius:22px;border-color:#d7e4e8;box-shadow:0 18px 45px #153f521b;}
.shogh-card-top{position:relative;overflow:hidden;padding:20px 24px;background:radial-gradient(circle at 8% 10%,#ffffff18,transparent 28%),linear-gradient(115deg,#0d2940,#15546a 64%,#16777b);}
.shogh-card-top:after{content:"";position:absolute;width:130px;height:130px;left:-45px;top:-70px;border:1px solid #e8d29a60;border-radius:50%;box-shadow:0 0 0 15px #ffffff05,0 0 0 30px #ffffff04;}
.shogh-card-top strong{font-size:22px;font-weight:900;}
.shogh-card-body{padding:25px;gap:23px;}
.shogh-card-photo{width:116px;height:142px;border-radius:14px;border:3px solid #edf4f4;box-shadow:0 5px 14px #102d4615;}
.shogh-card-details h3{font-weight:900;}
.shogh-card-details p{line-height:1.9;}
.shogh-card-bottom{padding:15px 22px;background:linear-gradient(90deg,#f5f9fa,#f8f6ef);}
.shogh-card-bottom a{padding:6px 0;}
.shogh-small{line-height:2;color:#788b94;}
.shogh-logout-form{padding-top:4px;}
.shogh-logout-form .shogh-button{min-width:140px;}
.shogh-form button:focus-visible,.shogh-button:focus-visible,.shogh-tile:focus-visible{outline:3px solid #24868a55;outline-offset:3px;}
@media(max-width:680px){.shogh-hero{border-radius:22px;padding:26px 21px}.shogh-hero h2{font-size:27px}.shogh-hero p{font-size:14px}.shogh-panel{border-radius:19px;padding:20px 16px}.shogh-welcome{border-radius:19px}.shogh-stat-grid,.shogh-tile-grid{gap:10px}.shogh-tile{min-height:0;padding:17px}.shogh-card-top strong{font-size:19px}.shogh-card-body{padding:16px}.shogh-card-photo{width:83px;height:106px}.shogh-card-details h3{font-size:17px}.shogh-rating{padding:13px}.shogh-rating-options span{min-width:36px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.shogh-portal *,.shogh-portal *:before,.shogh-portal *:after{transition:none!important;scroll-behavior:auto!important}}

/* Version 1.0.2 — richer color, luminous forms, and refined portal surfaces */
.shogh-dashboard{position:relative;isolation:isolate;padding:clamp(10px,2vw,24px);border-radius:28px;background:radial-gradient(ellipse at 100% 0%,#dcefeb 0,transparent 35%),radial-gradient(ellipse at 0% 70%,#e8eefb 0,transparent 34%),linear-gradient(145deg,#f7fafc,#f2f7f8 58%,#fbf8ef);}
.shogh-dashboard .shogh-panel{position:relative;background:linear-gradient(145deg,#ffffff 0%,#fcfefe 65%,#f7fbfb 100%);border:1px solid #dce9ec;box-shadow:0 14px 36px #183c4c0d, inset 0 1px 0 #fff;}
.shogh-dashboard .shogh-panel:before{content:"";position:absolute;top:0;right:22px;left:22px;height:3px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,#dfc17b,#18858a,#8bc8c3);opacity:.9;}
.shogh-form{padding:clamp(14px,2.4vw,24px);border:1px solid #e2ecee;border-radius:20px;background:radial-gradient(ellipse at 100% 0%,#e9f6f3 0,transparent 45%),linear-gradient(135deg,#f9fcfd,#f4f9fa 60%,#fffaf0);box-shadow:inset 0 1px 0 #fff,0 8px 24px #1c53630a;}
.shogh-form-grid{gap:18px 20px;}
.shogh-field{position:relative;gap:10px;margin-bottom:20px;color:#20485b;font-size:13px;font-weight:800;}
.shogh-field>span{display:flex;align-items:center;gap:8px;line-height:1.8;}
.shogh-field>span:before{content:"";display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:linear-gradient(135deg,#d9bb70,#16848a);box-shadow:0 0 0 3px #16848a12;}
.shogh-field input:not([type=file]),.shogh-field select,.shogh-field textarea{border:1px solid #d3e3e7;border-radius:14px;background:linear-gradient(180deg,#fff,#f9fcfd);color:#15394c;box-shadow:0 3px 10px #1a465408,inset 0 1px 0 #fff;padding:14px 15px;min-height:51px;}
.shogh-field textarea{min-height:115px;line-height:2;}
.shogh-field input::placeholder,.shogh-field textarea::placeholder{color:#9aabb3;}
.shogh-field input:not([type=file]):hover,.shogh-field select:hover,.shogh-field textarea:hover{border-color:#9fc9cb;box-shadow:0 5px 14px #1b777b0b;}
.shogh-field input:not([type=file]):focus,.shogh-field select:focus,.shogh-field textarea:focus{border-color:#16858a;background:#fff;box-shadow:0 0 0 4px #16858a18,0 7px 18px #16858a0b;}
.shogh-field input[type=file]{width:100%;min-height:64px;border:1.5px dashed #9bc9c8;border-radius:14px;padding:14px;background:linear-gradient(120deg,#f1faf8,#f8fbfd);color:#496a77;}
.shogh-field input[type=file]::file-selector-button{border:0;border-radius:9px;padding:9px 13px;margin-inline-end:12px;background:linear-gradient(135deg,#dff2ee,#dcecf3);color:#17576a;font-weight:800;cursor:pointer;}
.shogh-check{padding:12px 14px;border:1px solid #e0ebed;border-radius:12px;background:#ffffffb8;}
.shogh-button{background:linear-gradient(120deg,#16858a,#176477 62%,#204b69);border:1px solid #167980;border-radius:14px;box-shadow:0 8px 18px #176e7828, inset 0 1px 0 #ffffff35;letter-spacing:0;}
.shogh-button:active{transform:translateY(0);box-shadow:0 3px 9px #176e7822;}
.shogh-button-light{background:linear-gradient(135deg,#fff,#f0f7f8);border-color:#d7e7e9;box-shadow:0 5px 14px #183c4c0a;}
.shogh-panel-head{padding:15px 17px;margin:0 0 23px;border-radius:14px;background:linear-gradient(100deg,#f3f9f9,#f8fbfc 70%,#fffaf0);border:1px solid #e6eff0;}
.shogh-panel-head:before{right:0;top:12px;bottom:12px;width:4px;}
.shogh-panel-head h2,.shogh-panel-head h3{color:#143e54;}
.shogh-rating-grid{gap:15px;}
.shogh-rating{position:relative;border:1px solid #dbe8eb;background:linear-gradient(145deg,#fff,#f8fbfc);box-shadow:0 5px 15px #163e4d08;transition:border-color .2s,transform .2s,box-shadow .2s;}
.shogh-rating:hover{border-color:#b4d8d5;box-shadow:0 8px 20px #176e780d;}
.shogh-rating legend{padding:4px 8px;border-radius:8px;background:#eaf5f3;color:#205565;}
.shogh-rating-options span{min-width:43px;padding:10px 13px;border:1px solid #dce8e9;border-radius:12px;background:linear-gradient(180deg,#fff,#f5f9fa);font-weight:800;}
.shogh-rating-options input:checked+span{background:linear-gradient(135deg,#fff0c9,#f4d987);border-color:#d2ab4f;color:#694907;box-shadow:0 4px 12px #a8791520;}
.shogh-welcome{border-color:#d6e8e7;background:radial-gradient(circle at 0% 0%,#d6ece7 0,transparent 38%),linear-gradient(120deg,#f4fafb,#edf7f5 65%,#fff9e9);box-shadow:0 12px 28px #1a59620c;}
.shogh-stat{background:linear-gradient(145deg,#fff,#f5fafb);border-color:#dce9ec;box-shadow:0 7px 18px #183c4c09;}
.shogh-stat:nth-child(3n+2){background:linear-gradient(145deg,#fff,#f2f8f7);}
.shogh-tile{background:linear-gradient(145deg,#fff,#f5fafb);border-color:#dbe8eb;}
.shogh-tile:nth-child(3n+2) .shogh-tile-icon{background:linear-gradient(145deg,#fff3d7,#f6e5b7);color:#89651d;}
.shogh-tile:nth-child(3n) .shogh-tile-icon{background:linear-gradient(145deg,#e8edff,#dfe6fb);color:#465e9a;}
.shogh-notice{border-radius:15px;font-weight:600;}
.shogh-success{border-color:#b9e5ce;background:linear-gradient(120deg,#effaf3,#e3f6eb);}
.shogh-error{border-color:#f0c9c4;background:linear-gradient(120deg,#fff6f4,#ffedeb);}
.shogh-info{border-color:#c8e2ee;background:linear-gradient(120deg,#f1f9fd,#e8f4fa);}
.shogh-id-card{border:1px solid #d1e2e6;background:linear-gradient(145deg,#fff,#f8fbfb);}
.shogh-card-bottom{background:linear-gradient(100deg,#eef7f6,#f7fafb 65%,#fff8e9);}
.shogh-small{padding-inline:2px;}
@media(max-width:680px){.shogh-dashboard{padding:8px;border-radius:20px}.shogh-form{padding:14px;border-radius:16px}.shogh-panel-head{padding:13px}.shogh-field input:not([type=file]),.shogh-field select,.shogh-field textarea{min-height:48px;padding:12px}.shogh-button{width:100%;}.shogh-actions .shogh-button{width:100%;}}

/* Version 1.0.7 — unified entry portal: login and registration stay on the portal page */
.shogh-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,28px);align-items:start;margin:24px 0 8px;scroll-margin-top:24px}
.shogh-auth-grid .shogh-panel{height:100%;box-sizing:border-box;border:1px solid #dce9ec;background:radial-gradient(ellipse at 100% 0%,#e9f6f3 0,transparent 44%),linear-gradient(145deg,#fff,#f8fbfc 72%,#fffaf0);box-shadow:0 15px 38px #183c4c10}
.shogh-auth-grid .shogh-form{height:auto}
.shogh-auth-grid .shogh-button{width:100%;margin-top:8px}
.shogh-hero .shogh-actions{flex-wrap:wrap;gap:12px}
#shogh-login-panel,#shogh-register-panel{scroll-margin-top:24px}
@media(max-width:760px){.shogh-auth-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:18px}.shogh-auth-grid .shogh-panel{height:auto}}

/* Version 1.0.8 — less repetition, compact mobile-first portal experience */
.shogh-portal-auth{max-width:1040px;margin-inline:auto}
.shogh-hero-compact{padding:clamp(20px,3.4vw,36px);margin:12px 0 16px;border-radius:24px}
.shogh-hero-compact .shogh-brand-mark{width:48px;height:48px;border-radius:15px;font-size:25px;margin-bottom:14px}
.shogh-hero-compact h2{font-size:clamp(23px,3vw,32px);margin-bottom:5px}
.shogh-hero-compact p{margin-bottom:0;max-width:560px}
.shogh-auth-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px;margin:0 auto 14px;max-width:520px;border:1px solid #dce9ec;border-radius:16px;background:#edf4f5;box-shadow:inset 0 1px 2px #153f520a}
.shogh-auth-switch button{appearance:none;border:0;border-radius:12px;min-height:46px;padding:10px 14px;background:transparent;color:#496575;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.shogh-auth-switch button.is-active{background:linear-gradient(135deg,#fff,#f8fcfc);color:#145c68;box-shadow:0 3px 10px #163e4d12;border:1px solid #dce9ec}
.shogh-auth-switch button:focus-visible{outline:3px solid #24868a55;outline-offset:2px}
.shogh-auth-grid{display:block;max-width:620px;margin:0 auto 24px}
.shogh-auth-grid>[hidden]{display:none!important}
.shogh-auth-grid .shogh-panel{height:auto;margin:0;padding:clamp(18px,3vw,30px)}
.shogh-auth-grid .shogh-panel-head{margin-bottom:18px}
.shogh-auth-grid .shogh-panel-head h2{font-size:22px}
.shogh-dashboard .shogh-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.shogh-dashboard .shogh-stat{min-width:0;overflow-wrap:anywhere}
.shogh-dashboard .shogh-stat strong{line-height:1.7;overflow-wrap:anywhere}
.shogh-dashboard .shogh-panel{scroll-margin-top:16px}
.shogh-dashboard .shogh-tile{min-width:0}
.shogh-field input,.shogh-field select,.shogh-field textarea{font-size:16px}
.shogh-rating-options{gap:8px}
.shogh-rating-options label{flex:1;min-width:0}
.shogh-rating-options span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 8px}
@media(max-width:760px){
 .shogh-portal-auth{padding-inline:2px}
 .shogh-hero-compact{padding:22px 18px;border-radius:20px;margin-top:8px}
 .shogh-hero-compact .shogh-brand-mark{width:44px;height:44px;margin-bottom:12px}
 .shogh-hero-compact h2{font-size:24px;line-height:1.5}
 .shogh-hero-compact p{font-size:13px;line-height:1.9}
 .shogh-auth-switch{position:sticky;top:8px;z-index:5;max-width:none;margin-bottom:12px;box-shadow:0 5px 16px #173e5312;backdrop-filter:blur(12px)}
 .shogh-auth-switch button{min-height:48px;font-size:14px}
 .shogh-auth-grid{margin-top:0}
 .shogh-auth-grid .shogh-panel{padding:17px 15px;border-radius:18px}
 .shogh-auth-grid .shogh-panel-head{padding:12px 13px;margin-bottom:17px}
 .shogh-auth-grid .shogh-panel-head h2{font-size:20px}
 .shogh-field{gap:7px;margin-bottom:14px;font-size:13px}
 .shogh-field input:not([type=file]),.shogh-field select,.shogh-field textarea{min-height:50px;padding:12px;border-radius:12px;font-size:16px}
 .shogh-button{min-height:50px;border-radius:13px;padding:12px 16px;font-size:15px}
 .shogh-check{min-height:44px;margin-bottom:14px}
 .shogh-dashboard{padding:6px;border-radius:18px}
 .shogh-welcome{gap:10px;padding:16px;border-radius:17px;margin:10px 0}
 .shogh-welcome h2{font-size:21px;line-height:1.6}
 .shogh-welcome p{font-size:13px;line-height:1.8}
 .shogh-status{white-space:normal;align-self:flex-start}
 .shogh-dashboard .shogh-stat-grid{gap:8px;margin:10px 0}
 .shogh-dashboard .shogh-stat{padding:12px;border-radius:13px}
 .shogh-dashboard .shogh-stat span{font-size:11px;margin-bottom:5px}
 .shogh-dashboard .shogh-stat strong{font-size:14px}
 .shogh-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .shogh-tile{padding:11px 8px;gap:6px;border-radius:13px;align-items:center;text-align:center}
 .shogh-tile-icon{width:36px;height:36px;font-size:20px;border-radius:11px}
 .shogh-tile strong{font-size:12px;line-height:1.6}
 .shogh-tile small{font-size:10px;line-height:1.6}
 .shogh-panel{padding:16px 13px;margin:12px 0;border-radius:17px}
 .shogh-panel-head{padding:12px;margin-bottom:16px}
 .shogh-panel-head h2,.shogh-panel-head h3{font-size:19px;line-height:1.6}
 .shogh-panel-head p{font-size:12px;line-height:1.8}
 .shogh-rating-grid{grid-template-columns:1fr;gap:10px}
 .shogh-rating{padding:12px}
 .shogh-rating-options{gap:6px}
 .shogh-rating-options span{min-height:42px;padding:8px 4px;font-size:12px}
 .shogh-card-body{align-items:flex-start;gap:10px;padding:12px}
 .shogh-card-photo{width:76px;height:96px;flex:0 0 auto}
 .shogh-card-details h3{font-size:16px;overflow-wrap:anywhere}
 .shogh-card-top{gap:8px;padding:12px;flex-wrap:wrap}
 .shogh-card-top strong{font-size:16px}
 .shogh-card-bottom{gap:6px;padding:10px}
 .shogh-logout-form .shogh-button{width:100%}
}
@media(max-width:380px){
 .shogh-tile-grid{grid-template-columns:1fr}
 .shogh-tile{flex-direction:row;align-items:center;text-align:right;padding:12px}
 .shogh-tile small{margin-inline-start:auto}
 .shogh-dashboard .shogh-stat-grid{grid-template-columns:1fr 1fr}
 .shogh-card-body{flex-direction:column}
}


/* v1.0.9 — refreshed personnel ID card */
.shogh-id-card{max-width:660px;border:1px solid #cbdde2;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f6fbfb 58%,#fff9eb 100%);box-shadow:0 18px 46px #123b501c;overflow:hidden;position:relative}
.shogh-id-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 96% 92%,#d9b96d20,transparent 25%),linear-gradient(135deg,transparent 70%,#1b7c8010)}
.shogh-card-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(115deg,#102b43,#14586b 66%,#177b7c);padding:16px 22px;color:#fff}
.shogh-card-brand{display:flex;align-items:center;gap:10px;direction:rtl;min-width:0}
.shogh-logo-mark{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border:1px solid #efdca68a;border-radius:15px;background:linear-gradient(145deg,#fff2cb,#d8b76d);color:#17394b;font-size:25px;font-weight:900;box-shadow:inset 0 1px 0 #fff9}
.shogh-logo-copy{display:flex;flex-direction:column;gap:2px}
.shogh-logo-copy strong{font-size:20px!important;line-height:1.45;color:#f4dfaa!important;font-weight:900}
.shogh-logo-copy small{font-size:10px;color:#e5f0f1;line-height:1.7}
.shogh-card-title{font-size:12px;font-weight:800;color:#fff;white-space:nowrap;border:1px solid #ffffff30;border-radius:999px;padding:7px 10px;background:#ffffff0b}
.shogh-card-body{position:relative;z-index:1;display:grid!important;grid-template-columns:116px minmax(0,1fr);direction:ltr;align-items:center;gap:22px;padding:23px 25px}
.shogh-card-photo{grid-column:1;grid-row:1;width:116px;height:145px;box-sizing:border-box;object-fit:cover;object-position:center;border-radius:13px;border:3px solid #fff;outline:1px solid #d6e5e8;box-shadow:0 7px 20px #102d461b;background:#edf4f5}
.shogh-no-photo{display:grid;place-items:center;text-align:center;font-size:12px}
.shogh-card-details{grid-column:2;grid-row:1;direction:rtl;text-align:right;min-width:0}
.shogh-card-details .shogh-card-label{display:block;font-size:11px;color:#657e89;font-weight:700;margin-bottom:3px}
.shogh-card-details .shogh-personnel-code{display:block;font-size:30px;line-height:1.35;letter-spacing:1px;color:#126c75;font-weight:900;overflow-wrap:anywhere;margin-bottom:7px;font-variant-numeric:tabular-nums}
.shogh-card-details h3{font-size:15px!important;font-weight:700!important;color:#24495a;margin:0 0 8px!important;line-height:1.7;overflow-wrap:anywhere}
.shogh-card-details p{font-size:12px;line-height:1.8;margin:4px 0;color:#4c6875}
.shogh-card-details .shogh-card-validity{display:flex;align-items:center;gap:6px;color:#176647;font-weight:700}
.shogh-validity-dot{width:7px;height:7px;border-radius:50%;background:#27a56c;display:inline-block;box-shadow:0 0 0 3px #27a56c20}
.shogh-card-bottom{position:relative;z-index:1;border-top:1px solid #dfeaed;padding:12px 22px;background:linear-gradient(90deg,#eef7f6,#f7fafb 65%,#fff8e9);font-size:11px}
@media(max-width:520px){.shogh-card-top{padding:13px 14px;gap:8px}.shogh-logo-mark{width:39px;height:39px;flex-basis:39px;border-radius:12px;font-size:22px}.shogh-logo-copy strong{font-size:17px!important}.shogh-logo-copy small{font-size:9px}.shogh-card-title{font-size:10px;padding:6px 8px;white-space:normal;text-align:center}.shogh-card-body{grid-template-columns:88px minmax(0,1fr);gap:13px;padding:16px 14px}.shogh-card-photo{width:88px;height:112px}.shogh-card-details .shogh-personnel-code{font-size:24px}.shogh-card-details h3{font-size:13px!important;margin-bottom:5px!important}.shogh-card-details p{font-size:11px}.shogh-card-bottom{padding:10px 14px}}
@media(max-width:360px){.shogh-card-top{align-items:flex-start;flex-direction:column}.shogh-card-title{align-self:flex-start}.shogh-card-body{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:13px 10px}.shogh-card-photo{width:76px;height:98px}.shogh-card-details .shogh-personnel-code{font-size:21px}.shogh-card-details h3{font-size:12px!important}}
@media print{.shogh-id-card{max-width:660px;width:100%;border-radius:12px!important}.shogh-card-body{grid-template-columns:116px minmax(0,1fr)!important;direction:ltr!important}.shogh-card-photo{width:116px!important;height:145px!important}.shogh-card-details{direction:rtl!important}.shogh-card-details .shogh-personnel-code{font-size:30px!important}.shogh-card-details h3{font-size:15px!important}}
