﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;font-family:'DM Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;--gold:#ffac27;--orange:#f47c10;--white:#f8f6f5;--muted:#b7afa9;background:#0a090a;color:var(--white)}*{box-sizing:border-box}html,body{min-height:100%;margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.auth-shell{min-height:100svh;max-width:1690px;margin:0 auto;display:grid;grid-template-columns:minmax(350px,48%) minmax(440px,52%);background:#100e0e}.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;padding:clamp(35px,5vw,83px) clamp(28px,5vw,86px) 22px;background:radial-gradient(ellipse at 10% 78%,#6a381b65 0%,transparent 43%),linear-gradient(145deg,#221814,#100d0d 65%,#1b1110)}.hero:before{content:'';position:absolute;width:900px;height:900px;border:1px solid #ffa62c35;top:-690px;left:25%;transform:rotate(-29deg);pointer-events:none}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#100b0cbd 0%,#100b0c73 39%,#100b0c21 80%,#110d0e9e 100%),url('./restaurant-console.webp') center bottom/100% auto no-repeat;opacity:.38;z-index:-1}.hero-content{position:relative;z-index:1;margin-top:clamp(48px,9vh,100px)}.eyebrow{display:flex;align-items:center;gap:13px;color:#fcb34e;letter-spacing:2.9px;font-weight:800;font-size:10px;white-space:nowrap}.eyebrow span{display:inline-block;width:24px;height:1px;background:var(--gold)}.hero h1{font-size:clamp(39px,3.8vw,64px);line-height:1.08;letter-spacing:-2.5px;margin:25px 0 16px;font-weight:800}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{color:#d2c5bd;line-height:1.7;font-size:clamp(14px,1.17vw,17px);max-width:475px;margin:0}.feature-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.feature-row>div{min-width:98px;max-width:150px;flex:1;padding:14px 9px;border:1px solid #8e532b55;background:#1b1517aa;border-radius:13px;text-align:center;color:#e6dcd5;font-size:11px;line-height:1.45}.feature-row span{display:block;color:var(--gold);font-size:23px;margin-bottom:7px}.hero-image{margin-top:auto;height:clamp(180px,28vh,340px);width:100%;max-width:570px;background:url('./restaurant-console.webp') center 59%/cover no-repeat;filter:drop-shadow(0 16px 35px #000b);mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 83%,transparent);opacity:.94}.hero-foot{font-size:10px;color:#92837a;letter-spacing:1.8px}.hero-foot span{color:var(--gold)}.form-side{padding:28px clamp(20px,4vw,65px);display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 60% 3%,#45240f75,transparent 40%),linear-gradient(150deg,#100d0e,#0b0c0f 72%,#1c130f)}.auth-card{width:min(100%,545px);padding:clamp(27px,3.1vw,44px) clamp(24px,3.6vw,51px) 25px;border:1px solid #af80594e;border-radius:28px;position:relative;background:linear-gradient(145deg,#29201dda,#111318f1 57%,#261912e8);box-shadow:0 30px 90px #000b,inset 0 1px #ffffff12;overflow:hidden}.auth-card:before{content:'';position:absolute;top:0;left:23%;height:2px;width:54%;background:linear-gradient(90deg,transparent,#ffa623,transparent);box-shadow:0 0 22px #ff7b17}.auth-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.auth-brand .mark{width:51px;height:51px;color:var(--gold)}.auth-brand svg{width:100%;height:100%}.auth-brand strong{font-weight:800;font-size:25px;letter-spacing:-.9px}.auth-brand em{font-style:normal;color:var(--gold)}.auth-brand small{color:#bcae9e;font-size:9px;letter-spacing:1px}.auth-heading{text-align:center;margin:25px 0 18px}.auth-heading h2{font-size:clamp(25px,2.5vw,30px);line-height:1.18;letter-spacing:-.6px;margin:0 0 7px}.auth-heading p{color:#b6aeb0;line-height:1.5;font-size:12px;margin:0}.role-switch{margin:0 0 19px;padding:4px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border:1px solid #4d3c34;border-radius:12px;background:#181719}.role-switch a{padding:9px 6px;border-radius:8px;text-align:center;font-size:12px;color:#b7aaa3;transition:background .15s,color .15s}.role-switch a:hover{color:white}.role-switch a[aria-current=page]{background:#4b2a17;color:#ffba53;box-shadow:inset 0 0 0 1px #b86d2c}.field{display:block;margin:0 0 14px}.field>span{display:block;font-size:12px;font-weight:700;margin:0 0 7px}.input-wrap{height:49px;border:1px solid #615553;border-radius:11px;display:flex;align-items:center;gap:12px;padding:0 14px;background:#1d1c21;transition:border-color .15s,box-shadow .15s}.input-wrap:focus-within{border-color:#ffa930;box-shadow:0 0 0 3px #ffa9301a}.field-icon{width:22px;text-align:center;font-size:18px;color:#c2b9b4}.input-wrap input{width:100%;min-width:0;border:0;background:none;color:white;outline:0;font-size:13px;height:100%}.input-wrap input::placeholder{color:#88838a}.reveal{border:0;background:none;color:#bab6b1;font-size:17px;padding:7px}.reveal:hover{color:#ffb345}.message{min-height:0;margin:0 0 10px;font-size:12px;line-height:1.5}.message:empty{display:none}.message.error{color:#ffaaa1}.message.ok{color:#9ce4b0}.primary-btn{min-height:52px;width:100%;display:flex;justify-content:center;align-items:center;gap:14px;border:1px solid #ffad31;border-radius:12px;background:linear-gradient(110deg,#ffb12d,#f27a0e);color:#241209;font-weight:800;font-size:16px;box-shadow:0 10px 28px #ed77122a;transition:filter .15s,transform .15s}.primary-btn:hover{filter:brightness(1.07)}.primary-btn:active{transform:translateY(1px)}.primary-btn:disabled{opacity:.65;cursor:wait}.auth-links{display:flex;justify-content:center;align-items:center;gap:20px;margin:21px 0 22px;font-size:12px}.auth-links a{color:#ffb24a;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}.auth-links a:last-child{color:#eee7e2}.auth-links a:hover{text-decoration-color:currentColor}.link-divider{width:1px;height:17px;background:#766158}.security-note{display:flex;align-items:center;gap:13px;border:1px solid #7c512f60;border-radius:12px;background:#39291d91;padding:13px 14px;color:#c9c1b9}.security-note>span{flex:none;font-size:26px;color:#ffa82f}.security-note p{margin:0;font-size:11px;line-height:1.55}.legal{font-size:10px;color:#847c7b;text-align:center;margin:18px 0 0}.otp-card .auth-heading{margin:16px 0 21px}.otp-symbol{width:78px;height:78px;margin:20px auto 0;display:grid;place-items:center;color:#ffab34;border-radius:20px;background:radial-gradient(circle,#8a470d55,transparent 76%)}.otp-symbol svg{width:65px;height:65px}.otp-card .auth-heading strong{color:#f9c57f;font-weight:600}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.sr-only-input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.otp-digits{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;cursor:text;margin:0 0 15px}.otp-digits span{height:59px;border-radius:11px;border:1px solid #70615b;background:#211d20;display:grid;place-items:center;color:white;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}.otp-digits span.active{border-color:#ffac34;box-shadow:0 0 0 2px #ff9a2623,0 0 18px #e98a2b39}.otp-digits span.filled{color:#ffb13a}.otp-help{color:#aba09a;font-size:11px;text-align:center;margin:0 0 20px;line-height:1.5}.otp-card .auth-links{margin-bottom:18px}.registration-notice{margin:28px 0 23px;padding:20px;background:#271e1b;border:1px solid #6b4931;border-radius:12px}.registration-notice strong{color:#ffc17c}.registration-notice p{font-size:13px;color:#c8bcb3;line-height:1.6;margin:8px 0 18px}.registration-notice p:last-child{margin-bottom:0}
@media(max-height:790px) and (min-width:800px){.hero-content{margin-top:22px}.auth-card{padding-top:19px;padding-bottom:16px}.auth-brand .mark{height:40px;width:40px}.auth-brand strong{font-size:21px}.auth-heading{margin:13px 0}.auth-links{margin:13px 0}.legal{margin:10px 0 0}.security-note{padding:9px}.hero h1{font-size:48px}.hero-image{height:25vh}}
@media(max-width:940px){.auth-shell{grid-template-columns:40% 60%}.hero{padding:32px 25px}.hero h1{font-size:37px}.eyebrow{white-space:normal}.feature-row{gap:6px}.feature-row>div{min-width:75px}.form-side{padding:22px}.auth-card{padding:24px}}
@media(max-width:740px){.auth-shell{display:block;background:#0d0b0c}.hero{padding:20px;min-height:70px;background:#171010}.hero-content,.hero-image,.hero-foot{display:none}.hero:before,.hero:after{display:none}.hero:empty{display:none}.form-side{min-height:calc(100svh - 70px);padding:15px 12px 24px;align-items:flex-start}.auth-card{width:100%;max-width:530px;padding:26px 20px}.auth-heading h2{font-size:26px}.auth-brand .mark{width:43px;height:43px}.auth-brand strong{font-size:23px}.otp-digits{gap:6px}.otp-digits span{height:53px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}


/* REFERENCE MATCH VISUAL OVERRIDES — no auth API or routing changes */
:root{--gold:#ff9f18;--orange:#ef770d}
.auth-shell{max-width:none;grid-template-columns:minmax(360px,45.5%) minmax(500px,54.5%);background:#100b0a}
.hero{padding:clamp(35px,5.2vw,92px) clamp(32px,5.2vw,92px) 30px;background:linear-gradient(140deg,#1d1412 5%,#130e0d 56%,#21130e)}
.hero:before{width:950px;height:950px;top:-670px;left:22%;border-color:#e07d213c}
.hero:after{display:none}
.hero-content{margin-top:clamp(22px,3.3vh,44px)}
.hero h1{font-size:clamp(39px,3.1vw,57px);letter-spacing:-1.7px;line-height:1.14;margin:30px 0 16px}
.hero h1 em{color:#ff9820}
.hero p{font-size:clamp(14px,1.1vw,17px);max-width:500px}
.feature-row{gap:16px;margin-top:25px}
.feature-row>div{background:#2419177d;border:1px solid #6f44293b;max-width:145px;min-width:112px;padding:15px 9px;font-size:12px}
.feature-row span{font-size:25px}
.hero-image{max-width:none;width:calc(100% + 9vw);height:clamp(235px,42vh,490px);margin-left:-5vw;margin-bottom:-4px;background-image:url('./smr-owner-scene.webp');background-position:left center;background-size:cover;mask-image:linear-gradient(180deg,transparent 0%,#000 12%,#000 100%);opacity:1;filter:none}
body[data-role=kitchen] .hero-image{background-image:url('./smr-kitchen-scene.webp')}
body[data-role=waiter] .hero-image{background-image:url('./smr-waiter-scene.webp')}
.hero-foot{display:none}
.form-side{padding:24px clamp(24px,5.5vw,92px);background:radial-gradient(ellipse at 60% 10%,#3d251761,transparent 55%),#0f0c0d}
.auth-card{width:min(100%,625px);padding:clamp(26px,3.6vh,40px) clamp(32px,4vw,70px) clamp(24px,3.4vh,38px);border:1px solid #84604c85;border-radius:34px;background:linear-gradient(144deg,#34231bc7 0%,#171416f5 43%,#211711f5 100%);box-shadow:0 30px 90px #000a,inset 0 1px #e6a2681a;overflow:visible}
.auth-brand{gap:9px}.auth-brand .mark{width:65px;height:65px}.auth-brand strong{font-size:29px;letter-spacing:-1.05px}.auth-brand small{font-size:10px;letter-spacing:1.8px}
.auth-heading{margin:25px 0 21px}.auth-heading h2{font-size:clamp(27px,2.25vw,36px)}.auth-heading p{font-size:14px}
.role-badge{display:flex;gap:11px;align-items:center;justify-content:center;width:max-content;max-width:100%;margin:0 auto 25px;padding:9px 24px;border:1px solid #e58c28;border-radius:999px;background:#3a2617;color:#ffb02f;font-size:14px;font-weight:700}
.role-badge span{font-size:18px}
.field{margin-bottom:18px}.field>span{font-size:13px;margin-bottom:9px}
.input-wrap{height:54px;border-color:#786a63;border-radius:12px;background:#201c1d}.input-wrap input{font-size:15px}
.primary-btn{min-height:59px;font-size:17px;background:linear-gradient(105deg,#ffb32b,#f57a0d);border-color:#ffa32c}
.auth-links{font-size:14px;margin:23px 0 25px;gap:25px}.security-note{padding:14px 17px}.security-note p{font-size:12px}.legal{display:none}
/* Dedicated OTP retains its own route and functional six-box code */
.otp-card .otp-symbol{margin-top:23px}.otp-card .auth-heading{margin-top:18px}
@media(max-height:790px) and (min-width:800px){
 .auth-card{padding-top:22px;padding-bottom:20px}
 .auth-brand .mark{height:46px;width:46px}.auth-brand strong{font-size:23px}.auth-heading{margin:14px 0 13px}.auth-heading h2{font-size:27px}.role-badge{margin-bottom:14px;padding:7px 20px}.field{margin-bottom:11px}.input-wrap{height:47px}.primary-btn{min-height:50px}.auth-links{margin:14px 0}.security-note{padding:10px}.hero-content{margin-top:22px}.hero-image{height:36vh}.hero h1{font-size:clamp(37px,3.3vw,51px)}
}
@media(max-width:1100px) and (min-width:741px){.auth-shell{grid-template-columns:42% 58%}.hero{padding-left:26px;padding-right:20px}.hero h1{font-size:37px}.form-side{padding:18px}.auth-card{padding-left:29px;padding-right:29px}.feature-row{gap:7px}.feature-row>div{min-width:85px}.hero-image{margin-left:-18px;width:calc(100% + 25px)}}
@media(max-width:740px){.auth-shell{display:block}.hero{min-height:0;height:8px;padding:0}.hero-content,.hero-image,.hero-foot{display:none}.form-side{min-height:calc(100svh - 8px);padding:15px 12px;align-items:center}.auth-card{max-width:530px;padding:25px 21px;border-radius:23px}.auth-brand .mark{width:48px;height:48px}.auth-brand strong{font-size:24px}.auth-heading h2{font-size:27px}.role-badge{margin-bottom:19px}.auth-links{font-size:12px;gap:12px}}

/* SMR THREE ROLE NAV V1 */
.smr-role-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;margin:0 0 22px;border:1px solid #5e493a;border-radius:13px;background:#151416;box-shadow:inset 0 1px 0 #ffffff0b}
.smr-role-tabs a{display:flex;justify-content:center;align-items:center;min-height:40px;padding:8px 4px;border:1px solid transparent;border-radius:9px;color:#c6b7ad;text-align:center;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;transition:background .18s,color .18s,border-color .18s}
.smr-role-tabs a:hover{color:#fff;background:#352419}
.smr-role-tabs a:focus-visible{outline:2px solid #ffc16d;outline-offset:2px}
.smr-role-tabs a[aria-current="page"]{background:linear-gradient(115deg,#5c3118,#392113);border-color:#ed902a;color:#ffbd55;box-shadow:inset 0 1px 0 #ffba4420}
@media(max-width:420px){.smr-role-tabs{gap:3px;padding:4px}.smr-role-tabs a{font-size:11px;min-height:38px;padding:7px 2px}}