/* Shared presentation only. Existing WebForms control IDs and event bindings are retained. */
body.portal-site .portal-languages button:is([lang=fa],[lang=ps]){font-family:'Bahij Mitra',Tahoma,sans-serif!important;font-size:25px!important;letter-spacing:0!important;unicode-bidi:isolate;line-height:1.5}
.portal-wizard{scroll-margin-top:20px}.portal-wizard-title{font-size:34px;margin:0 0 24px;text-align:start}.portal-step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dce1ee;border-radius:12px;overflow:hidden;background:white;margin:0 0 25px}.portal-step-button{min-width:0;display:flex;align-items:center;gap:12px;border:0;border-inline-end:1px solid #e5e8f1;background:transparent;color:#788198;padding:18px 16px;text-align:start;font:24px/1.4 var(--portal-font);cursor:pointer}.portal-step-button:last-child{border-inline-end:0}.portal-step-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#eef0f7;color:#8991a9}.portal-step-button.is-current{background:#f0f1fa;color:#2d2e80;box-shadow:inset 0 -3px #f9a01e}.portal-step-button.is-current .portal-step-number{background:#2d2e80;color:white}.portal-step-button.is-complete .portal-step-number{background:#e8f2e9;color:#39764a}.portal-step-button:disabled{opacity:.65;cursor:default}.portal-step-panel[hidden]{display:none!important}.portal-wizard-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:25px;padding-top:22px;border-top:1px solid #dce1ee}.portal-wizard-back{font:25px/1.4 var(--portal-font);background:white;border:1px solid #d3daea;border-radius:8px;padding:10px 24px;color:#67728d;cursor:pointer}.portal-wizard-next{margin-inline-start:auto}.portal-wizard-error{background:#fff1ed;border:1px solid #e8b6a9;border-radius:8px;color:#aa4f3d;padding:10px 16px;font-size:24px}.portal-field-invalid{outline:2px solid #bc6254!important;outline-offset:2px}.portal-upload-help{font-size:25px!important;color:#7a8095!important;margin:0 0 24px!important}.portal-documents-card,.portal-review-card{background:white;border:1px solid #e0e4ee;border-radius:13px;padding:25px 28px;margin:0 0 24px}.portal-documents-card h2,.portal-review-card h2{font-size:31px;margin:0 0 18px}.portal-upload-grid,.portal-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.portal-upload-grid>.div-row{width:100%!important;max-width:none!important;float:none!important;display:block!important}.portal-file-card{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;min-width:0;min-height:116px;background:#fafbfe;border:1px dashed #ccd4e6;border-radius:10px;padding:20px;position:relative}.portal-file-card.has-file{border-style:solid;border-color:#c6d9cb;background:#f7faf7}.portal-file-card.is-dragging{border-color:#f9a01e;background:#fff9ee}.portal-file-card.has-error{border-color:#bc6254;background:#fff6f3}.portal-file-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;overflow:hidden!important;padding:0!important;pointer-events:none!important}.portal-file-choose{font:24px/1.35 var(--portal-font)!important;color:#2d2e80!important;border:1px solid #d5daeb!important;border-radius:6px!important;background:white!important;padding:8px 15px!important;cursor:pointer;box-shadow:none!important;min-width:0!important;margin:0!important}.portal-file-name{font-size:23px;color:#616b83;overflow-wrap:anywhere;min-width:0;flex:1}.portal-file-hint{flex-basis:100%;font-size:20px!important;color:#8b92a8;direction:ltr}.portal-file-status{font-size:21px;color:#4f765b}.has-error .portal-file-status{color:#a74e3d}.portal-file-remove{font:21px/1.4 var(--portal-font)!important;color:#a65e50!important;background:none!important;border:0!important;padding:0 4px!important;margin-inline-start:auto!important;min-width:0!important;box-shadow:none!important;cursor:pointer}.portal-file-preview{width:65px;height:75px;object-fit:contain;border:1px solid #e3e7f0;border-radius:6px;background:white}.portal-file-preview[hidden],.portal-file-remove[hidden],.portal-wizard-actions button[hidden]{display:none!important}.portal-step-panel canvas{display:block;width:100%;height:160px!important;min-height:160px;border:1px dashed #cbd3e4;border-radius:8px;background:white}.portal-review-card>p{color:#7a8095;font-size:25px}.portal-review-group{padding:20px 0;border-top:1px solid #e8ecf3}.portal-review-group h3{font-size:28px;margin:0 0 17px}.portal-review-grid{margin:0;gap:15px 30px}.portal-review-grid>div{min-width:0;padding-bottom:9px;border-bottom:1px solid #edf0f6}.portal-review-grid dt{font-size:22px;color:#8890a6}.portal-review-grid dd{margin:0;font-size:26px;color:#3b4562;overflow-wrap:anywhere}.portal-review-files{margin:0;padding-inline-start:25px;font-size:24px;color:#65718b}.portal-final-action{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:14px;width:100%!important;max-width:none!important;margin-top:20px!important;padding:20px 0!important}.portal-final-action .form-msg{flex-basis:100%}.portal-step-panel .photo-wrapper{margin-inline:auto!important}.portal-step-panel .photo-edit{max-width:180px;margin:auto}.portal-step-panel .photo-edit img{max-height:180px;object-fit:contain}.portal-step-panel #Attachments .photo-container{max-width:100%!important}.portal-step-panel #Attachments .photoInfo{padding-top:0!important}.portal-step-panel #Attachments .booking-form.portal-field-grid{display:block!important}.portal-step-panel #Attachments .photo-container .dbl-column{display:flex!important;flex-wrap:wrap;justify-content:flex-start;gap:30px}.portal-step-panel #Attachments .photo-container .div-row{flex:0 1 220px!important;max-width:220px!important}.portal-step-panel .file-selector-item .portal-file-card{margin-top:12px;flex-basis:100%}.portal-step-panel .file-selector-item{flex-wrap:wrap}.portal-step-panel .file-selector-item>button{display:none!important}.portal-step-panel .file-selector-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-step-panel .photo-upload-area{padding:22px!important;margin-bottom:22px!important}.portal-step-panel .photo-upload-area #imgPreview{max-width:130px!important;max-height:170px!important}.portal-wizard .round-bullet{display:none!important}
/* A search is one complete grid row. Explicit border-box sizing prevents padded legacy inputs from covering the button. */
body.portal-site.portal-form .portal-search-row{display:grid!important;grid-template-columns:minmax(0,1fr) 150px!important;align-items:center!important;gap:14px!important;grid-column:1/-1!important;width:100%!important;max-width:760px!important;float:none!important;margin:0!important;padding:0!important;min-width:0!important;box-sizing:border-box!important}
body.portal-site.portal-form .portal-search-row :is(input[type=text],input[type=submit],button[type=submit]){box-sizing:border-box!important;float:none!important;position:static!important;transform:none!important;margin:0!important;min-width:0!important;max-width:none!important;height:49px!important;justify-self:stretch!important}
body.portal-site.portal-form .portal-search-row input[type=text]{grid-column:1!important;grid-row:1!important;width:100%!important}
body.portal-site.portal-form .portal-search-row :is(input[type=submit],button[type=submit]){grid-column:2!important;grid-row:1!important;width:150px!important;padding:7px 16px!important}
body.portal-site.portal-form .portal-search-row>span{grid-column:1/-1}
@media(max-width:900px){.portal-step-button{padding:16px 12px;gap:8px;font-size:22px}}
@media(max-width:700px){.portal-step-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-step-button{border-bottom:1px solid #e5e8f1;padding:13px 10px}.portal-step-button:nth-child(2){border-inline-end:0}.portal-step-button:nth-child(n+3){border-bottom:0}.portal-upload-grid,.portal-review-grid,.portal-step-panel .file-selector-list{grid-template-columns:1fr}.portal-documents-card,.portal-review-card{padding:20px}.portal-file-card{padding:16px}.portal-final-action{flex-direction:column;align-items:stretch}.portal-final-action input[type=submit]{width:100%!important;margin:0!important}.portal-step-panel #Attachments .photo-container .div-row{flex-basis:100%!important;width:100%!important;max-width:100%!important}.portal-step-panel #Attachments .photo-container .dbl-column{justify-content:center}.portal-wizard-back,.portal-wizard-next{font-size:23px!important;padding:10px 16px!important}body.portal-site.portal-form .portal-search-row{grid-template-columns:minmax(0,1fr) 105px!important;gap:10px!important}body.portal-site.portal-form .portal-search-row :is(input[type=submit],button[type=submit]){width:105px!important;font-size:23px!important}}
@media print{.portal-step-nav,.portal-wizard-actions,.portal-file-choose,.portal-file-remove{display:none!important}.portal-step-panel[hidden]{display:block!important}.portal-file-card,.portal-review-card{break-inside:avoid;box-shadow:none}}
/* Legacy mobile themes absolutely positioned submit buttons; keep them in normal document flow. */
body.portal-site.portal-form .form-action:not(.portal-search-row){position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important}
body.portal-site.portal-form .form-action :is(input[type=submit],button[type=submit]){position:static!important;inset:auto!important;float:none!important;transform:none!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important}
.portal-step-panel .portal-final-action{margin-bottom:20px!important}
body.portal-site.portal-form .portal-wizard-title{font-size:34px!important;line-height:1.35!important;font-weight:bold!important;margin:0 0 24px!important;text-align:start!important}
