/* Sign-in / join screens (rider + admin): logo scene on the left, form on the right. */
:root { --red: #e3121b; --red-d: #b00d14; --line: #262626; --muted: #9a9a9a; --head: 'Oswald', sans-serif; --brush: 'Permanent Marker', 'Oswald', cursive; --body: 'Inter', 'Hind Siliguri', system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #070707; color: #f5f5f5; font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }

.scene { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; background: radial-gradient(ellipse at 70% 22%, #2a0306 0%, #080808 55%, #000 100%); }
.scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px); }
.scene .sun { position: absolute; z-index: -1; right: 10%; top: 15%; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ff3b41, #e3121b 55%, #9c0a10); box-shadow: 0 0 130px 30px rgba(227, 18, 27, .32); }
.scene .sun::after { content: ''; position: absolute; left: -30%; right: -30%; top: 62%; height: 8px; background: #080808; box-shadow: 0 18px 0 #080808, 0 34px 0 #080808; }
.scene .hills { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.scene .top { position: absolute; top: 40px; left: 56px; right: 56px; display: flex; align-items: center; justify-content: space-between; }
.scene .home-link { font-size: 13px; color: #bbb; text-decoration: none; border: 1px solid #333; border-radius: 30px; padding: 7px 14px; }
.scene .home-link:hover { color: #fff; border-color: #777; }
.scene .badge { width: 210px; height: 210px; border-radius: 50%; box-shadow: 0 25px 70px rgba(0, 0, 0, .7); margin-bottom: 26px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.scene h1 { font: 400 clamp(52px, 6.5vw, 96px) var(--brush); line-height: .92; margin: 0; transform: rotate(-3deg); transform-origin: left bottom; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.scene h1 span { color: var(--red); }
.scene .of { display: flex; align-items: center; gap: 14px; margin: 16px 0 2px; font: 700 18px var(--head); letter-spacing: 6px; }
.scene .of::before, .scene .of::after { content: ''; width: 44px; height: 3px; background: var(--red); }
.scene .city { font: 700 clamp(28px, 3.4vw, 46px) var(--head); letter-spacing: 7px; margin: 0; }
.scene p { color: #c4c4c4; max-width: 440px; margin: 16px 0 0; }
.scene .points { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; font-size: 13px; color: #ddd; }
.scene .points span { display: flex; align-items: center; gap: 7px; }
.scene .points i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.panel { display: flex; align-items: center; justify-content: center; padding: 48px 28px; border-left: 1px solid var(--line); background: #0a0a0a; }
.box { width: 100%; max-width: 420px; }
.box .stripe { width: 64px; height: 4px; border-radius: 4px; background: var(--red); margin-bottom: 20px; }
.box h2 { font: 600 32px var(--head); margin: 0 0 6px; letter-spacing: .3px; }
.box .lead { color: var(--muted); margin: 0 0 26px; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; background: #141414; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.tabs2 a { text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; text-decoration: none; color: #aaa; font-size: 14px; }
.tabs2 a.on { background: var(--red); color: #fff; }

.f { margin-bottom: 15px; }
.f label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #ddd; }
.f label .req { color: var(--red); }
.in { position: relative; }
.in > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: #777; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.in input, .in select { width: 100%; height: 50px; background: #121212; color: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 0 14px 0 44px; font: 15px var(--body); appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.in select { cursor: pointer; }
.in input:focus, .in select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 18, 27, .18); }
.in input::placeholder { color: #5f5f5f; }
.in .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #888; font: 700 11.5px var(--body); letter-spacing: .5px; cursor: pointer; padding: 8px; }
.in .eye:hover { color: #fff; }
.hint { color: #777; font-size: 12px; margin-top: 5px; }
.err { color: #ff6b70; font-size: 12.5px; margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.blood { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.blood label { margin: 0; }
.blood input { display: none; }
.blood span { display: block; text-align: center; padding: 11px 0; border-radius: 10px; border: 1px solid var(--line); background: #121212; font: 700 15px var(--head); cursor: pointer; color: #ccc; transition: all .15s; }
.blood input:checked + span { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(227, 18, 27, .35); }
.row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; font-size: 13.5px; }
.chk { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #ccc; }
.chk input { accent-color: var(--red); width: 17px; height: 17px; }
.submit { width: 100%; height: 52px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font: 700 15.5px var(--body); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 28px rgba(227, 18, 27, .32); transition: background .15s, transform .15s; }
.submit:hover { background: var(--red-d); transform: translateY(-1px); }
.alt { text-align: center; margin-top: 22px; color: var(--muted); }
.alt a { color: var(--red); font-weight: 700; text-decoration: none; }
.note { display: flex; gap: 9px; align-items: flex-start; justify-content: center; color: #6f6f6f; font-size: 12.5px; margin-top: 22px; text-align: center; }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 11px; margin-bottom: 18px; font-size: 14px; }
.alert-error { background: rgba(227, 18, 27, .14); border: 1px solid rgba(227, 18, 27, .45); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .4); color: #86efac; }
.alert ul { margin: 0; padding-left: 18px; }

@media (max-width: 960px) {
    .auth { grid-template-columns: 1fr; }
    .scene { min-height: 0; padding: 92px 22px 36px; align-items: center; text-align: center; }
    .scene .top { top: 20px; left: 20px; right: 20px; }
    .scene .badge { width: 120px; height: 120px; margin: 0 auto 14px; }
    .scene .sun { width: 130px; height: 130px; right: -20px; top: 70px; }
    .scene h1 { font-size: 46px; transform: rotate(-2deg); transform-origin: center; }
    .scene .of { justify-content: center; font-size: 14px; }
    .scene .city { font-size: 26px; }
    .scene p, .scene .points { display: none; }
    .panel { border-left: 0; border-top: 1px solid var(--line); padding: 30px 20px 50px; align-items: flex-start; }
}
