/* La Bella B2B Welkom Popup */
html.lb2b-noscroll,
body.lb2b-noscroll{
  overflow: hidden;
}

@keyframes lb2bFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lb2bPopIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Modal ===== */
.lb2b-modal {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  z-index: 999999;
  font-family: inherit;
}

.lb2b-modal.lb2b-open { display: flex !important; }

.lb2b-modal.lb2b-open .lb2b-backdrop {
  animation: lb2bFadeIn .22s ease-out both;
}

.lb2b-modal.lb2b-open .lb2b-dialog {
  animation: lb2bPopIn .26s cubic-bezier(.2,.8,.2,1) both;
}

.lb2b-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.lb2b-dialog{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: auto;
  max-height: calc(100vh - 48px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

/* Brand header image */
.lb2b-brand{
  padding: 18px 18px 0 18px;
  text-align: center;
}
.lb2b-brand img{
  width: 100%;
  max-width: 420px;
  height: auto;
  display: inline-block;
}

.lb2b-header{
  padding: 14px 18px 12px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.lb2b-header h2{
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.lb2b-close{
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  opacity: .7;
}
.lb2b-close:hover{ opacity: 1; }

.lb2b-body{
  padding: 16px 18px 20px 18px;
}
.lb2b-intro, .lb2b-secondary{
  margin: 0 0 12px 0;
}

.lb2b-login form{
  margin: 0;
}
.lb2b-login label{
  font-weight: 600;
  display:block;
  margin: 10px 0 6px;
}
.lb2b-login input[type="text"],
.lb2b-login input[type="password"],
.lb2b-login input[type="email"]{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
}
.lb2b-login input[type="submit"]{
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  margin-top: 12px;
}
.lb2b-login .login-remember{
  margin-top: 8px;
}
.lb2b-login .login-remember label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight: 400;
  margin: 0;
}
.lb2b-lost{
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .9;
}

.lb2b-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 14px 0;
  opacity: .65;
  font-size: 13px;
}
.lb2b-divider:before,
.lb2b-divider:after{
  content:"";
  height: 1px;
  background: rgba(0,0,0,.16);
  flex:1;
}
.lb2b-divider span{
  padding: 0 10px;
}

.lb2b-cta{
  display: block;
  text-align:center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,.12);
}

.lb2b-later{
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .8;
  padding: 10px 12px;
}
.lb2b-later:hover{ opacity: 1; }

/* ===== Gate-pagina layout (shortcode) ===== */
.lb2b-gate-wrap{
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lb2b-gate-card{
  max-width: 560px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  padding: 18px 18px 20px;
  overflow: auto;
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(0,0,0,.08);
  animation: lb2bPopIn .26s cubic-bezier(.2,.8,.2,1) both;
}
.lb2b-gate-title{
  margin: 0 0 10px 0;
  font-size: 22px;
  line-height: 1.25;
}

@media (max-width: 600px){
  .lb2b-dialog{
    max-height: calc(100vh - 24px);
  }
  .lb2b-brand{
    padding: 14px 14px 0 14px;
  }
  .lb2b-header,
  .lb2b-body{
    padding-left: 14px;
    padding-right: 14px;
  }
}
