/* MatchLab v36 public/auth visual system */
:root{--v36-bg:#020917;--v36-panel:#061120;--v36-line:#172d46;--v36-blue:#0f86ff;--v36-text:#f5f8ff;--v36-muted:#8fa1b7}
html,body{background:#020917!important;color:var(--v36-text)!important}
body,button,input,select,textarea{font-family:'Inter','Arial Narrow',Roboto,Arial,sans-serif!important}
body.auth-dashboard-body{background:radial-gradient(circle at 28% 2%,rgba(18,87,190,.14),transparent 28%),linear-gradient(180deg,#020815,#031021)!important}
.auth-app-shell{display:grid!important;grid-template-columns:minmax(0,1.46fr) minmax(430px,.9fr)!important;min-height:100vh!important;padding:24px 32px!important;gap:28px!important;align-items:center!important;max-width:1680px!important;margin:0 auto!important}
.auth-sidebar-ref{display:none!important}.auth-dashboard-main{display:contents!important}.auth-dashboard-topbar{position:fixed!important;top:22px!important;left:32px!important;right:32px!important;height:55px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;z-index:10!important;margin:0!important}.auth-dashboard-topbar>div:first-child{display:none!important}.auth-dashboard-topbar:before{content:'';width:205px;height:52px;background:url('assets/matchlab-logo.png') left center/contain no-repeat}.auth-top-actions{display:flex!important;align-items:center!important;gap:12px!important}.auth-search-ghost{display:none!important}.auth-icon-square{width:42px!important;height:42px!important;border:0!important;background:transparent!important;color:#e5edf8!important;font-size:20px!important}.auth-dashboard-content{display:contents!important}.auth-reference-stage{grid-column:1!important;margin-top:58px!important;min-height:780px!important;padding:30px!important;border-radius:24px!important;border:1px solid rgba(89,128,179,.14)!important;background:radial-gradient(circle at 12% 0%,rgba(20,105,230,.11),transparent 36%),linear-gradient(180deg,rgba(5,18,39,.96),rgba(4,14,31,.98))!important;display:grid!important;align-content:center!important;position:relative!important;overflow:hidden!important}.auth-reference-stage:before{content:'Match Lab';font-size:46px;font-weight:700;color:white;position:absolute;left:30px;top:30px}.auth-reference-stage:after{content:'La piattaforma intelligente per analisi, performance e strategia.  Dati. Intelligenza. Vantaggio.';white-space:pre-wrap;position:absolute;left:30px;top:88px;width:520px;color:#bdc9d8;font-size:17px;line-height:1.45}.auth-reference-heading{display:none!important}.auth-reference-matches{margin-top:95px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;padding:18px!important;border-radius:16px!important;border:1px solid rgba(91,128,178,.22)!important;background:#041020!important}.auth-reference-match{min-height:180px!important;padding:14px!important;border-radius:12px!important;border:1px solid rgba(91,128,178,.19)!important;background:#061321!important}.auth-reference-match.active{border-color:#138cff!important}.auth-reference-match small{display:inline-flex!important;height:27px!important;align-items:center!important;padding:0 9px!important;border-radius:7px!important;background:#112039!important;color:#fff!important}.auth-reference-match.active small{background:#1186ff!important}.auth-reference-match div{height:82px!important}.auth-reference-match strong{font-size:15px!important}.auth-reference-match p{font-size:12px!important;color:#8fa1b7!important}.auth-team-orb{width:58px!important;height:58px!important;border-radius:50%!important;border:2px solid #147edf!important}.auth-reference-kpis{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;margin-top:12px!important}.auth-reference-kpis>div{min-height:100px!important;border:1px solid rgba(91,128,178,.18)!important;border-radius:12px!important;background:#061321!important;padding:15px!important}.auth-reference-kpis span{font-size:11px!important;color:#8ea0b7!important}.auth-reference-kpis strong{display:block!important;font-size:24px!important;margin-top:10px!important}.auth-reference-lower{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:12px!important;margin-top:12px!important}.auth-reference-lower>div{border:1px solid rgba(91,128,178,.18)!important;border-radius:12px!important;background:#061321!important;padding:14px!important}.auth-reference-lower p{color:#8ca0b8!important}.auth-login-panel{grid-column:2!important;margin-top:58px!important;min-height:780px!important;border:1px solid rgba(91,128,178,.18)!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(5,18,39,.97),rgba(4,14,31,.99))!important;padding:46px 42px!important;display:flex!important;align-items:center!important}.auth-panel-inner{width:100%!important}.auth-panel-caption{display:none!important}.auth-card{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.auth-card .eyebrow{display:none!important}.auth-card h1{font-size:26px!important;letter-spacing:0!important;margin:0 0 8px!important}.auth-card .lead{font-size:14px!important;color:#9cadc0!important;margin-bottom:26px!important}.auth-card:before{content:'Accedi al tuo account';display:block;font-size:24px;font-weight:700;margin-bottom:8px}.mode-register.auth-card:before{content:'Crea il tuo account'}.field{margin:15px 0!important;display:grid!important;gap:8px!important}.field label{font-size:14px!important;color:#eef5ff!important;letter-spacing:0!important}.field input{height:52px!important;border:1px solid rgba(91,128,178,.29)!important;border-radius:11px!important;background:#061322!important;color:#f3f8ff!important;padding:0 15px!important;font-size:15px!important}.field input:focus{border-color:#168cff!important;box-shadow:0 0 0 2px rgba(22,140,255,.09)!important}.form-tools{margin:0 0 10px!important}.text-link{color:#2aa4ff!important}.auth-card .btn{min-height:54px!important;border-radius:10px!important;background:linear-gradient(180deg,#148cff,#086ee4)!important;font-size:17px!important}.social-divider{margin:24px 0 18px!important;color:#7e90a8!important}.social-grid{gap:12px!important}.social-btn{height:50px!important;border-radius:10px!important;background:transparent!important;border:1px solid rgba(91,128,178,.25)!important;color:#eaf2fd!important}.social-btn.apple{background:transparent!important}.auth-note{display:none!important}.switch{margin-top:20px!important}.auth-panel-foot{margin-top:18px!important;color:#71849c!important;font-size:12px!important}.legal-box{background:#061321!important;border-color:rgba(91,128,178,.2)!important}.ml-language-picker{position:fixed!important;top:24px!important;right:155px!important;background:transparent!important;border:0!important;padding:0!important}.ml-language-picker>span{font-size:20px!important}.ml-language-picker select{width:0!important;opacity:0!important;position:absolute!important}
/* Onboarding */
.onboard-shell,.onboarding-shell{background:linear-gradient(180deg,#020815,#031021)!important}.onboard-card,.onboarding-card{border:1px solid rgba(91,128,178,.2)!important;background:#061120!important;border-radius:18px!important}.onboard-head img,.onboarding-head img{max-width:205px!important}.team-choice,.competition-choice,.choice-card{border-color:rgba(91,128,178,.2)!important;background:#061321!important;border-radius:10px!important}.team-choice.selected,.competition-choice.selected,.choice-card.selected{border-color:#148cff!important;box-shadow:inset 0 0 0 1px rgba(20,140,255,.2)!important}
@media(max-width:1100px){.auth-app-shell{grid-template-columns:1fr!important;padding:18px!important}.auth-reference-stage{display:none!important}.auth-login-panel{grid-column:1!important;min-height:auto!important;max-width:620px!important;width:100%!important;margin:90px auto 20px!important}.auth-dashboard-topbar{left:18px!important;right:18px!important}.ml-language-picker{right:110px!important}}
@media(max-width:620px){.auth-login-panel{padding:30px 20px!important;border-radius:16px!important}.auth-dashboard-topbar:before{width:170px!important}.auth-icon-square{display:none!important}.ml-language-picker{right:25px!important}.auth-card:before{font-size:22px}.social-grid{grid-template-columns:1fr!important}}
.auth-mode-tabs{height:50px;border:1px solid rgba(91,128,178,.24);border-radius:10px;padding:4px;display:grid;grid-template-columns:1fr 1fr;margin:20px 0 24px}.auth-mode-tabs button{border:0;border-radius:7px;background:transparent;color:#9eb0c5;font-size:15px}.auth-mode-tabs button.active{background:#08182c;color:#1d9cff;box-shadow:inset 0 0 0 1px rgba(22,140,255,.28)}.mode-forgot .auth-mode-tabs,.mode-consent .auth-mode-tabs{display:none!important}
