.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 14px;
}
.panel-head.no-pad {
  padding: 0 0 16px;
}
.panel h2 {
  font-size: 17px;
  margin: 0;
  color: #1d3557;
}
.panel-head p {
  font-size: 13px;
  color: #8994a5;
  margin: 5px 0 0;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 24px 70px rgba(13, 32, 62, 0.25);
}
dialog:not([open]) {
  display: none !important;
}
dialog::backdrop {
  background: rgba(7, 23, 50, 0.55);
}
.dialog-card {
  width: min(640px, calc(100vw - 30px));
  padding: 24px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-head h2 {
  margin: 0;
}
.dialog-head button {
  border: 0;
  background: none;
  font-size: 25px;
}
.switch-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.switch-row input {
  width: auto;
}
.switch-row span {
  margin: 0;
}
.loading {
  position: fixed;
  inset: 0;
  background: rgba(244, 246, 249, 0.78);
  z-index: 100;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
}
.loading span {
  width: 38px;
  height: 38px;
  border: 4px solid #d7e0ec;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}
.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: #173d73;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 110;
  max-width: 360px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
