/* Brand and actions for the existing product-entry dialog only. */
#leaveDialog {
  width: 376px;
  max-width: calc(100% - 32px);
  padding: 26px 24px 20px;
  border: 1px solid #e0e8f7;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 20px 70px #17366624;
}
#leaveDialog .leave-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
  padding-right: 32px;
}
#leaveDialog .leave-brand img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
#leaveDialog .leave-brand strong {
  color: #1d3659;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}
#leaveDialog .leave-brand .brand-token {
  color: #2858ed;
}
#leaveDialog h2 {
  margin: 0 0 10px;
  color: #1c304d;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.3px;
}
#leaveDialog > p {
  margin: 0 0 22px;
  color: #7d8fa9;
  font-size: 14px;
  line-height: 1.85;
}
#leaveDialog .dialog-close {
  display: grid;
  place-items: center;
  top: 13px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  background: #f5f7fb;
  color: #97a8bf;
}
#leaveDialog .dialog-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
#leaveDialog .leave-continue {
  min-height: 50px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #2858ed;
  border-radius: 12px;
  background: #2858ed;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 5px 12px #2858ed20;
}
#leaveDialog .leave-continue:hover {
  background: #214fde;
  border-color: #214fde;
}
#leaveDialog .leave-continue:active {
  background: #1e48cf;
  border-color: #1e48cf;
  box-shadow: 0 2px 6px #2858ed18;
}
#leaveDialog .dialog-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 10px 0 0;
  padding: 9px 14px;
  border: 1px solid #e2eafa;
  border-radius: 11px;
  background: #f4f7ff;
  color: #7188ac;
  font-size: 14px;
  line-height: 1.7;
}
#leaveDialog .dialog-cancel:hover {
  background: #edf2fe;
}
#leaveDialog :is(button, a):focus-visible {
  outline: 3px solid #9eb7f5;
  outline-offset: 3px;
}
@media (max-width: 360px) {
  #leaveDialog {
    padding: 23px 20px 18px;
  }
  #leaveDialog .leave-brand {
    gap: 9px;
  }
  #leaveDialog .leave-brand strong {
    font-size: 16px;
  }
  #leaveDialog h2 {
    font-size: 21px;
  }
}
