/* Native Joomla account form and its same-origin modal shell. */
.jr-auth-dialog{--jr-auth-ink:#10271a;--jr-auth-green:#087824;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid rgba(32,212,67,.28);border-radius:26px;background:#fff;color:var(--jr-auth-ink);box-shadow:0 30px 100px rgba(0,18,7,.4);overflow:hidden;overscroll-behavior:contain;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.jr-auth-dialog::backdrop{background:rgba(1,15,7,.7);backdrop-filter:blur(8px)}
.jr-auth-dialog[open]{animation:jr-auth-enter .2s ease-out}
.jr-auth-card{display:flex;max-height:calc(100dvh - 34px);flex-direction:column;min-height:0}
.jr-auth-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;background:linear-gradient(115deg,#071c10,#133d22);color:#fff;flex-shrink:0}
.jr-auth-heading h2{margin:0!important;font-size:19px!important;font-weight:750;letter-spacing:-.02em;color:#fff!important}
.jr-auth-heading p{margin:3px 0 0;font-size:12px;color:#b8d5c1}
.jr-auth-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid #496852;border-radius:50%;color:#fff;background:rgba(255,255,255,.06);font:26px/1 system-ui;cursor:pointer}
.jr-auth-close:hover{background:#21482e;border-color:#20d443}
.jr-auth-close:focus-visible,.jr-auth-refresh:focus-visible,.jr-auth-done:focus-visible{outline:3px solid #20d443;outline-offset:3px}
.jr-auth-frame{display:block;width:100%;height:min(620px,calc(100dvh - 185px));min-height:180px;border:0;background:#fff;flex:1 1 auto}
.jr-auth-status{margin:0;padding:11px 24px;color:#54695b;font-size:13px;line-height:1.5;background:#f4f8f5;flex-shrink:0}
.jr-auth-status:empty{display:none}
.jr-auth-result{padding:28px 24px 24px;text-align:left}
.jr-auth-result h3{margin:0 0 10px;color:#10271a;font-size:24px;letter-spacing:-.025em}
.jr-auth-result p{margin:0 0 20px;color:#54695b;line-height:1.6}
.jr-auth-result-actions{display:flex;flex-wrap:wrap;gap:10px}
.jr-auth-refresh,.jr-auth-done{min-height:44px;padding:10px 16px;border:1px solid #087824;border-radius:10px;background:#087824;color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.jr-auth-done{background:#fff;color:#087824}
.jr-auth-dialog [hidden]{display:none!important}
body.jr-auth-component,html.jr-auth-framed body{margin:0!important;padding:0!important;background:#fff!important;color:#10271a!important;font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
html.jr-auth-framed .body-wrapper,html.jr-auth-framed .body-innerwrapper,html.jr-auth-framed #sp-main-body,html.jr-auth-framed #sp-component,html.jr-auth-framed #sp-main-body>.container{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fff!important;min-height:0!important}
html.jr-auth-framed #sp-header,html.jr-auth-framed #sp-top-bar,html.jr-auth-framed #sp-footer,html.jr-auth-framed #sp-bottom,html.jr-auth-framed .offcanvas-menu,html.jr-auth-framed .offcanvas-overlay,html.jr-auth-framed .sp-scroll-up,html.jr-auth-framed #jr-pwa-dock-root,html.jr-auth-framed #clearraed-entry,html.jr-auth-framed .sp-pre-loader,html.jr-auth-framed [data-jr-site-chrome],html.jr-auth-framed .jr-site-header{display:none!important}
html.jr-auth-framed body>.body-wrapper .body-innerwrapper>section:not(#sp-main-body){display:none!important}
html.jr-auth-framed #sp-main-body .row>[id^="sp-"]:not(#sp-component){display:none!important}
.jr-auth-native{max-width:600px;margin:30px auto;padding:32px;background:#fff;border:1px solid #dce7df;border-radius:20px;box-shadow:0 10px 40px rgba(6,23,13,.06);color:#10271a}
.jr-auth-component .jr-auth-native,.jr-auth-framed .jr-auth-native{max-width:none;margin:0;padding:25px 28px 28px;border:0;border-radius:0;box-shadow:none}
.jr-auth-eyebrow{display:block;margin-bottom:8px;color:#087824;font-size:10px;font-weight:800;letter-spacing:.14em;line-height:1.6}
.jr-auth-intro h2{margin:0 0 8px!important;color:#10271a!important;font-size:30px!important;font-weight:800;letter-spacing:-.04em}
.jr-auth-intro p{margin:0 0 24px;color:#5c6e62;font-size:14px}
.jr-auth-native .login>.row{margin:0!important}
.jr-auth-native .login>.row>.col-lg-4{width:100%!important;max-width:none!important;padding:0!important;flex:0 0 100%!important}
.jr-auth-native .page-header{display:none}
.jr-auth-native label{display:block;margin-bottom:7px;color:#263f2e;font-size:13px;font-weight:650}
.jr-auth-native input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.jr-auth-native select,.jr-auth-native textarea{box-sizing:border-box;width:100%;min-height:46px;margin:0;padding:11px 13px;border:1px solid #adbbb1;border-radius:10px;background:#fff;color:#10271a;font:inherit;font-size:16px;line-height:1.4}
.jr-auth-native input:focus,.jr-auth-native select:focus{outline:3px solid rgba(8,120,36,.2);outline-offset:1px;border-color:#087824}
.jr-auth-native .input-group{display:flex;position:relative;flex-wrap:nowrap}
.jr-auth-native .input-group input{min-width:0;border-radius:10px 0 0 10px!important}
.jr-auth-native .input-group .btn{min-width:46px;margin:0;border:1px solid #adbbb1;border-left:0;border-radius:0 10px 10px 0;background:#f4f8f5;color:#254c31}
.jr-auth-native .mb-3,.jr-auth-native .control-group{margin-bottom:17px!important}
.jr-auth-native .form-check{display:flex;align-items:center;gap:9px;padding:0!important}
.jr-auth-native .form-check label{margin:0;font-weight:500;cursor:pointer}
.jr-auth-native .form-check-input{float:none;margin:0 8px 0 0!important;accent-color:#087824;width:17px;height:17px;vertical-align:middle;flex-shrink:0}
.jr-auth-native button[type="submit"]{display:block;width:100%;min-height:47px;padding:12px 18px;border:1px solid #087824;border-radius:10px;background:#087824;color:#fff;font:inherit;font-size:15px;font-weight:700;line-height:1.4;box-shadow:0 5px 15px rgba(8,120,36,.13)}
.jr-auth-native button[type="submit"]:hover{background:#065d1c}
.jr-auth-native .list-group{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:5px 0 0}
.jr-auth-native .list-group-item{display:inline;padding:3px 0;border:0;background:transparent;color:#087824;font-size:13px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.jr-auth-component #system-message-container,.jr-auth-framed #system-message-container{margin:14px 24px 0;color:#10271a}
.jr-auth-component .alert,.jr-auth-framed .alert{padding:13px;border:1px solid #e2c79b;border-radius:10px;background:#fff5e5;color:#664410}
.jr-auth-component form:not(#com-users-login__form),.jr-auth-framed form:not(#com-users-login__form){max-width:560px;margin:20px auto;padding:0 24px}
@keyframes jr-auth-enter{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){.jr-auth-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.jr-auth-card{max-height:calc(100dvh - 18px)}.jr-auth-heading{padding:15px 18px}.jr-auth-component .jr-auth-native,.jr-auth-framed .jr-auth-native{padding:22px 20px}.jr-auth-native{margin:18px 12px;padding:24px 20px}.jr-auth-frame{height:calc(100dvh - 165px)}.jr-auth-status{padding:10px 18px}.jr-auth-result{padding:24px 20px}}
@media(max-height:500px){.jr-auth-heading p{display:none}.jr-auth-heading{padding:8px 18px}.jr-auth-frame{height:calc(100dvh - 105px);min-height:110px}.jr-auth-close{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.jr-auth-dialog[open]{animation:none}.jr-auth-dialog::backdrop{backdrop-filter:none}}
@supports(padding:max(0px)){.jr-auth-dialog{max-width:calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)));max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))}.jr-auth-card{max-height:calc(100dvh - max(18px,env(safe-area-inset-top)) - max(18px,env(safe-area-inset-bottom)))}}
