/* Storefront logout confirmation only. Preserve the existing logout flow. */
body .profile-logout-overlay {
  background: rgba(15, 23, 42, .42) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}
body .profile-logout-dialog.van-dialog {
  box-sizing: border-box;
  width: min(400px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 40px);
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 24px !important;
  overflow-y: auto;
  border: 1px solid #e5eaf1;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 20px 64px rgba(15, 23, 42, .18) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body .profile-logout-dialog .van-dialog__header {
  padding: 0 !important;
  color: #17233c !important;
  font-size: 20px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}
body .profile-logout-dialog .van-dialog__content {
  padding: 12px 0 24px !important;
}
body .profile-logout-dialog .van-dialog__message {
  padding: 0 !important;
  overflow-wrap: anywhere;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: left !important;
}
body .profile-logout-dialog .van-dialog__footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px !important;
  padding: 0 !important;
}
body .profile-logout-dialog .van-dialog__footer .van-button {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 8px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
body .profile-logout-dialog .van-dialog__cancel {
  border: 1px solid #e2e8f0 !important;
  background: #f4f7fb !important;
  color: #334155 !important;
}
body .profile-logout-dialog .van-dialog__confirm {
  border: 1px solid transparent !important;
  background: var(--van-primary-color, #2563eb) !important;
  color: #fff !important;
}
body .profile-logout-dialog .van-button:focus-visible {
  outline: 3px solid var(--van-primary-color, #2563eb);
  outline-offset: 3px;
}
@media (max-width: 360px) {
  body .profile-logout-dialog.van-dialog { padding: 20px !important; }
  body .profile-logout-dialog .van-dialog__footer { gap: 8px !important; }
}
