/* Industrial authentication. Shared brand and button tokens are in welcome.css. */
.moto-auth {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 440px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: max(44px, env(safe-area-inset-top)) 24px max(16px, env(safe-area-inset-bottom));
    background: #0b0f14 url('./1.jpg') center top / cover no-repeat;
}
.moto-auth::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #05090d15, #05090d10 24%, #05090d88 45%, #05090dcc 64%, #05090df5 100%);
}
.moto-auth .moto-brand { margin-bottom: 32px; }
.moto-login-page .moto-brand { margin-bottom: 128px; }
.moto-auth-intro { text-shadow: 0 2px 8px #000c; }
.moto-auth-intro h1 { margin: 0; font-size: 36px; line-height: 1.04; font-weight: 700; letter-spacing: -.7px; }
.moto-auth-intro h1 span { color: var(--moto-blue); }
.moto-auth-intro p { max-width: 285px; margin: 16px 0 32px; color: #b8d4e3; font-size: 16px; line-height: 1.25; }
.moto-register-page .moto-auth-intro p { max-width: 260px; }
.moto-tabs { display: grid; grid-template-columns: 1fr 1fr; min-height: 44px; margin: 0 -8px 18px; padding: 3px; border: 1px solid #536873; border-radius: 16px; background: #0b0f14d9; }
.moto-tabs a { display: flex; justify-content: center; align-items: center; padding: 10px; border-radius: 12px; color: #e4edf2; font-size: 14px; font-weight: 500; text-decoration: none; }
.moto-tabs .is-active { border: 1px solid #00d4ff; background: linear-gradient(135deg, #0066ff, #00d4ff); box-shadow: 0 0 18px #0066ff66; color: #fff; }
.moto-field { margin-bottom: 24px; }
.moto-field > label { display: block; margin: 0 0 6px 2px; font-size: 14px; line-height: 1.2; font-weight: 500; color: #e1edf4; }
.moto-control { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 14px; border: 1px solid #708b9c; border-radius: 12px; background: linear-gradient(115deg, #101b23d9, #1f2733bf); box-shadow: inset 0 1px 2px #ffffff10, 0 4px 12px #0005; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.moto-control:focus-within { border-color: var(--moto-blue); box-shadow: 0 0 0 2px #0066ff26; }
.moto-control input { flex: 1; width: 100%; min-width: 0; height: 46px; margin: 0; border: 0; outline: 0; padding: 0; color: #fff; background: transparent; font: inherit; font-size: 16px; }
.moto-control input::placeholder { color: #93a9b9; opacity: 1; }
.moto-control input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 50px #17222b inset; caret-color: #fff; }
.moto-glyph { flex: 0 0 21px; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.moto-control > .moto-glyph { color: #b8d4e3; }
.moto-eye { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; min-height: 40px; margin-right: -6px; padding: 0; border: 0; background: none; color: #dce8ef; cursor: pointer; }
.moto-eye[aria-pressed='true'] { color: var(--moto-blue); }
.moto-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 24px; font-size: 14px; }
.moto-options a, .moto-account-link a { color: var(--moto-blue); text-underline-offset: 3px; }
.moto-checkbox { display: flex; align-items: center; gap: 10px; color: #d5e3ed; font-size: 14px; cursor: pointer; }
.moto-checkbox input { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border: 1px solid #718794; border-radius: 6px; background: #141a23; cursor: pointer; }
.moto-checkbox input:checked { border-color: #00d4ff; background: linear-gradient(135deg, #0066ff, #00d4ff); box-shadow: 0 0 10px #0066ff44; }
.moto-checkbox input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.moto-auth .moto-start { width: 100%; min-height: 56px; border-radius: 12px; cursor: pointer; }
.moto-auth .moto-start > .moto-glyph { position: absolute; right: 20px; }
.moto-auth .moto-start:disabled { cursor: progress; opacity: .7; }
.moto-divider { display: flex; align-items: center; gap: 20px; margin: 32px 0 16px; color: var(--moto-muted); font-size: 14px; text-align: center; }
.moto-divider::before, .moto-divider::after { content: ''; flex: 1; height: 1px; background: #657380; }
.moto-social-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.moto-social-buttons button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 4px; border: 1px solid #6d8594; border-radius: 12px; background: #0f1a22b3; color: #fff; font-family: inherit; font-size: 14px; }
.moto-social-buttons button:disabled { cursor: not-allowed; }
.moto-social-buttons svg { width: 24px; height: 24px; fill: #fff; }
.moto-google { font-size: 26px; line-height: 24px; font-weight: 700; color: #4285f4; }
.moto-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 2px; background: #0a66c2; font-size: 18px; font-weight: 700; line-height: 1; }
.moto-social-status { margin: 8px 0 0; color: var(--moto-muted); font-size: 12px; text-align: center; }
.moto-auth-chips { display: flex; gap: 8px; margin: 24px -8px 0; padding: 0; list-style: none; }
.moto-auth-chips li { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 42px; padding: 8px 5px; border: 1px solid #627885; border-radius: 10px; background: #0d161db3; color: #dae5eb; font-size: 12px; }
.moto-auth-chips .moto-glyph { color: var(--moto-blue); }
.moto-auth-chips li:nth-child(2) .moto-glyph { fill: var(--moto-blue); stroke: none; }
.moto-register-page .moto-control { min-height: 44px; border-radius: 16px; }
.moto-register-page .moto-control input { height: 42px; }
.moto-register-page .moto-field { margin-bottom: 24px; }
.moto-terms { margin: 0 0 32px; }
.moto-terms .moto-checkbox { align-items: flex-start; line-height: 1.3; }
.moto-legal-link { display: inline; padding: 0; border: 0; color: #b8d4e3; background: none; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.moto-register-page .moto-start { border-radius: 16px; }
.moto-account-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--moto-muted); font-size: 14px; }
.moto-account-link a { font-weight: 600; text-decoration: none; }
.moto-form-message { padding: 12px; margin: 0 0 16px; border: 1px solid #0066ff80; border-radius: 10px; color: #ffe0c3; background: #30180cf2; font-size: 14px; line-height: 1.4; }
.moto-legal-dialog { width: min(90vw, 520px); max-height: 80vh; border: 1px solid #718794; border-radius: 16px; background: #141a23; color: #fff; padding: 20px; }
.moto-legal-dialog::backdrop { background: #000b; }
.moto-legal-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.moto-legal-dialog h2 { margin: 0; font-size: 20px; }
.moto-legal-dialog button { border: 1px solid #718794; border-radius: 8px; padding: 8px; background: #1f2733; color: #fff; cursor: pointer; }
.moto-legal-content { margin-top: 16px; overflow-wrap: anywhere; line-height: 1.6; }
.moto-legal-content img { max-width: 100%; height: auto; }
.moto-auth a:focus-visible, .moto-auth button:focus-visible, .moto-auth input[type='checkbox']:focus-visible { outline: 2px solid #00d4ff; outline-offset: 3px; }
@media (min-width: 520px) {
    .moto-auth { border: 1px solid #52616d; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 60px #0009; }
}
@media (max-width: 350px) {
    .moto-auth { padding-left: 16px; padding-right: 16px; }
    .moto-auth-intro h1 { font-size: 32px; }
    .moto-options { gap: 8px; font-size: 12px; }
    .moto-checkbox { font-size: 12px; }
    .moto-auth-chips { margin-left: 0; margin-right: 0; gap: 4px; }
    .moto-auth-chips .moto-glyph { width: 17px; flex-basis: 17px; }
    .moto-auth-chips li { font-size: 10px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .moto-auth .moto-start { transition: none; } }
/* ROADKING authentication layout, scoped independently of the legacy UI. */
.moto-auth-page { --moto-blue:#00d4ff; --moto-muted:#94a3b8; }
.moto-auth { display:flex; flex-direction:column; min-height:852px; min-height:max(852px,100svh); padding:max(84px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom)); background-color:#0a0f1f; background-position:center -160px; background-size:auto 100%; }
.moto-auth::before { background:linear-gradient(180deg,#0007121a,#00071200 30%,#00071245 46%,#000712e8 65%,#020b16 100%); }
.moto-auth .moto-brand { align-self:center; gap:12px; margin:0; }
.moto-auth .moto-brand img { width:76px; }
.moto-auth .moto-brand strong { font-size:28px; letter-spacing:.3px; }
.moto-auth .moto-brand small { font-size:9px; letter-spacing:2px; }
.moto-auth-scenery { flex:1 0 200px; }
.moto-auth-intro { margin-bottom:20px; text-align:center; }
.moto-auth-intro h1 { font-size:36px; line-height:1.15; letter-spacing:-1px; font-weight:800; color:#fff; }
.moto-auth-intro p { max-width:none; margin:6px 0 0; color:#acc9ed; font-size:15px; line-height:1.4; }
.moto-register-page .moto-auth-intro h1 { font-size:30px; }
.moto-register-page .moto-auth-intro p { max-width:none; }
.moto-register-page .moto-auth-scenery { flex-basis:160px; }
.moto-field, .moto-register-page .moto-field { position:relative; margin-bottom:12px; }
.moto-field > label { position:absolute; z-index:1; left:56px; top:9px; margin:0; color:#a6bedb; font-size:12px; line-height:14px; font-weight:400; pointer-events:none; }
.moto-control, .moto-register-page .moto-control { min-height:58px; padding:0 14px; gap:14px; border:1px solid #327fce; border-radius:14px; background:linear-gradient(120deg,#0f1c30e8,#0f172ae8); box-shadow:inset 0 1px 1px #ffffff08,0 4px 16px #0003; }
.moto-control input, .moto-register-page .moto-control input { height:56px; padding:18px 0 0; font-size:15px; color:#fff; }
.moto-control input::placeholder { color:#8ca2be; font-size:14px; }
.moto-control input:-webkit-autofill { box-shadow:0 0 0 50px #0f1c30 inset; }
.moto-control > .moto-glyph { width:25px; height:25px; flex-basis:25px; color:#dbeaff; filter:drop-shadow(0 0 5px #436cff66); }
.moto-control:focus-within { border-color:#00d4ff; box-shadow:0 0 0 3px #0066ff26,0 0 14px #0066ff33; }
.moto-eye { min-height:44px; }
.moto-options { margin:0 0 20px; gap:8px; }
.moto-options a { color:#00d4ff; text-decoration:none; font-size:13px; font-weight:500; }
.moto-checkbox { font-size:13px; color:#e2e8f0; }
.moto-checkbox input { border-color:#2e79c4; background:#0f172a; }
.moto-checkbox input:checked { border-color:#00d4ff; background:linear-gradient(135deg,#00d4ff,#0066ff); box-shadow:0 0 10px #0066ff77; }
.moto-auth .moto-start { position:relative; width:100%; min-height:56px; border-radius:16px; font:600 18px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
.moto-auth .moto-start > .moto-glyph { position:static; width:22px; height:22px; flex-basis:22px; }
.moto-divider { gap:12px; margin:20px 12px 14px; color:#a5c0e2; font-size:13px; }
.moto-divider::before, .moto-divider::after { background:#4976a3; }
.moto-social-buttons button { min-height:64px; gap:4px; border-color:#397fc6; background:linear-gradient(135deg,#152338c9,#0c1729e6); font-size:12px; opacity:1; }
.moto-social-buttons svg { width:24px; height:24px; }
.moto-google { font-family:Arial,sans-serif; font-size:28px; font-weight:800; background:conic-gradient(#4285f4 0deg 90deg,#34a853 90deg 170deg,#fbbc05 170deg 220deg,#ea4335 220deg 290deg,#4285f4 290deg); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.moto-facebook { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#0866ff; color:#fff; font:bold 26px/1 Arial,sans-serif; padding-top:4px; overflow:hidden; }
.moto-account-link { margin:20px 0 0; color:#a5c0e2; font-size:13px; line-height:1.5; }
.moto-account-link a { color:#00d4ff; }
.moto-terms { margin:16px 0 20px; }
.moto-legal-link { color:#00d4ff; }
.moto-form-message { border-color:#df647b; color:#ffe1e8; background:#351629f2; }
.moto-form-message[hidden] { display:none; }
.moto-legal-dialog { border-color:#327fce; background:#0f172a; }
.moto-legal-dialog button { border-color:#327fce; background:#121a2e; }
.moto-legal-content { max-width:100%; overflow-x:auto; }
@media (min-width:520px) { .moto-auth { min-height:max(852px,calc(100svh - 48px)); border-color:#294562; border-radius:28px; } }
@media (max-width:359px) {
    .moto-auth { padding-left:16px; padding-right:16px; }
    .moto-auth .moto-brand img { width:62px; }
    .moto-auth .moto-brand strong { font-size:24px; }
    .moto-auth .moto-brand small { font-size:8px; }
    .moto-auth-intro h1 { font-size:32px; }
    .moto-auth-intro p { font-size:13px; }
    .moto-register-page .moto-auth-intro h1 { font-size:27px; }
    .moto-options a, .moto-checkbox { font-size:12px; }
}
@media (max-height:740px) and (max-width:519px) {
    .moto-auth { min-height:max(740px,100svh); padding-top:max(44px,env(safe-area-inset-top)); }
    .moto-auth-scenery { flex-basis:140px; }
    .moto-register-page .moto-auth-scenery { flex-basis:120px; }
}
