/* EUROPRIM PCC 4.4.0E.2-R4 — login faithfully adapted from the user-approved Sindelfingen master.
   Real browser controls and server auth, not a flat image/form imitation. */
:root{color-scheme:light;--ep-ink:#081d2b;--ep-accent:#df0009;--ep-field:#fafbfd;--ep-muted:#a7acb5}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;background:#172a37}
body.ep-login-page{margin:0;min-height:100vh;min-height:100dvh;font-family:Arial,"Segoe UI",Helvetica,sans-serif;color:#fff;background:#344453 url('/pcc-login-sindelfingen-master.webp') center center/cover no-repeat}
.ep-login-scene{min-height:100vh;min-height:100dvh;display:flex;justify-content:flex-end;align-items:flex-start;padding:3.73vh 4.4vw 6vh}
.ep-login-card{position:relative;flex:0 0 37.25vw;min-width:510px;max-width:740px;min-height:87.8vh;background:linear-gradient(110deg,#061b29 0%,#071e2e 58%,#071c29 100%);border-radius:15px;overflow:hidden;box-shadow:0 20px 65px rgba(0,0,0,.23)}
.ep-login-card::before{content:"";position:absolute;inset:0 0 auto;height:13px;background:var(--ep-accent)}
.ep-login-content{padding:clamp(29px,2.5vw,45px) clamp(28px,2.52vw,47px) 27px;display:flex;flex-direction:column;min-height:inherit}
.ep-logo{display:block;width:100%;max-width:540px;height:auto;aspect-ratio:5 / 1;object-fit:contain;border-radius:9px;margin:0 auto}
.ep-partners{display:flex;align-items:center;justify-content:center;margin:clamp(10px,1.5vh,16px) auto clamp(13px,2vh,22px);width:100%}
.ep-partners img{display:block;width:min(92%,470px);height:auto;max-height:78px;object-fit:contain}
.ep-rule{height:2px;background:#e0000c;flex:none;width:100%}
.ep-login-content h1{font-size:clamp(36px,3.05vw,58px);letter-spacing:.005em;line-height:1.08;margin:clamp(22px,2.6vh,28px) 0 4px;color:white;font-weight:800}
.ep-subtitle{font-size:clamp(21px,1.85vw,32px);line-height:1.3;color:var(--ep-muted);margin:0 0 clamp(16px,2.4vh,25px)}
.ep-auth-form{display:flex;flex-direction:column;gap:clamp(13px,1.9vh,20px)}
.ep-input-wrap{position:relative;width:100%}
.ep-input-wrap input{display:block;border:1px solid #e0e3e7;border-radius:8px;width:100%;height:clamp(54px,6.4vh,65px);background:#fafbfd;color:#172b3a;font:400 clamp(18px,1.4vw,24px)/1.2 Arial,"Segoe UI",sans-serif;padding:0 16px 0 clamp(54px,3.8vw,66px);box-shadow:inset 0 1px 4px rgba(0,0,0,.08);outline-offset:3px}
.ep-input-wrap input::placeholder{color:#747984;opacity:1}
.ep-input-wrap input:focus{outline:3px solid rgba(237,62,53,.58);border-color:#b9ceda}
.ep-field-icon{position:absolute;left:clamp(16px,1.1vw,22px);top:50%;transform:translateY(-50%);width:29px;height:29px;color:#808995;pointer-events:none}
.ep-remember{display:flex;align-items:center;gap:17px;margin-top:clamp(1px,.35vh,5px);min-height:36px;font-size:clamp(18px,1.3vw,22px);cursor:pointer;user-select:none}
.ep-remember input{appearance:none;flex:none;width:28px;height:28px;background:transparent;border:2px solid #f0f5f8;border-radius:2px;cursor:pointer;margin:0;display:grid;place-items:center}
.ep-remember input:checked{background:#e0000c;border-color:#e0000c}
.ep-remember input:checked::after{content:"";display:block;width:8px;height:15px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg) translate(-2px,-1px)}
.ep-remember input:focus-visible{outline:3px solid #fff;outline-offset:4px}
.ep-submit{width:100%;height:clamp(65px,7.5vh,74px);border:0;border-radius:8px;background:var(--ep-accent);font:700 clamp(23px,1.65vw,30px)/1.1 Arial,"Segoe UI",sans-serif;color:#fff;cursor:pointer;box-shadow:none;margin-top:clamp(1px,.4vh,7px);transition:background .15s ease,transform .15s ease}
.ep-submit:hover{background:#bb0008;transform:translateY(-1px)}
.ep-submit:focus-visible{outline:3px solid white;outline-offset:4px}
.ep-submit:disabled{cursor:wait;opacity:.7;transform:none}
.ep-auth-message{color:#ffb6b9;font-size:14px;min-height:18px;line-height:1.35;margin:12px 0 0;font-weight:600}
.ep-bottom{margin-top:auto;padding-top:clamp(12px,2vh,24px)}
.ep-bottom p{font-size:clamp(13px,1.15vw,20px);font-weight:400;line-height:1.4;margin:clamp(12px,2vh,18px) 0 0;white-space:nowrap}
.ep-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The original photo remains visible on all screen ratios; the static mockup form never is used as UI. */
@media (max-aspect-ratio:16/10){body.ep-login-page{background-image:linear-gradient(90deg,transparent 0%,rgba(3,20,33,.15) 100%),url('/pcc-login-sindelfingen-photo.webp');background-position:left center;background-size:cover}}
@media (max-width:1270px){.ep-login-scene{padding:25px 35px 30px;align-items:center}.ep-login-card{width:min(590px,51vw);min-width:450px;max-width:none;min-height:min(780px,calc(100vh - 50px))}.ep-login-content{padding:30px 33px}.ep-bottom p{white-space:normal}}
@media (max-width:850px){body.ep-login-page{background-image:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.33)),url('/pcc-login-sindelfingen-photo.webp');background-position:center;background-size:cover}.ep-login-scene{justify-content:center;padding:24px 16px;align-items:center}.ep-login-card{flex:0 1 auto;min-width:0;width:min(100%,570px);max-width:570px;min-height:0}.ep-login-content{padding:30px 27px 27px}.ep-logo{max-width:460px}.ep-partners{margin:10px auto 13px}.ep-login-content h1{font-size:clamp(35px,7vw,48px);margin-top:18px}.ep-subtitle{font-size:24px}.ep-bottom{margin-top:20px}.ep-bottom p{font-size:15px}}
@media (max-width:440px){.ep-login-scene{padding:14px 9px}.ep-login-content{padding:25px 18px}.ep-login-content h1{font-size:34px}.ep-subtitle{font-size:22px}.ep-input-wrap input{height:54px;font-size:19px}.ep-submit{height:61px}.ep-remember{font-size:17px;gap:11px}.ep-remember input{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.ep-submit{transition:none}}
