/* MAXSOFT v11 · seleção obrigatória de produto no login e cadastro */
.auth-product-picker{margin:0;padding:0;border:0;min-width:0}
.auth-product-picker>legend{width:100%;margin:0 0 8px;padding:0;color:#31465d;font-size:10px;font-weight:850;letter-spacing:.01em}
.auth-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.auth-product-card{position:relative!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 22px!important;align-items:center!important;gap:9px!important;min-height:68px!important;margin:0!important;padding:10px!important;border:1.5px solid #d5e0e9!important;border-radius:12px!important;background:#fff!important;color:#294359!important;cursor:pointer!important;transition:border-color .16s,box-shadow .16s,background .16s,transform .16s!important;overflow:hidden}
.auth-product-card:hover{border-color:#9eb7cc!important;box-shadow:0 7px 18px rgba(28,63,91,.08);transform:translateY(-1px)}
.auth-product-card>input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.auth-product-card .auth-product-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:10px!important;background:#edf5ff!important;color:#155eef!important}
.auth-product-card .auth-product-icon svg{width:20px!important;height:20px!important;margin:0!important}
.auth-product-card .auth-product-copy{display:block!important;min-width:0!important;margin:0!important}
.auth-product-card .auth-product-copy b,.auth-product-card .auth-product-copy small,.auth-product-card .auth-product-copy em{display:block!important;margin:0!important}
.auth-product-card .auth-product-copy b{color:#173b5b!important;font-size:11px!important;font-weight:900!important;letter-spacing:.01em!important}
.auth-product-card .auth-product-copy small{margin-top:2px!important;color:#71869a!important;font-size:8px!important;font-weight:650!important;line-height:1.3!important}
.auth-product-card .auth-product-copy em{margin-top:3px!important;color:#167253!important;font-size:7px!important;font-style:normal!important;font-weight:850!important}
.auth-product-card .auth-product-check{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;margin:0!important;border:1.5px solid #cbd8e2!important;border-radius:999px!important;color:transparent!important;background:#fff!important}
.auth-product-card .auth-product-check svg{width:12px!important;height:12px!important;margin:0!important}
.auth-product-card:has(input:checked){border-color:#155eef!important;background:#f5f9ff!important;box-shadow:0 0 0 3px rgba(21,94,239,.09)!important}
.auth-product-card:has(input:checked) .auth-product-check{border-color:#155eef!important;background:#155eef!important;color:#fff!important}
.auth-product-card.auth-product-barber .auth-product-icon{background:#fff5e8!important;color:#ad6d1c!important}
.auth-product-card.auth-product-barber:has(input:checked){border-color:#b77825!important;background:#fffaf2!important;box-shadow:0 0 0 3px rgba(183,120,37,.10)!important}
.auth-product-card.auth-product-barber:has(input:checked) .auth-product-check{border-color:#b77825!important;background:#b77825!important}
.auth-product-card.is-disabled{opacity:.48!important;cursor:not-allowed!important;filter:grayscale(.4)}
.auth-step-label{display:block;margin:2px 0 0;color:#5f778b;font-size:9px;font-weight:850}
.auth-login-fields{display:grid;gap:12px}
.auth-product-form[data-product=""] .auth-login-fields{opacity:.72}
.auth-product-form[data-product="maxbarber"] .sales-submit{background:linear-gradient(135deg,#2b201a,#5a3b26)!important}
.auth-product-form[data-product="maxbarber"] .sales-submit:hover{background:linear-gradient(135deg,#211813,#49301f)!important}

/* Cadastro */
.auth-register-v11 .trial-topbar img{width:168px;max-height:44px}
.auth-register-picker{margin-bottom:2px}
.auth-register-picker>legend{font-size:.78rem;margin-bottom:10px}
.auth-register-picker .auth-product-card{min-height:84px!important;padding:12px!important;grid-template-columns:44px minmax(0,1fr) 24px!important}
.auth-register-picker .auth-product-icon{width:44px!important;height:44px!important}
.auth-register-picker .auth-product-icon svg{width:22px!important;height:22px!important}
.auth-register-picker .auth-product-copy b{font-size:.88rem!important}
.auth-register-picker .auth-product-copy small{font-size:.69rem!important;line-height:1.35!important}
.auth-register-picker .auth-product-copy em{font-size:.65rem!important}
.auth-register-fields{margin-top:2px;padding-top:2px;border-top:1px solid #edf1f5}
.auth-register-fields .auth-step-label{padding-top:13px;font-size:.75rem;color:#31465d}
.auth-register-plan [data-register-plan-icon]{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.14)}
.auth-register-plan [data-register-plan-icon] svg{width:22px;height:22px}
.auth-register-form[data-product="maxbarber"] .trial-submit{background:linear-gradient(135deg,#291f19,#76502e);box-shadow:0 12px 28px rgba(74,46,28,.2)}
.auth-register-form .trial-submit.is-waiting{opacity:.72}

@supports not selector(:has(*)){
  .auth-product-card input:checked~.auth-product-check{border-color:#155eef!important;background:#155eef!important;color:#fff!important}
}

@media(max-width:620px){
  .auth-product-grid{grid-template-columns:1fr}
  .auth-product-card{min-height:62px!important}
  .auth-register-picker .auth-product-card{min-height:76px!important}
  .auth-register-v11 .trial-topbar img{width:142px}
}
.sales-submit:disabled{opacity:.55!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}

/* v13 · login identifica o produto automaticamente; escolha permanece só no cadastro */
.login-auto-product-note{display:flex;align-items:center;gap:10px;margin:13px 0 0;padding:11px 12px;border:1px solid #d9e7f3;border-radius:11px;background:#f6faff;color:#31536f}
.login-auto-product-note>.ui-icon{width:18px;height:18px;flex:0 0 18px;color:#176bff}
.login-auto-product-note span,.login-auto-product-note b,.login-auto-product-note small{display:block}
.login-auto-product-note b{font-size:11px;color:#173f63}
.login-auto-product-note small{margin-top:2px;font-size:9px;line-height:1.4;color:#6a8094}


/* v14 · CTA de criação de conta clean */
.login-secondary-clean{gap:9px!important;margin-top:14px!important;padding-top:14px!important}
.login-secondary-clean>span{color:#657b8f!important;font-size:9px!important;font-weight:650!important;line-height:1.45!important;text-align:center!important}
.login-register-button-clean{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px 14px!important;border:1px solid #d7e1ea!important;border-radius:10px!important;background:#fff!important;color:#173f63!important;box-shadow:none!important}
.login-register-button-clean:hover{border-color:#b9c9d8!important;background:#f8fafc!important;color:#0f3150!important;transform:none!important}
.login-register-button-clean b{font-size:10px!important;font-weight:850!important;letter-spacing:.01em!important}
.login-register-button-clean .ui-icon{width:14px!important;height:14px!important;grid-column:auto!important;grid-row:auto!important}
