@font-face{font-family:MGBO;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/vazirmatn-arabic-400-normal.woff2) format('woff2')}@font-face{font-family:MGBO;font-style:normal;font-weight:700;font-display:swap;src:url(fonts/vazirmatn-arabic-700-normal.woff2) format('woff2')}
.mgbo-dialog,.mgbo-dialog *{box-sizing:border-box;font-family:MGBO,Tahoma,sans-serif;font-style:normal!important}.mgbo-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:1px solid #dce5ef;border-radius:24px;padding:30px;background:#fff;color:#193557;box-shadow:0 24px 100px #071d3b55;overflow:auto}dialog.mgbo-dialog:not([open]){display:none}.mgbo-dialog::backdrop{background:#0c254570;backdrop-filter:blur(6px)}.mgbo-close{position:absolute;left:20px;top:18px;width:36px;height:36px;border:0;border-radius:50%;background:#edf2f7;color:#193557;font-size:26px;cursor:pointer;padding:0;line-height:1}.mgbo-heading{padding-left:36px;margin-bottom:22px}.mgbo-heading>span{font-size:11px;color:#52739b}.mgbo-heading h2{font-size:24px;line-height:1.7;font-weight:700;color:#103f82;margin:9px 0}.mgbo-heading p{font-size:12px;line-height:1.9;color:#687b91;margin:0}.mgbo-form fieldset{border:0;margin:0 0 23px;padding:0}.mgbo-form legend{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;padding:0;margin-bottom:14px}.mgbo-form legend b{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#eaf1fa;color:#103f82;font-size:12px}.mgbo-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mgbo-fields label{font-size:12px;font-weight:700;display:block}.mgbo-fields label>span{font-size:10px;color:#7c8da3;font-weight:400;margin-right:4px}.mgbo-form input:not([type=checkbox]):not([type=file]),.mgbo-form select,.mgbo-form textarea{display:block;width:100%;min-height:44px;background:#f6f8fb;border:1px solid #dce4ee;border-radius:10px;padding:10px 12px;color:#193557;font-size:13px;line-height:1.6;box-shadow:none;margin-top:6px}.mgbo-form textarea{resize:vertical}.mgbo-form :is(input,select,textarea):focus{outline:2px solid #2b69b866;outline-offset:1px;background:#fff}.mgbo-upload{display:flex;flex-direction:column;gap:6px;padding:17px;border:1px dashed #aabfd8;background:#f7faff;border-radius:12px;margin-top:16px;font-size:12px}.mgbo-upload>span{font-size:10px;color:#6f829b}.mgbo-upload input{font-size:11px;max-width:100%;margin-top:6px}.mgbo-consent{display:flex;gap:8px;align-items:start;font-size:11px;line-height:1.9;color:#64758b}.mgbo-consent input{margin-top:4px;accent-color:#103f82}.mgbo-form-bottom{border-top:1px solid #e6edf4;margin-top:20px;padding-top:18px;display:flex;gap:15px;align-items:center}.mgbo-submit{flex-shrink:0;border:0;border-radius:12px;background:#103f82;color:#fff;padding:12px 22px;cursor:pointer;font-weight:700;font-size:13px}.mgbo-submit span{margin-right:20px}.mgbo-submit:disabled{opacity:.6;cursor:wait}.mgbo-result{font-size:12px;margin:0;line-height:1.9}.mgbo-success{color:#176347}.mgbo-error{color:#af2636}.mgbo-dialog .mgbo-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.mgbh-header-nav .mgbo-trigger{font:inherit;font-style:normal;color:#fff;background:#103f82;border:0;border-radius:9px;padding:9px 15px;cursor:pointer;white-space:nowrap}.mgbo-dialog :focus-visible,.mgbo-trigger:focus-visible{outline:2px solid #438ac9;outline-offset:3px}
@media(max-width:600px){.mgbo-dialog{padding:23px 18px;border-radius:18px;max-height:calc(100dvh - 24px)}.mgbo-heading h2{font-size:20px}.mgbo-fields{grid-template-columns:1fr;gap:12px}.mgbo-form-bottom{flex-direction:column;align-items:stretch}.mgbo-submit{width:100%}.mgbo-close{left:14px;top:14px}.mgbh-header-nav .mgbo-trigger{width:100%;text-align:right}}

