/* =========================================
   LOGIN - HEMBER AGENCY (preto + rosa)
========================================= */

:root{
  --hember-bg: #050505;
  --hember-card: #0d0d0d;
  --hember-card-border: rgba(255,255,255,.08);
  --hember-shadow: 0 20px 60px rgba(0,0,0,.45);

  --hember-text: #f4f4f4;
  --hember-muted: rgba(244,244,244,.72);

  --hember-gold: #E60073;
  --hember-gold-2: #E60073;

  --hember-input-bg: rgba(255,255,255,.03);
  --hember-input-border: rgba(255,255,255,.12);
  --hember-input-focus: rgba(230,0,115,.18);

  --hember-alert-bg: rgba(255, 80, 80, .10);
  --hember-alert-border: rgba(255, 80, 80, .24);
  --hember-alert-text: #ffd0d0;
}

html,
body.hember-login-body{
  margin: 0;
  min-height: 100%;
  background: var(--hember-bg);
  color: var(--hember-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.hember-login-body{
  min-height: 100vh;
}

.hember-login-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 16px;
  background:
    radial-gradient(circle at top center, rgba(230,0,115,.16) 0%, rgba(230,0,115,0) 34%),
    radial-gradient(circle at top left, rgba(230,0,115,.08), transparent 24%),
    radial-gradient(circle at top right, rgba(230,0,115,.06), transparent 22%),
    #050505;
}

.hember-login-overlay{
  display: none;
}

.hember-login-wrap{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hember-login-card{
  width: 100%;
  max-width: 460px;
  background: rgba(13,13,13,.94);
  border: 1px solid var(--hember-card-border);
  border-radius: 22px;
  box-shadow:
    var(--hember-shadow),
    0 0 0 1px rgba(230,0,115,.05) inset;
  padding: 30px 30px 24px;
  backdrop-filter: blur(10px);
}

.hember-login-brand{
  margin-bottom: 18px;
  text-align: center;
}

.hember-login-brand-link{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hember-login-brand-logo img,
.hember-login-logo-img{
  width: 150px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.hember-login-brand-name{
  display: none;
}

.hember-login-head{
  margin-bottom: 18px;
}

.hember-login-kicker{
  margin: 0 0 6px;
  color: var(--hember-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-align: left;
}

.hember-login-title{
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
}

.hember-login-subtitle{
  margin: 8px 0 0;
  color: var(--hember-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hember-login-alert{
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--hember-alert-bg);
  border: 1px solid var(--hember-alert-border);
  color: var(--hember-alert-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hember-login-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hember-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hember-label{
  color: #f4f4f4;
  font-size: 14px;
  font-weight: 700;
}

.hember-input{
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--hember-input-border);
  background: var(--hember-input-bg);
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.hember-input::placeholder{
  color: rgba(255,255,255,.35);
}

.hember-input:focus{
  border-color: rgba(230,0,115,.65);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 3px var(--hember-input-focus);
}

.hember-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.hember-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hember-muted);
  font-size: 14px;
  font-weight: 600;
}

.hember-check input{
  accent-color: var(--hember-gold);
}

.hember-link{
  color: var(--hember-gold);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .15s ease, color .15s ease;
}

.hember-link:hover{
  color: #fff;
  opacity: 1;
}

.hember-btn{
  align-self: flex-end;
  min-width: 124px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hember-gold), var(--hember-gold-2));
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.hember-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(230,0,115,.22);
}

.hember-login-footer{
  margin-top: 18px;
  text-align: left;
}

.hember-login-back{
  color: var(--hember-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease;
}

.hember-login-back:hover{
  color: #fff;
}

@media (max-width: 640px){
  .hember-login-page{
    padding: 18px 12px;
  }

  .hember-login-card{
    max-width: 100%;
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .hember-login-brand-logo img,
  .hember-login-logo-img{
    width: 120px;
  }

  .hember-login-title{
    font-size: 28px;
  }

  .hember-login-subtitle{
    font-size: 13px;
  }

  .hember-input{
    height: 46px;
  }

  .hember-btn{
    width: 100%;
    align-self: stretch;
  }

  .hember-row{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   HEMBER LOGIN PATCH - visual completo + rosa oficial
========================================= */
.hember-login-brand-logo{
  width: 230px;
  height: 130px;
  display:block;
  overflow:hidden;
  margin: 0 auto 2px;
}

.hember-login-brand-logo img,
.hember-login-logo-img{
  width: 230px !important;
  height: 130px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display:block !important;
}

.hember-login-kicker,
.hember-link{
  color:#E60073 !important;
}

.hember-input:focus{
  border-color: rgba(230,0,115,.70) !important;
  box-shadow: 0 0 0 3px rgba(230,0,115,.18) !important;
}

.hember-check input{
  accent-color:#E60073 !important;
}

.hember-btn{
  background: linear-gradient(180deg, #E60073, #E60073) !important;
  color:#fff !important;
}

.hember-btn:hover{
  box-shadow: 0 10px 22px rgba(230,0,115,.24) !important;
}

@media (max-width: 640px){
  .hember-login-brand-logo{
    width: 190px;
    height: 112px;
  }

  .hember-login-brand-logo img,
  .hember-login-logo-img{
    width: 190px !important;
    height: 112px !important;
  }
}

/* Backstage usa o mesmo layout do /login. Feedbacks permanecem dentro do mesmo padrão visual. */
.hember-login-alert--success{
  background: rgba(230,0,115,.10);
  border-color: rgba(230,0,115,.26);
  color: #fff;
}

/* HEMBER PATCH - nova logo sem corte */
.hember-login-brand-logo img,
.hember-login-logo-img{
  object-fit:contain !important;
  object-position:center !important;
}


/* HEMBER PATCH - logo de login maior sem corte */
.hember-login-brand-logo{
  width:300px !important;
  height:150px !important;
  max-width:100% !important;
  margin:0 auto 8px !important;
  overflow:visible !important;
}
.hember-login-brand-logo img,
.hember-login-logo-img{
  width:300px !important;
  height:150px !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:center !important;
}
@media (max-width:640px){
  .hember-login-brand-logo{
    width:238px !important;
    height:122px !important;
  }
  .hember-login-brand-logo img,
  .hember-login-logo-img{
    width:238px !important;
    height:122px !important;
  }
}

/* =========================================================
   HEMBER PATCH 2026-05-11 - logo login/backstage maior
   ========================================================= */
.hember-login-brand{
  margin-bottom:22px !important;
}
.hember-login-brand-logo{
  width:min(440px, 100%) !important;
  height:188px !important;
  max-width:100% !important;
  margin:0 auto 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.hember-login-brand-logo img,
.hember-login-logo-img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:scale(1.28) !important;
  transform-origin:center !important;
  display:block !important;
}
@media (max-width:640px){
  .hember-login-brand-logo{
    width:min(330px, 100%) !important;
    height:145px !important;
  }
  .hember-login-brand-logo img,
  .hember-login-logo-img{
    transform:scale(1.18) !important;
  }
}
