.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  align-items: center;
  display: none;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.show {
    display: flex;
}
.modal > .content {
  width: 100%;
  max-width: 800px;
  max-height: 800px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-25px);
  transition: transform 0.3s ease;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.modal.show .content {
  transform: translateY(0);
}
.modal > .content > .head {
  padding: 20px 24px 0px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.modal > .content > .body {
  padding: 0px 32px;
  margin: 32px 0px 0px;
  overflow-y: auto;
  scrollbar-width: thin;
  flex-grow: 1;
}
.modal > .content > .footer {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}
.modal > .content.divider > .head {
  border-bottom: 1px solid #e3e3e3;
  padding: 20px 24px 16px;
}
.modal > .content.divider > .body {
  margin: 16px 0px 0px;
}
.modal > .content > .head > span {
  padding: 0px 7px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 800;
  background: #f9f9f9;
  cursor: pointer;
  height: fit-content;
}
.modal > .content > .head > span:hover {
  background: #f1f1f1;
}
