.lbp-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  background: rgba(10, 10, 10, 0.42);
}

.lbp-drawer-backdrop[data-open="true"] {
  display: block;
}

.lbp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: min(86vw, 360px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: -22px 0 60px rgba(15, 23, 42, 0.22);
  transform: translateX(110%);
  transition: transform 180ms ease;
}

.lbp-drawer[data-open="true"] {
  transform: translateX(0);
}

.lbp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lbp-drawer-head img {
  width: 138px;
  height: auto;
}

.lbp-drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 24px;
  line-height: 1;
}

.lbp-drawer-nav {
  display: grid;
  gap: 8px;
}

.lbp-drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  color: #111827;
  background: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

.lbp-drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.lbp-drawer-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.lbp-drawer-actions a:first-child {
  border: 1px solid #d0d5dd;
  color: #111827;
  background: #fff;
}

.lbp-drawer-actions a:last-child {
  color: #fff;
  background: linear-gradient(90deg, #4e9bff, #f070a9);
}

.lbp-auth-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #155eef;
  background: #eff4ff;
  font-size: 14px;
  font-weight: 650;
}

.lbp-auth-message[data-kind="error"] {
  color: #b42318;
  background: #fee4e2;
}
