/* Afagh forms 2.0.0 — native Greenlight controls, shared join/signin layout. */
@font-face{font-family:AfaghJoin;src:url('/afagh-join-v1/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
body.afj-join{--ink:#082c54;--blue:#079fee;margin:0!important;min-height:max(100vh,66.6667vw);min-height:max(100svh,66.6667vw);position:relative;isolation:isolate;color:var(--ink);background:#dbefff url('/afagh-join-v1/background.webp?v=2') center top/cover no-repeat!important;font-family:AfaghJoin,sans-serif!important;direction:rtl}
body.afj-join *,body.afj-join *::before,body.afj-join *::after{box-sizing:border-box}
.afj-join #navbar,.afj-join #footer{display:none!important}
.afj-join .afj-shell{position:static}
.afj-join .afj-topbar{height:clamp(100px,10.6vw,160px);padding:20px 3.8vw;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.afj-join .afj-brand{display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:#52769d;font-size:clamp(10px,1vw,14px)}
.afj-join .afj-logo{width:clamp(115px,11vw,166px);height:clamp(48px,5.2vw,78px);object-fit:contain}
.afj-join .afj-guide{border:0;border-bottom:1px solid #7196b0;padding:8px 0;background:transparent;color:#143d62;font:600 14px AfaghJoin,sans-serif;cursor:pointer;margin-top:12px}
.afj-join .afj-art{position:absolute;top:clamp(135px,11.3vw,200px);left:14.5%;width:25%;border:0;background:none;box-shadow:none;pointer-events:none}
.afj-join .afj-message{text-align:right;color:#fff;text-shadow:0 2px 10px #06294c55}
.afj-join .afj-message h2{font-size:clamp(28px,3.35vw,54px);font-weight:850;line-height:1.55;margin:0;letter-spacing:-.8px}
.afj-join .afj-message h2 span,.afj-join .afj-message h2 strong{display:block;white-space:nowrap}
.afj-join .afj-message h2 strong{color:#fbbe07}
.afj-join .afj-message p{font-size:clamp(12px,1.35vw,20px);line-height:1.8;margin:12px 0 0;white-space:nowrap}
.afj-join .container.no-header-height,.afj-join .container.regular-height{position:relative;z-index:1;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0 8.5vw 70px!important;margin:0!important;}
.afj-join .afj-stage{height:auto!important;min-height:0!important;display:block!important;padding:0!important;margin:0!important;width:100%!important}
.afj-join .afj-stage>.row:first-child,.afj-join .afj-stage>div.text-center:first-child{display:none!important}
.afj-join .afj-stage>.row:last-child{display:flex!important;justify-content:flex-start;direction:rtl;margin:0!important}
.afj-join .afj-native-card{position:relative;flex:none!important;float:none!important;width:46.5%!important;max-width:610px!important;min-width:0!important;margin:8px 0 0!important;padding:clamp(24px,3.2vw,48px) clamp(22px,3.3vw,50px) 24px!important;border:1px solid #fffffff0!important;border-radius:32px!important;background:linear-gradient(120deg,#edf8ffb8,#ffffffab)!important;box-shadow:0 12px 38px #3d689124,inset 0 0 28px #ffffff42!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--ink);overflow:visible;direction:rtl;text-align:right}
.afj-join .afj-native-card::before{content:none!important}
.afj-join .afj-welcome{text-align:center;margin:0 0 24px}
.afj-join .afj-welcome p{font-size:clamp(12px,1.15vw,17px);line-height:1.8;font-weight:500;color:#5f7fa8;margin:0 0 12px}
.afj-join .afj-welcome h2{font-size:clamp(22px,2.5vw,38px);font-weight:850;line-height:1.65;letter-spacing:-.7px;margin:0;white-space:nowrap}
.afj-join .afj-welcome em{font-style:normal;color:var(--blue)}
.afj-join .afj-native-card>.card-body{position:relative;padding:14px 74px 14px 16px!important;margin:0 0 26px!important;border-radius:18px;background:#f6fbff70;border:1px solid #ffffffde;min-height:82px}
.afj-join .afj-native-card>.card-body::before{content:'';position:absolute;right:13px;top:18px;width:46px;height:46px;border-radius:50%;background:#a4ddfcaa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23144f7a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v15M12 5C8 2 4 3 2 4v15c4-2 7-1 10 1 3-2 6-3 10-1V4c-2-1-6-2-10 1Z'/%3E%3C/svg%3E") center/28px no-repeat}
.afj-join .afj-native-card>.card-body>.row{display:flex;flex-direction:column;margin:0!important;gap:3px}
.afj-join .afj-native-card>.card-body .col,.afj-join .afj-native-card>.card-body [class*='col-']{width:100%;max-width:none;flex:auto;padding:0!important;min-width:0}
.afj-join .afj-native-card>.card-body .text-muted:first-child{display:none}
.afj-join .afj-native-card>.card-body h1{font-size:clamp(16px,1.65vw,24px);font-weight:800;line-height:1.65;margin:0!important;overflow-wrap:anywhere}
.afj-join .afj-native-card>.card-body .vstack{gap:0!important}
.afj-join .afj-native-card>.card-body .vstack>div:first-child{display:none!important}
.afj-join .afj-native-card>.card-body img,.afj-join .afj-native-card>.card-body .avatar{display:none!important}
.afj-join .afj-native-card>.card-body h5{font-size:clamp(12px,1.1vw,16px);line-height:1.8;font-weight:500;text-align:right!important;color:#5d7da8;margin:0!important;overflow-wrap:anywhere}
.afj-join .afj-native-card>.card-body h5::before{content:'استاد: '}
.afj-join .afj-native-card>.card-footer{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.afj-join .afj-native-card>.card-footer>.row{margin:0!important}
.afj-join .afj-native-card form{padding:0!important;margin:0;min-width:0}
.afj-join .afj-native-card label{font:600 14px/1.9 AfaghJoin,sans-serif!important;color:#17395e!important;margin-bottom:7px!important}
.afj-join .afj-native-card input:not([type=checkbox]):not([type=hidden]){width:100%;min-width:0;min-height:48px;font:400 16px/1.6 AfaghJoin,sans-serif!important;text-align:right!important;direction:rtl!important;padding:10px 14px!important;border:1px solid #a0c4e6!important;border-radius:12px!important;background:#ffffffe0!important;color:#163957!important;box-shadow:inset 0 1px 3px #245f8420}
.afj-join .afj-native-card input[type=email],.afj-join .afj-native-card input[type=password]{direction:ltr!important;text-align:left!important}
.afj-join .afj-native-card input::placeholder{opacity:1;color:#6b88ac}
.afj-join .afj-native-card input:focus{outline:3px solid #25a1d837!important;outline-offset:2px;box-shadow:none!important}
.afj-join .afj-native-card input:disabled{opacity:.65;cursor:not-allowed}
.afj-join .afj-native-card .mb-2{margin-bottom:20px!important}
.afj-join .afj-native-card .form-check{display:flex;align-items:flex-start;gap:9px;min-height:28px;padding:0!important;margin:14px 0!important}
.afj-join .afj-native-card .form-check-input{position:static;float:none!important;flex:none;width:19px;height:19px;margin:4px 0 0!important;border:1.5px solid #57789e;border-radius:4px;accent-color:#139fe0}
.afj-join .afj-native-card .form-check label{font-size:12px!important;line-height:1.9!important;font-weight:500!important;margin:0!important;flex:1;overflow-wrap:anywhere}
.afj-join .afj-native-card .btn-brand[type=submit]{float:none!important;display:flex!important;align-items:center;justify-content:center;gap:14px;width:100%!important;min-height:53px;padding:10px 16px!important;margin:18px 0 13px!important;border:1px solid #4cd0fa!important;border-radius:15px!important;background:linear-gradient(180deg,#26b5f0,#078cda)!important;color:#fff!important;font:750 19px/1.6 AfaghJoin,sans-serif!important;box-shadow:inset 0 2px 6px #70e1ff77,0 8px 16px #159cdb22}
.afj-join .afj-native-card .btn-brand[type=submit]::after{content:'←';font:27px sans-serif}
.afj-join .afj-native-card .btn-brand:disabled{opacity:.55;cursor:wait}
.afj-join .afj-native-card a{color:#5476a1;text-underline-offset:4px;overflow-wrap:anywhere}
.afj-join .afj-native-card .text-muted{color:#5b7b9e!important;font-family:AfaghJoin,sans-serif}
.afj-join .afj-native-card .invalid-feedback{display:block;font:400 13px/1.8 AfaghJoin,sans-serif;color:#9f2446}
.afj-join .afj-native-card>.card-footer>.row:last-child{font-size:12px;line-height:1.8;text-align:center}
.afj-join.afj-signin .afj-native-card>.card-title{display:none!important}
.afj-join.afj-signin .afj-native-card>.text-center{font-size:12px;line-height:1.9;margin-top:12px}
.afj-join.afj-signin .afj-native-card form>.row{align-items:center;row-gap:8px}
.afj-join.afj-signin .afj-native-card form>.row>.col{min-width:0}
.afj-join .afj-credit{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 32px);width:max-content;padding:6px 12px;margin:10px auto 0;color:#4b6e96;font:400 11px/1.8 AfaghJoin,sans-serif}
.afj-join .afj-tavous{width:51px;height:36px;object-fit:contain}
.afj-join .afj-legal{color:#426c97;font-size:11px}
.afj-join .afj-help{width:min(560px,calc(100% - 28px));max-height:85vh;overflow:auto;border:1px solid white;border-radius:24px;padding:25px;background:#f4faff;color:#12375b;box-shadow:0 20px 70px #06254544;font-family:AfaghJoin,sans-serif}
.afj-join .afj-help::backdrop{background:#102b4b80;backdrop-filter:blur(5px)}
.afj-join .afj-help h2{font-size:22px;margin:0 0 18px}.afj-join .afj-help h3{font-size:16px;margin:0 0 6px}.afj-join .afj-help p{font-size:14px;line-height:1.9;margin:0}.afj-join .afj-help section{padding:14px 0;border-top:1px solid #d5e5f1}
.afj-join .afj-close{width:100%;padding:12px;border:0;border-radius:12px;background:#178fc7;color:white;font:600 16px AfaghJoin,sans-serif;cursor:pointer}
.afj-join :focus-visible{outline:3px solid #147eb5;outline-offset:4px}
@media(min-width:1700px){.afj-join .afj-topbar{height:12vw}.afj-join .container.no-header-height,.afj-join .container.regular-height{padding-right:10vw!important}.afj-join .afj-native-card{max-width:700px!important}}
@media(max-width:900px){body.afj-join{min-height:100vh;min-height:100svh;background-size:auto 790px!important;background-position:38% top!important;padding-bottom:20px}body.afj-join::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#e8f5ff30 0,#e8f5ff50 200px,#e8f5ffe8 700px,#e8f5ff 100%)}.afj-join .afj-topbar{height:95px;padding:14px 22px;align-items:center}.afj-join .afj-logo{width:115px;height:49px}.afj-join .afj-guide{font-size:12px;margin:0}.afj-join .afj-brand{font-size:10px}.afj-join .afj-art{position:relative;inset:auto;width:auto;margin:8px 20px 20px;text-align:center}.afj-join .afj-message{text-align:center}.afj-join .afj-message h2{font-size:26px;letter-spacing:0;line-height:1.6}.afj-join .afj-message h2 span,.afj-join .afj-message h2 strong{display:inline;white-space:normal}.afj-join .afj-message h2 strong{margin-right:6px}.afj-join .afj-message p{font-size:12px;margin-top:5px;white-space:normal}.afj-join .container.no-header-height,.afj-join .container.regular-height{width:calc(100% - 28px)!important;max-width:510px!important;padding:0!important;margin:0 auto!important}.afj-join .afj-native-card{width:100%!important;max-width:none!important;margin:0!important;padding:26px 22px 22px!important;border-radius:26px!important;background:linear-gradient(130deg,#f5fbfff0,#e9f5ffde)!important;backdrop-filter:blur(14px)}.afj-join .afj-welcome{margin-bottom:20px}.afj-join .afj-welcome p{font-size:12px;margin-bottom:8px}.afj-join .afj-welcome h2{font-size:25px;white-space:normal;letter-spacing:-.5px}.afj-join .afj-native-card>.card-body{margin-bottom:22px!important;padding:13px 66px 13px 12px!important;min-height:76px}.afj-join .afj-native-card>.card-body::before{right:11px;top:15px;width:42px;height:42px}.afj-join .afj-native-card>.card-body h1{font-size:17px}.afj-join .afj-native-card>.card-body h5{font-size:12px}.afj-join .afj-native-card label{font-size:13px!important}.afj-join .afj-native-card input:not([type=checkbox]):not([type=hidden]){min-height:49px;font-size:16px!important}.afj-join .afj-native-card .btn-brand[type=submit]{font-size:17px;min-height:52px}.afj-join .afj-credit{margin-top:20px}.afj-join .afj-help{padding:20px}}
@media(max-width:360px){.afj-join .afj-native-card{padding:22px 17px!important}.afj-join .afj-welcome h2{font-size:22px}.afj-join .afj-message h2{font-size:22px}.afj-join .afj-topbar{padding:12px 17px}}
@media(prefers-reduced-motion:reduce){.afj-join *{scroll-behavior:auto!important}}
