/* Einheitlicher Login im Stil der Wagenlistenanwendung */
.route-login-page{min-height:100dvh;overflow:hidden;padding:16px;background:#12161c}
.route-login-card{position:relative;width:min(460px,100%);max-width:460px;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #38414c;border-radius:8px;background:#1f2329;box-shadow:0 12px 32px #0000001a}
.route-login-card>img{display:block;width:88px;height:88px;margin:0 auto 14px;object-fit:contain;border-radius:18px}
.route-login-card h1{margin:0 0 6px;color:#ff6d00;font-size:24px}
.route-login-card>p{margin:0;color:#b6bec8;line-height:1.45}
.route-login-card form{display:grid;gap:12px;margin-top:16px}
.route-login-card label{gap:6px;margin:0;color:#f1f3f5;font-size:13px;font-weight:700}
.route-login-card input{width:100%;height:42px;padding:10px 12px;border:1px solid #38414c;border-radius:5px;background:#1f2329;color:#f1f3f5}
.route-login-card form>button{width:100%;height:42px;margin:0;border:0;border-radius:5px;background:#ff6d00;color:#fff;font-weight:800}
.route-login-card:after{content:"Ihre Zugangsdaten erhalten Sie von der zuständigen Administration.";display:block;margin-top:12px;color:#b6bec8;font-size:13px;line-height:1.45}
.route-login-theme-toggle{position:fixed;z-index:100;right:18px;top:18px;width:42px;height:42px;padding:0;border:1px solid #38414c;border-radius:999px;background:#12161c;color:#ff6d00;cursor:pointer}
.route-login-card>.route-login-theme-toggle{position:absolute;right:18px;top:18px}
body:has(.app-shell)>.route-login-theme-toggle{display:none}
body.route-login-light .route-login-page{background:#f5f5f5;color:#333}
body.route-login-light .route-login-card{background:#fff;border-color:#e0e0e0}
body.route-login-light .route-login-card label{color:#333}
body.route-login-light .route-login-card input{background:#fff;border-color:#e0e0e0;color:#333}
body.route-login-light .route-login-card>p,body.route-login-light .route-login-card:after{color:#666}
body.route-login-light .route-login-theme-toggle{background:#f5f5f5;border-color:#e0e0e0}
@media(max-width:500px){.route-login-card{padding:22px 20px}.route-login-card>.route-login-theme-toggle{right:14px;top:14px}}
@media(max-height:720px){.route-login-card{padding:18px 22px}.route-login-card>img{width:68px;height:68px;margin-bottom:10px}.route-login-card h1{font-size:22px}.route-login-card>p{font-size:14px}.route-login-card form{gap:10px;margin-top:12px}}
@media(max-height:620px){.route-login-card>img,.route-login-card:after{display:none}.route-login-card{padding:18px 20px}}
.shared-password-field{position:relative}.shared-password-field>input{padding-right:50px!important}.shared-password-toggle{position:absolute;right:5px;top:5px;width:34px;height:32px;border:1px solid #38414c;border-radius:5px;background:#12161c;color:#ff6d00}.shared-password-reset-link{margin:10px 0 0;border:0;background:transparent;color:#ff6d00;font-weight:800;text-align:left;cursor:pointer}.shared-password-reset-link:hover{text-decoration:underline}.auth-reset-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px;background:#04090ecc;backdrop-filter:blur(4px)}.auth-reset-backdrop[hidden],.auth-reset-dialog form[hidden]{display:none}.auth-reset-dialog{width:min(520px,100%);max-height:94dvh;overflow:auto;border:1px solid #38414c;border-radius:12px;background:#1f2329;color:#f1f3f5;box-shadow:0 24px 70px #0008}.auth-reset-dialog>header{display:flex;align-items:center;padding:18px 20px;border-bottom:1px solid #38414c}.auth-reset-dialog>header span{color:#ff6d00;font-size:10px;font-weight:900;letter-spacing:.1em}.auth-reset-dialog h2{margin:3px 0 0;font-size:22px}.auth-reset-dialog>header button{margin-left:auto;width:40px;height:40px;border:1px solid #38414c;border-radius:8px;background:#12161c;color:#f1f3f5}.auth-reset-progress{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding:18px 24px 8px}.auth-reset-progress:before{content:"";position:absolute;left:18%;right:18%;top:36px;height:2px;background:#38414c}.auth-reset-progress>div{position:relative;z-index:1;display:grid;place-items:center;gap:4px;color:#aeb7c1;font-size:11px;font-weight:800}.auth-reset-progress b{width:36px;height:36px;display:grid;place-items:center;border:2px solid #38414c;border-radius:50%;background:#1f2329}.auth-reset-progress .active,.auth-reset-progress .complete{color:#ff6d00}.auth-reset-progress .active b,.auth-reset-progress .complete b{border-color:#ff6d00;background:#ff6d00;color:#fff}.auth-reset-dialog form{display:grid;gap:12px;padding:18px 24px 24px}.auth-reset-intro{display:flex;gap:12px;padding:13px;border-radius:9px;background:#161b21}.auth-reset-intro>i{color:#ff6d00;font-size:22px}.auth-reset-intro p{display:grid;gap:3px;margin:0}.auth-reset-intro span{color:#aeb7c1;font-size:12px}.auth-reset-dialog form label{display:grid;gap:6px;color:#f1f3f5;font-size:12px;font-weight:800}.auth-reset-dialog form input{height:43px;padding:10px 12px;border:1px solid #38414c;border-radius:7px;background:#12161c;color:#f1f3f5}.auth-reset-dialog form button{height:43px;border:0;border-radius:7px;background:#ff6d00;color:#fff;font-weight:800}.auth-reset-dialog form button.secondary{border:1px solid #38414c;background:#12161c;color:#f1f3f5}.auth-reset-status{min-height:22px;margin:0;padding:0 24px 20px;color:#28b779;font-size:13px}.auth-reset-status.error{color:#e35158}body.route-login-light .auth-reset-dialog{border-color:#ddd;background:#fff;color:#333}body.route-login-light .auth-reset-dialog>header{border-color:#ddd}body.route-login-light .auth-reset-dialog>header button,body.route-login-light .auth-reset-dialog form input,body.route-login-light .auth-reset-dialog form button.secondary{border-color:#ddd;background:#f5f5f5;color:#333}

/* Inhaltsbreite wie in der Wagenlistenanwendung */
body:has(.app-shell) .app-shell{width:100%;max-width:none}
body:has(.app-shell) .list-view{width:100%;max-width:none;margin:0;padding-left:0;padding-right:0}
body:has(.app-shell) .list-header,body:has(.app-shell) .knowledge-grid,body:has(.app-shell) .empty-list{width:100%;max-width:none;margin-left:0;margin-right:0}

.shared-auth-actions{display:grid;gap:9px;margin-top:10px}
.shared-auth-separator{display:flex;align-items:center;justify-content:center;gap:10px;color:#aeb7c1;font-size:12px}
.shared-auth-separator:before,.shared-auth-separator:after{width:44px;height:1px;background:#38414c;content:""}
.shared-code-login-button{width:100%;min-height:42px;border:1px solid #ff6d00;border-radius:5px;background:transparent;color:#ff6d00;font-weight:800;cursor:pointer}
.shared-code-login-button:hover{background:#ff6d0014}
.shared-auth-actions .shared-password-reset-link{min-height:24px;margin:0;padding:0;border:0;background:transparent;color:#ff6d00;text-align:center;font-size:13px;font-weight:700;cursor:pointer}
.shared-auth-actions .shared-password-reset-link:hover{text-decoration:underline}
.auth-code-dialog form{padding-top:22px}
body.route-login-light .shared-code-login-button{background:#fff}
body.route-login-light .shared-auth-separator:before,body.route-login-light .shared-auth-separator:after{background:#e0e0e0}
