/* CintaQu v1.14 - reference-aligned responsive role gateway login */
.cq-login-v114{margin:0;min-width:320px;min-height:100dvh;padding:26px clamp(22px,3.5vw,58px);overflow-x:hidden;background:radial-gradient(circle at 5% 14%,rgba(236,218,152,.20),transparent 27%),radial-gradient(circle at 95% 8%,rgba(166,213,201,.16),transparent 29%),linear-gradient(135deg,#f7f6ee 0%,#f2f7f5 48%,#eef5f3 100%);color:#122a26;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cq-login-v114 *{box-sizing:border-box}
.cq-login-v114 button,.cq-login-v114 input{font:inherit}
.cq-login-v114 .is-hidden{display:none!important}
.cq-login-shell{width:100%;max-width:1560px;min-height:calc(100dvh - 52px);margin:0 auto;display:grid;grid-template-columns:45% 55%;overflow:hidden;border:1px solid rgba(19,73,62,.14);border-radius:30px;background:#fff;box-shadow:0 20px 60px rgba(38,68,59,.09)}

/* Left panel */
.cq-login-intro{position:relative;min-width:0;overflow:hidden;background:linear-gradient(152deg,#07493a 0%,#07533f 55%,#0a6048 100%);color:#fff}
.cq-intro-content{position:relative;z-index:2;min-height:100%;padding:62px clamp(42px,5.2vw,64px) 50px;display:flex;flex-direction:column}
.cq-brand-block{display:flex;align-items:center;gap:14px}
.cq-brand-mark{width:69px;height:69px;flex:0 0 69px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.38);border-radius:23px;background:linear-gradient(145deg,#f8d986,#e9bd57);color:#07604a;font-family:Georgia,serif;font-size:31px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 12px 28px rgba(0,0,0,.12)}
.cq-brand-text strong,.cq-brand-text small{display:block}.cq-brand-text strong{font-size:21px;line-height:1.2;letter-spacing:.01em}.cq-brand-text small{margin-top:3px;color:#c9e9df;font-size:11px;line-height:1.35;letter-spacing:.045em;text-transform:uppercase}
.cq-intro-copy{margin-top:34px;max-width:590px}
.cq-product-label{display:block;margin-bottom:6px;color:#ffd369;font-size:19px;line-height:1.25;font-weight:900;letter-spacing:.035em}
.cq-intro-copy h1{margin:0;color:#fff;font-size:clamp(48px,4vw,62px);line-height:1.08;letter-spacing:-.035em;font-weight:850}
.cq-intro-copy p{max-width:590px;margin:27px 0 0;color:#e7f6f2;font-size:20px;line-height:1.9;font-weight:430}
.cq-role-points{margin:43px 0 0;padding:0;display:grid;gap:13px;list-style:none;max-width:610px}
.cq-role-points li{position:relative;margin:0;padding:0 0 0 33px;color:#fff;font-size:17px;line-height:1.45;font-weight:450}
.cq-role-points li>span{position:absolute;left:0;top:0;color:#ffd369;font-size:21px;line-height:1.1;font-weight:950}.cq-role-points b{font-weight:800}
.cq-intro-foot{margin-top:auto;padding-top:32px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;color:#cde9e2}
.cq-intro-foot .quran-font{font-size:25px;line-height:1.45;color:#d9eee8;opacity:.88}.cq-intro-foot small{max-width:220px;color:#b6d9d0;font-size:11px;line-height:1.45;text-align:right}
.cq-intro-decor{position:absolute;z-index:1;width:330px;height:330px;right:-115px;bottom:-150px;border:24px solid rgba(100,197,170,.10);border-radius:50%}
.cq-intro-decor:before,.cq-intro-decor:after{content:"";position:absolute;inset:44px;border:18px solid rgba(100,197,170,.08);border-radius:50%}.cq-intro-decor:after{inset:103px;border-width:16px}

/* Right panel / role chooser */
.cq-login-access{min-width:0;background:linear-gradient(180deg,#fff 0%,#fdfefd 100%);display:flex;align-items:center}
.cq-access-inner{width:100%;padding:64px clamp(44px,4.4vw,66px) 38px}
.cq-access-view{width:100%;max-width:770px;margin:0 auto}
.cq-access-head{margin:0 0 31px}
.cq-access-kicker{display:block;margin-bottom:2px;color:#00624d;font-size:19px;line-height:1.25;font-weight:900;letter-spacing:.035em}
.cq-access-head h2{margin:0;color:#0d1715;font-size:37px;line-height:1.12;letter-spacing:-.035em;font-weight:850}
.cq-access-head p{margin:17px 0 0;color:#697976;font-size:17px;line-height:1.55}
.cq-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cq-role-card{appearance:none;width:100%;height:126px;margin:0;padding:20px 28px 20px 24px;display:grid;grid-template-columns:70px minmax(0,1fr) 22px;align-items:center;gap:17px;border:1px solid #d8e2df;border-radius:23px;background:#fff;color:#0a1b18;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(27,55,49,.025);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.cq-role-card:hover{transform:translateY(-2px);border-color:#a8cfc5;box-shadow:0 15px 34px rgba(27,74,64,.09);background:#fdfefe}.cq-role-card:focus-visible{outline:4px solid rgba(12,119,92,.14);outline-offset:3px}
.cq-role-icon{width:70px;height:70px;display:grid;place-items:center;border-radius:22px;font-size:28px;line-height:1;font-weight:900}
.role-central .cq-role-icon{background:#e5f0ff;color:#2e67ab}.role-school .cq-role-icon{background:#e2f4ed;color:#00745c}.role-teacher .cq-role-icon{background:#fff1cf;color:#9d6b0b}.role-student .cq-role-icon{background:#f0e4ff;color:#7141b1}
.cq-role-copy{min-width:0}.cq-role-copy strong,.cq-role-copy small{display:block}.cq-role-copy strong{color:#061512;font-size:18px;line-height:1.25;font-weight:850}.cq-role-copy small{margin-top:5px;color:#677774;font-size:14px;line-height:1.35;font-weight:450}
.cq-role-arrow{justify-self:end;color:#9aacaa;font-size:42px;line-height:1;font-weight:300;transform:translateY(-1px)}
.cq-register-panel{margin-top:27px;padding:20px 20px 20px 21px;display:grid;grid-template-columns:minmax(0,1fr) 244px;align-items:center;gap:24px;border:1px solid #bfddd5;border-radius:22px;background:linear-gradient(135deg,#f7fcfa,#f1f9f6)}
.cq-register-panel>span{min-width:0}.cq-register-panel strong,.cq-register-panel small{display:block}.cq-register-panel strong{color:#0c211d;font-size:17px;line-height:1.3;font-weight:850}.cq-register-panel small{margin-top:3px;color:#6c7d79;font-size:14px;line-height:1.5}
.cq-register-panel a{min-height:91px;padding:14px 22px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#dff2eb;color:#005d45;font-size:22px;line-height:1.15;font-weight:900;text-align:center;transition:background .18s ease,transform .18s ease}.cq-register-panel a:hover{background:#d2ece3;transform:translateY(-1px)}.cq-register-panel a:focus-visible{outline:4px solid rgba(12,119,92,.14);outline-offset:3px}
.cq-login-footer{margin-top:24px;color:#96a29f;font-size:11px;line-height:1.4;text-align:center}

/* Form view */
.cq-access-form{max-width:650px}
.cq-back-button{appearance:none;margin:0 0 27px;padding:0;border:0;background:transparent;color:#476b64;font-size:14px;line-height:1.3;font-weight:750;cursor:pointer}.cq-back-button span{margin-right:7px;color:#0b735c;font-size:19px;vertical-align:-1px}.cq-back-button:hover{color:#005c49}.cq-back-button:focus-visible{outline:3px solid rgba(12,119,92,.14);outline-offset:5px;border-radius:5px}
.cq-login-alert{margin:0 0 21px;padding:14px 16px;display:flex;align-items:flex-start;gap:12px;border:1px solid #f3c6bf;border-radius:14px;background:#fff5f2;color:#8c2d23}.cq-alert-mark{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:9px;background:#fee4de;font-weight:950}.cq-login-alert strong,.cq-login-alert div>span{display:block}.cq-login-alert strong{font-size:13px;line-height:1.4}.cq-login-alert div>span{margin-top:2px;color:#a54a40;font-size:12px;line-height:1.5}
.cq-form-panel{display:none}.cq-form-panel.active{display:block;animation:cqPanelIn .18s ease}@keyframes cqPanelIn{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.cq-form-head{margin-bottom:26px}.cq-form-role{display:flex;align-items:center;gap:13px;margin-bottom:21px}.cq-form-role .cq-role-icon{width:56px;height:56px;flex:0 0 56px;border-radius:17px;font-size:22px}.cq-form-role>span:last-child small,.cq-form-role>span:last-child strong{display:block}.cq-form-role>span:last-child small{color:#70807c;font-size:10px;line-height:1.25;font-weight:900;letter-spacing:.12em}.cq-form-role>span:last-child strong{margin-top:3px;color:#0b1d19;font-size:17px;line-height:1.25;font-weight:850}
.cq-form-head h2{margin:0;color:#0c1715;font-size:34px;line-height:1.16;letter-spacing:-.035em;font-weight:850}.cq-form-head p{margin:10px 0 0;color:#6f7f7b;font-size:15px;line-height:1.55}
.cq-login-form{width:100%;margin:0;display:grid;gap:17px}.cq-login-form>input[type="hidden"]{display:none}.cq-login-form label{display:block;width:100%;margin:0;padding:0;color:#28443e;font-size:13px;line-height:1.4;font-weight:800}.cq-input-wrap{position:relative;display:block;width:100%;margin-top:7px}
.cq-input-wrap input{display:block;width:100%;height:56px;margin:0!important;padding:0 74px 0 47px!important;border:1px solid #cddbd7!important;border-radius:13px!important;background:#fff!important;color:#173530!important;font-size:15px!important;line-height:56px!important;outline:0!important;box-shadow:0 4px 12px rgba(34,69,63,.025)!important;transition:border-color .18s ease,box-shadow .18s ease!important}.cq-input-wrap input:not([type="password"]){padding-right:15px!important}.cq-input-wrap input::placeholder{color:#a0aaa8;opacity:1}.cq-input-wrap input:hover{border-color:#abc6bf!important}.cq-input-wrap input:focus{border-color:#2e9b82!important;box-shadow:0 0 0 4px rgba(13,126,98,.09)!important}
.cq-input-icon{position:absolute;z-index:2;left:16px;top:50%;width:22px;height:22px;display:grid;place-items:center;transform:translateY(-50%);color:#68988d;font-size:14px;line-height:1;font-weight:900;pointer-events:none}.cq-password-toggle{appearance:none;position:absolute;z-index:3;right:8px;top:50%;height:38px;margin:0;padding:0 12px;transform:translateY(-50%);border:0;border-radius:9px;background:#edf6f3;color:#356d61;font-size:11px;line-height:38px;font-weight:850;cursor:pointer}.cq-password-toggle:hover{background:#e2f0ec;color:#075f4c}.cq-password-toggle:focus-visible{outline:3px solid rgba(12,119,92,.14);outline-offset:2px}
.cq-submit{appearance:none;width:100%;min-height:57px;margin:2px 0 0;padding:0 22px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;background:linear-gradient(135deg,#075d49,#0b7b61 58%,#0a6d62);color:#fff;font-size:14px;line-height:1.2;font-weight:850;cursor:pointer;box-shadow:0 13px 26px rgba(8,102,79,.18);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.cq-submit:hover{transform:translateY(-1px);background:linear-gradient(135deg,#064f3f,#096f58 58%,#086159);box-shadow:0 16px 30px rgba(8,102,79,.22)}.cq-submit:focus-visible{outline:4px solid rgba(12,119,92,.16);outline-offset:3px}.cq-submit span{font-size:20px;line-height:1}
.cq-form-note{margin:18px 0 0;color:#7b8986;font-size:12px;line-height:1.45;text-align:center}.cq-form-note a{font-weight:800}.cq-form-footer{margin-top:31px}

/* Large desktop tuning matching the reference composition */
@media(min-width:1280px){.cq-access-inner{padding-top:78px;padding-bottom:44px}.cq-access-view{max-width:750px}}
@media(min-width:1500px){.cq-intro-content{padding-left:63px;padding-right:64px}.cq-access-inner{padding-left:54px;padding-right:54px}.cq-access-view{max-width:750px}}

/* Tablet */
@media(max-width:1080px){.cq-login-v114{padding:18px}.cq-login-shell{min-height:calc(100dvh - 36px);grid-template-columns:40% 60%;border-radius:26px}.cq-intro-content{padding:44px 31px 38px}.cq-brand-mark{width:58px;height:58px;flex-basis:58px;border-radius:18px}.cq-brand-text{display:none}.cq-product-label{font-size:14px}.cq-intro-copy h1{font-size:43px}.cq-intro-copy p{font-size:16px;line-height:1.7}.cq-role-points{margin-top:30px;gap:10px}.cq-role-points li{font-size:14px;padding-left:27px}.cq-intro-foot small{display:none}.cq-access-inner{padding:44px 32px 32px}.cq-access-head h2{font-size:32px}.cq-access-head p{font-size:15px}.cq-role-card{height:112px;padding:16px 18px;grid-template-columns:58px minmax(0,1fr) 16px;gap:13px;border-radius:19px}.cq-role-icon{width:58px;height:58px;border-radius:18px;font-size:23px}.cq-role-copy strong{font-size:16px}.cq-role-copy small{font-size:12px}.cq-role-arrow{font-size:35px}.cq-register-panel{grid-template-columns:minmax(0,1fr) 190px}.cq-register-panel a{min-height:78px;font-size:18px}}

/* Mobile / small tablet: stacked but still keeps the reference identity panel */
@media(max-width:820px){.cq-login-v114{padding:0;background:#f5f8f6}.cq-login-shell{min-height:100dvh;display:block;border:0;border-radius:0;box-shadow:none}.cq-login-intro{min-height:auto}.cq-intro-content{min-height:auto;padding:26px 24px 28px}.cq-brand-block{gap:11px}.cq-brand-mark{width:50px;height:50px;flex-basis:50px;border-radius:16px;font-size:24px}.cq-brand-text{display:block}.cq-brand-text strong{font-size:17px}.cq-brand-text small{font-size:8px}.cq-intro-copy{margin-top:21px}.cq-product-label{font-size:12px}.cq-intro-copy h1{font-size:36px;line-height:1.08}.cq-intro-copy h1 br{display:none}.cq-intro-copy p{max-width:680px;margin-top:12px;font-size:13px;line-height:1.6}.cq-role-points,.cq-intro-foot{display:none}.cq-intro-decor{width:190px;height:190px;right:-70px;bottom:-95px;border-width:16px}.cq-login-access{display:block}.cq-access-inner{padding:31px 22px 30px}.cq-access-view{max-width:680px}.cq-access-head{margin-bottom:23px}.cq-access-kicker{font-size:13px}.cq-access-head h2{font-size:30px}.cq-access-head p{margin-top:9px;font-size:13px}.cq-role-grid{gap:12px}.cq-role-card{height:103px;padding:14px 15px;grid-template-columns:51px minmax(0,1fr) 15px;gap:11px;border-radius:17px}.cq-role-icon{width:51px;height:51px;border-radius:15px;font-size:21px}.cq-role-copy strong{font-size:15px}.cq-role-copy small{margin-top:3px;font-size:11px}.cq-register-panel{margin-top:17px;padding:15px;grid-template-columns:minmax(0,1fr) 170px;gap:14px;border-radius:17px}.cq-register-panel strong{font-size:14px}.cq-register-panel small{font-size:11px}.cq-register-panel a{min-height:64px;border-radius:14px;font-size:15px}.cq-login-footer{margin-top:18px;font-size:9px}.cq-access-form{max-width:620px}.cq-form-head h2{font-size:29px}.cq-form-head p{font-size:13px}}

@media(max-width:560px){.cq-intro-content{padding:21px 18px 23px}.cq-brand-mark{width:45px;height:45px;flex-basis:45px;border-radius:14px}.cq-intro-copy{margin-top:17px}.cq-product-label{font-size:11px}.cq-intro-copy h1{font-size:31px}.cq-intro-copy p{font-size:12px}.cq-access-inner{padding:25px 16px 26px}.cq-access-head h2{font-size:27px}.cq-role-grid{grid-template-columns:1fr}.cq-role-card{height:87px;grid-template-columns:48px minmax(0,1fr) 14px;padding:12px 14px}.cq-role-icon{width:48px;height:48px;border-radius:14px;font-size:19px}.cq-role-copy strong{font-size:15px}.cq-role-copy small{font-size:11px}.cq-register-panel{grid-template-columns:1fr;gap:12px}.cq-register-panel a{min-height:52px}.cq-register-panel a br{display:none}.cq-back-button{margin-bottom:21px}.cq-login-alert{margin-bottom:17px}.cq-form-head{margin-bottom:21px}.cq-form-role{margin-bottom:16px}.cq-form-head h2{font-size:27px}.cq-login-form{gap:14px}.cq-input-wrap input{height:53px!important;line-height:53px!important;font-size:16px!important}.cq-submit{min-height:54px}.cq-form-footer{margin-top:23px}}

@media(max-width:360px){.cq-intro-copy h1{font-size:28px}.cq-access-head h2{font-size:25px}.cq-access-inner{padding-left:13px;padding-right:13px}.cq-role-card{padding-left:11px;padding-right:11px;gap:9px}.cq-role-copy strong{font-size:14px}.cq-role-copy small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.cq-role-card,.cq-register-panel a,.cq-submit,.cq-form-panel{transition:none!important;animation:none!important}}