/* 1.0.1: match the site buttons, remove horizontal overflow and fit the form. */
.mgbo-dialog{padding:22px 26px;overflow-x:hidden;scrollbar-width:thin;width:min(800px,calc(100% - 32px))}
.mgbo-dialog .mgbo-trap{display:none;position:static;left:auto}
.mgbo-form,.mgbo-form fieldset,.mgbo-fields,.mgbo-fields>label{min-width:0;min-inline-size:0}
.mgbo-heading{margin-bottom:14px}.mgbo-heading h2{font-size:22px;margin:5px 0;line-height:1.6}
.mgbo-form fieldset{margin-bottom:14px}.mgbo-form legend{margin-bottom:9px;font-size:13px}.mgbo-form legend b{width:26px;height:26px}
.mgbo-fields{gap:10px 14px}.mgbo-form input:not([type=checkbox]):not([type=file]),.mgbo-form select,.mgbo-form textarea{min-height:38px;padding:7px 11px;margin-top:4px;font-size:12px}
.mgbo-form textarea{resize:none;height:58px}.mgbo-upload{padding:10px 13px;margin-top:10px;gap:3px}.mgbo-upload input{width:100%;min-width:0;margin-top:3px}.mgbo-upload [data-mgbo-file]{overflow-wrap:anywhere}.mgbo-upload [data-mgbo-file]:empty{display:none}
.mgbo-form-bottom{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:12px;padding-top:12px}
.mgbo-dialog .mgbo-submit{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:42px;margin:0;border:0;border-radius:24px;background:#103f82!important;color:#fff!important;box-shadow:none;font-size:12px;padding:10px 20px;text-align:center;font-weight:700}
.mgbo-submit span{margin:0}.mgbo-result{text-align:center}.mgbo-result:empty{display:none}
header.mgbh-site-header .mgbh-header-actions button.mgbo-header-order{display:inline-flex;align-items:center;justify-content:center;background:var(--mgb-chrome-blue,#103f82)!important;color:#fff!important;border:0;border-radius:24px;min-height:38px;padding:8px 14px;margin:0;font:inherit;font-size:12px;font-weight:700;line-height:1.6;white-space:nowrap;cursor:pointer;box-shadow:none;flex-shrink:0}
.mgbo-dialog .mgbo-submit:hover,header.mgbh-site-header .mgbo-header-order:hover{background:#0b3168!important}
.mgbo-step-nav{display:none}
@media(max-width:600px),(max-height:700px){
.mgbo-dialog{padding:18px 20px;max-height:calc(100dvh - 24px)}.mgbo-heading h2{font-size:19px}.mgbo-heading p{font-size:11px}.mgbo-fields{grid-template-columns:1fr 1fr;gap:10px}.mgbo-fields label{font-size:11px}.mgbo-fields label>span{font-size:9px}
.mgbo-dialog[data-step="1"] fieldset:nth-of-type(2),.mgbo-dialog[data-step="2"] fieldset:nth-of-type(1){display:none}
.mgbo-dialog[data-step="1"] .mgbo-consent,.mgbo-dialog[data-step="1"] .mgbo-form-bottom{display:none}
.mgbo-step-nav{display:flex;justify-content:space-between;margin:10px 0;gap:10px}
.mgbo-step-nav button{background:#eef4fb;color:#103f82;border:0;border-radius:24px;padding:9px 16px;font-size:11px;cursor:pointer}
.mgbo-dialog[data-step="1"] .mgbo-step-back,.mgbo-dialog[data-step="2"] .mgbo-step-next{display:none}
.mgbo-dialog[data-step="1"] .mgbo-step-next{width:100%;background:#103f82;color:#fff}
}
@media(max-width:600px){header.mgbh-site-header .mgbh-header-actions button.mgbo-header-order{font-size:11px;padding:8px 12px}.mgbo-dialog{padding:17px 16px}.mgbo-close{width:30px;height:30px;font-size:23px}}
@media(max-width:350px){header.mgbh-site-header .mgbh-header-actions{display:flex!important;gap:6px!important}header.mgbh-site-header .mgbh-header-actions button.mgbo-header-order{padding:7px 10px;font-size:10px}header.mgbh-site-header .mgbh-header-actions .mgbh-chrome-contact{padding:7px 9px;font-size:10px}}
@media(max-height:500px){.mgbo-heading>span,.mgbo-heading p{display:none}.mgbo-heading h2{font-size:17px}.mgbo-heading{margin-bottom:10px}.mgbo-fields{gap:7px}.mgbo-upload{padding:7px 10px}.mgbo-form fieldset{margin-bottom:7px}.mgbo-step-nav{margin:5px 0}}

/* 1.0.2: compact branded attachment picker. */
.mgbo-dialog .mgbo-upload{position:relative;display:block;padding:12px 14px;border:1px dashed #b2c4dc;border-radius:14px;background:#f6f9fd}
.mgbo-upload-main{display:flex;align-items:center;gap:11px;min-width:0}.mgbo-upload-icon{display:grid;place-items:center;width:37px;height:42px;border-radius:9px;background:#e7eff9;color:#103f82;flex-shrink:0}.mgbo-upload-icon svg{width:22px;height:25px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mgbo-upload-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.mgbo-upload-copy strong{font-size:12px;font-weight:700;line-height:1.7}.mgbo-upload-copy>span{font-size:9px;line-height:1.8;color:#72849c}.mgbo-dialog .mgbo-file-choose{display:inline-flex;justify-content:center;align-items:center;gap:8px;flex-shrink:0;background:#103f82;color:#fff;border:0;border-radius:24px;padding:9px 14px;font-size:11px;font-weight:700;cursor:pointer;box-shadow:none}.mgbo-file-choose:hover{background:#0b3168}.mgbo-file-choose span{font-size:15px;font-weight:400}
.mgbo-dialog .mgbo-upload input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;top:0;left:0;white-space:nowrap}
.mgbo-file-selected{display:flex;gap:9px;align-items:center;margin-top:10px;padding:9px 11px;background:#fff;border:1px solid #dce6f1;border-radius:9px;min-width:0}.mgbo-file-selected[hidden]{display:none!important}.mgbo-file-check{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e4f3ec;color:#287052;flex-shrink:0}.mgbo-file-selected>div{flex:1;min-width:0}.mgbo-file-selected [data-mgbo-file]{display:block;font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:right}.mgbo-file-selected small{display:block;font-size:9px;color:#7d8ba0;margin-top:2px}.mgbo-dialog .mgbo-file-remove{background:#f2f5f9;color:#60748e;border:0;border-radius:50%;padding:0;width:27px;height:27px;font-size:21px;line-height:1;cursor:pointer;flex-shrink:0}.mgbo-file-remove:hover{background:#fdebee;color:#af2636}.mgbo-file-error{font-size:10px;color:#af2636;margin:7px 0 0;line-height:1.8}.mgbo-file-error:empty{display:none}.mgbo-upload-invalid{border-color:#c65969!important}.mgbo-has-file{border-style:solid!important}.mgbo-form legend{gap:0}
@media(max-width:600px){.mgbo-upload-main{flex-wrap:wrap;gap:8px}.mgbo-upload-icon{width:30px;height:34px}.mgbo-upload-copy strong{font-size:11px}.mgbo-upload-copy>span{font-size:8px}.mgbo-dialog .mgbo-file-choose{padding:8px 11px;font-size:10px}.mgbo-dialog .mgbo-upload{padding:10px 11px}}

/* 1.0.3: precise close icon and success feedback outside the dialog. */
.mgbo-dialog button.mgbo-close{appearance:none!important;display:grid!important;place-items:center!important;position:absolute!important;top:16px!important;left:16px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:1px solid #dce6f1!important;border-radius:50%!important;background:#f1f6fc!important;color:#103f82!important;box-shadow:none!important;line-height:1!important;cursor:pointer;transition:background .2s,color .2s}
.mgbo-dialog button.mgbo-close:hover{background:#103f82!important;color:#fff!important}.mgbo-close::before,.mgbo-close::after,.mgbo-toast-close::before,.mgbo-toast-close::after{content:none!important;display:none!important}
.mgbo-close svg,.mgbo-toast-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.mgbo-toast,.mgbo-toast *{box-sizing:border-box;font-family:MGBO,Tahoma,sans-serif;font-style:normal!important}.mgbo-toast{position:fixed;z-index:2147483000;top:24px;left:50%;transform:translateX(-50%);width:min(510px,calc(100% - 32px));display:flex;gap:13px;align-items:center;padding:18px;background:#fff;border:1px solid #d7e7e0;border-radius:18px;box-shadow:0 12px 48px #10243b28;color:#17395b;text-align:right;animation:mgbo-toast-in .22s ease-out}.mgbo-toast[hidden]{display:none!important}.mgbo-toast-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e6f4ec;color:#257253;flex-shrink:0}.mgbo-toast-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mgbo-toast-copy{flex:1;min-width:0}.mgbo-toast-copy strong{display:block;font-size:14px;font-weight:700;line-height:1.8}.mgbo-toast-copy>span{display:block;font-size:10px;color:#74869a;line-height:1.9;margin-top:4px}.mgbo-toast button.mgbo-toast-close{appearance:none;display:grid;place-items:center;border:0;padding:0;margin:0;border-radius:50%;background:#f1f6fc;color:#103f82;box-shadow:none;width:30px;height:30px;min-width:30px;min-height:30px;cursor:pointer;flex-shrink:0}.mgbo-toast-close:hover{background:#e0eafa!important}.mgbo-toast-close:focus-visible{outline:2px solid #438ac9;outline-offset:3px}
@keyframes mgbo-toast-in{from{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.mgbo-toast{animation:none}.mgbo-dialog button.mgbo-close{transition:none}}@media(max-width:600px){.mgbo-toast{top:14px;padding:14px;gap:10px}.mgbo-toast-copy strong{font-size:12px}.mgbo-toast-copy>span{font-size:9px}.mgbo-toast-icon{width:33px;height:33px}}

/* Embedded form uses the same fields and styling with a normal page layout. */
.mgbo-dialog.mgbo-inline{display:block;position:relative;width:100%;max-width:800px;max-height:none;height:auto;margin:24px auto;padding:28px;border-radius:24px;overflow:visible;box-shadow:0 10px 35px #10243b0b}
.mgbo-dialog.mgbo-inline .mgbo-heading{padding-left:0}
.mgbo-dialog.mgbo-inline .mgbo-step-nav{display:none!important}
.mgbo-dialog.mgbo-inline fieldset,.mgbo-dialog.mgbo-inline .mgbo-consent,.mgbo-dialog.mgbo-inline .mgbo-form-bottom{display:revert}
.mgbo-dialog.mgbo-inline .mgbo-form-bottom{display:flex}
.mgbo-dialog.mgbo-inline .mgbo-heading>span,.mgbo-dialog.mgbo-inline .mgbo-heading p{display:block}
.mgbo-dialog.mgbo-inline .mgbo-result.mgbo-success{display:block;padding:14px;margin-top:14px;border:1px solid #c9e6d5;border-radius:12px;background:#edf8f1;color:#176347}
@media(max-width:600px){.mgbo-dialog.mgbo-inline{padding:22px 16px;margin:16px auto}.mgbo-dialog.mgbo-inline .mgbo-fields{grid-template-columns:1fr}}
