/* Sredi.se Gym – isolated signup and safety statement styling. */
.sgym-register,.sgym-legal{box-sizing:border-box}
.sgym-register{max-width:760px;margin:16px auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:12px;color:#292721}
.sgym-register>label{display:block!important;font-size:14px;font-weight:600;margin:0}
.sgym-register>label>input:not([type=checkbox]){display:block;width:100%;margin-top:5px;padding:12px 13px;border:1px solid #d5d0c8;border-radius:11px;background:#fff;color:#292721;min-height:48px}
.sgym-register>p,.sgym-register>.sgym-legal,.sgym-register>button,.sgym-register>div[aria-hidden]{grid-column:1/-1}
.sgym-register>p{margin:2px 0}
.sgym-register input[type=checkbox],.sgym-legal input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#806039;margin-top:2px}
.sgym-register>p label,.sgym-legal .sgym-checkline{display:flex!important;align-items:flex-start;gap:10px;font-size:14px!important;font-weight:500!important;line-height:1.55;margin:6px 0!important}
.sgym-legal{min-width:0;border:1px solid #e3d8c6;border-radius:16px;padding:20px 22px;background:#faf8f3;margin:8px 0 10px}
.sgym-legal>legend{font-weight:750;color:#604c34;padding:0 8px;font-size:16px}
.sgym-legal>p{font-size:14px;line-height:1.55;color:#514b45}
.sgym-legal details{background:white;border:1px solid #e8e1d7;padding:14px 16px;border-radius:11px;margin:10px 0}
.sgym-legal details summary{cursor:pointer;color:#6d522f;font-weight:700}
.sgym-legal details li{margin:8px 0;line-height:1.5;font-size:13px}
.sgym-legal-statement{padding:16px;background:#fff;border-left:3px solid #9e773d;border-radius:8px;margin:13px 0}
.sgym-legal-statement p{font-size:13px;line-height:1.7;margin:8px 0 0}
.sgym-legal .sgym-screen{border-top:1px solid #e3d8c6;padding-top:16px;margin-top:16px}
.sgym-legal .sgym-screen>label:not(.sgym-checkline){display:block!important;font-size:13px;font-weight:600;margin:13px 0}
.sgym-legal .sgym-screen select{display:block;width:100%;min-height:42px;background:white;border:1px solid #d5d0c8;border-radius:9px;padding:8px 12px;margin-top:6px;color:#292721}
.sgym-legal .sgym-muted{color:#6b6259;font-size:12px!important}
.sgym-register .sgym-btn{background:#806039;color:#fff!important;border:0;border-radius:10px;min-height:48px;padding:13px 22px;font-weight:700;cursor:pointer}
@media(max-width:650px){.sgym-register{grid-template-columns:1fr}.sgym-legal{padding:15px}}

/* RC4: navigation stays visible on the standalone registration page. */
.sgym-member-nav{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:50;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;max-width:760px;margin:0 auto 18px;padding:7px;background:#fff;border:1px solid #e2d9ca;border-radius:14px;box-shadow:0 5px 18px #201b160c;overflow-x:auto;scrollbar-width:thin}
.sgym-member-nav a{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;flex:1;min-height:43px;padding:9px 15px;background:#faf7f0;border-radius:9px;color:#624c31!important;text-decoration:none!important;font-size:13px;font-weight:700}
.sgym-member-nav a:hover,.sgym-member-nav a:focus-visible{background:#3a3229;color:#fff!important}
@media(max-width:600px){.sgym-member-nav a{flex:1 0 auto;padding:9px 11px;font-size:12px}}

/* RC5 visual alignment: registration/profil also works outside the main Gym portal. */
.sgym-register{color:#2d3d31;column-gap:20px;row-gap:15px}
.sgym-register>label{font-size:13px;font-weight:700;color:#3a4b3d}
.sgym-register>label>input:not([type=checkbox]){border-color:#cdd7ca;min-height:48px;border-radius:10px}
.sgym-register :is(a,button,input,select,textarea,summary):focus-visible,
.sgym-legal :is(a,button,input,select,textarea,summary):focus-visible,
.sgym-member-nav a:focus-visible{outline:3px solid #ac803f!important;outline-offset:3px}
.sgym-register .sgym-btn{background:#435b45;border:1px solid #435b45;min-height:47px}
.sgym-register .sgym-btn:hover{background:#314834}
.sgym-legal{background:#f7faf4;border-color:#dfe8d8}
.sgym-legal>legend{color:#344937}
.sgym-legal details{border-color:#e0e7db}
.sgym-legal details summary{color:#3b5a40}
.sgym-legal-statement{border-left-color:#688266}
.sgym-member-nav{background:#f8faf7;border-color:#dce5d8;overscroll-behavior-x:contain}
.sgym-member-nav a{background:#edf2e9;color:#3b573f!important}
.sgym-member-nav a:hover,.sgym-member-nav a:focus-visible{background:#38533d;color:#fff!important}
.sgym-register [hidden],.sgym-legal [hidden]{display:none!important}
@media(max-width:650px){.sgym-register{grid-template-columns:minmax(0,1fr);padding:0 12px}.sgym-register>label{min-width:0}.sgym-legal{padding:15px 14px}}
@media(prefers-reduced-motion:reduce){.sgym-member-nav a{transition:none}}


/* RC3 | Mobile registration: no sticky overlap, no oversized Astra field gaps. */
.sgym-member-nav{position:relative;top:auto;z-index:2;max-width:820px;box-sizing:border-box;margin:0 auto 13px;padding:7px;border-radius:15px;background:#f8faf7;box-shadow:none}
.sgym-member-nav a{font-size:13px;line-height:1.3;min-height:44px;padding:10px 12px}
.sgym-register{width:100%;max-width:100%;margin:10px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px;row-gap:15px;font-size:14px;line-height:1.5;align-items:start}
.sgym-register>label{display:block!important;min-width:0;font-size:14px;font-weight:670;line-height:1.45;margin:0;color:#3d5140}
.sgym-register>label>input:not([type=checkbox]){font-size:16px;width:100%;max-width:100%;margin:7px 0 0;min-height:49px;padding:11px 13px;border:1px solid #cbd7cb;border-radius:11px;box-shadow:none}
.sgym-register>p{margin:0;font-size:13px;line-height:1.5}
.sgym-register>p label,.sgym-legal .sgym-checkline{font-size:13px!important;line-height:1.55!important;margin:0!important}
.sgym-legal{margin:1px 0 0;border-radius:15px;padding:17px 20px;font-size:14px;line-height:1.5}
.sgym-legal legend{font-size:15px;line-height:1.3;font-weight:750;padding-inline:8px}
.sgym-legal>p{font-size:13px;line-height:1.6;margin:8px 0 11px}
.sgym-legal details{margin:9px 0;padding:12px 14px}
.sgym-legal details summary{font-size:14px;line-height:1.5}
.sgym-legal-statement{padding:13px 15px;margin:10px 0}
.sgym-legal-statement p{font-size:13px!important;line-height:1.6;margin:6px 0 0}
.sgym-legal .sgym-screen{margin:14px 0 0;padding:13px 0 0}
.sgym-legal .sgym-screen>label:not(.sgym-checkline){margin:10px 0;font-size:13px;line-height:1.45}
.sgym-legal .sgym-screen select{margin-top:6px;min-height:45px;font-size:15px}
.sgym-register>button{justify-self:start;min-width:min(260px,100%)}
.sgym-register input::placeholder{color:#89948a}
.sgym-register [type=checkbox]{accent-color:#38543d}
@media(max-width:700px){.sgym-register{grid-template-columns:minmax(0,1fr);gap:14px;padding:0}.sgym-member-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible;padding:7px}.sgym-member-nav a{min-width:0;white-space:normal;text-align:center;padding:9px;flex:none}.sgym-member-nav a:last-child:nth-child(odd){grid-column:1/-1}.sgym-legal{padding:15px 13px}.sgym-register>button{width:100%;justify-self:stretch}}
@media(max-width:390px){.sgym-member-nav a{font-size:12px}.sgym-register{row-gap:12px}.sgym-legal details{padding:11px}}
