/* V313 — login da cliente igual ao do salão + acabamento PWA */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.32s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}

html body #app .v313-login .v313-hide{display:none!important}

/* Botão voltar flutuante (mesmo do salão) */
html body .v313-fab{position:fixed;top:calc(18px + env(safe-area-inset-top));left:max(14px,calc(50% - 290px));z-index:60;width:42px;height:42px;border-radius:50%;border:1px solid rgba(194,20,93,.12);background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(122,22,64,.14);display:grid;place-items:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;animation:v313in .5s .15s both cubic-bezier(.2,.8,.2,1)}
html body .v313-fab:hover{transform:translateX(-2px);box-shadow:0 10px 28px rgba(122,22,64,.2)}
html body .v313-fab:active{transform:scale(.94)}
html body .v313-fab svg{width:22px;height:22px;fill:none;stroke:#c2145d;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:520px){html body .v313-fab{left:14px}}

/* Linha "Lembrar meu acesso" + "Esqueci minha senha" */
html body #app .v313-login #f-entrar .rowx{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 4px}
html body #app .v313-login #f-entrar .rowx .check{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:#6b5560;font-weight:500;user-select:none}
html body #app .v313-login #f-entrar .rowx .check input{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin:0;border-radius:6px;border:1.5px solid #e5c9d5;background:#fff;display:grid;place-items:center;transition:background .18s,border-color .18s;cursor:pointer;flex:none}
html body #app .v313-login #f-entrar .rowx .check input:checked{background:linear-gradient(135deg,#ef3f7d,#d01a66);border-color:transparent}
html body #app .v313-login #f-entrar .rowx .check input:checked::after{content:"";width:9px;height:5px;border:2.2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
html body #app .v313-login #f-entrar .rowx .check input:focus-visible{outline:2px solid #ef3f7d;outline-offset:2px}

/* Botão principal com seta */
html body #app .v313-login #f-entrar button[type=submit]{display:flex!important;align-items:center;justify-content:center;gap:6px}
html body #app .v313-login #f-entrar button[type=submit] svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
html body #app .v313-login #f-entrar button[type=submit]:hover svg{transform:translateX(3px)}

/* Rodapé "Ainda não tem conta?" */
html body #app .v313-login .v313-foot{text-align:center;font-size:13px;color:#7a6470;margin:8px 0 0}
html body #app .v313-login .v313-foot .link{background:none;border:0;padding:0;font:inherit;font-weight:700;color:#d01a66;cursor:pointer;text-decoration:none}
html body #app .v313-login .v313-foot .link:hover{text-decoration:underline}

/* Selos de confiança */
html body #app .v313-login .v313-perks{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 16px;margin:14px auto 6px;font-size:12px;color:#8a7380}
html body #app .v313-login .v313-perks span{display:inline-flex;align-items:center;gap:5px}
html body #app .v313-login .v313-perks svg{width:14px;height:14px;fill:none;stroke:#d01a66;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

@keyframes v313in{from{opacity:0;transform:translateY(-6px) scale(.92)}to{opacity:1;transform:none}}

/* Acabamento de app instalado */
html{-webkit-tap-highlight-color:transparent}
@media (display-mode: standalone){
  html,body{overscroll-behavior-y:none}
  html body #app .v313-login .v313-foot ~ .foot-note{display:none}
  button,.btn,a.link{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
}
@media (prefers-reduced-motion: reduce){
  ::view-transition-old(root),::view-transition-new(root){animation:none}
  html body .v313-fab{animation:none}
}
