:root {
  --success: #22B14C;
  --danger: #EF4444;
  --warning: #F5921E;
  --info: #5B21D6;
  --title: #1C1C1E;
  --body-text: #8A8F98;
}

/* Toast */
.toast {
  width: 384px;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 30, .16);
}

.toast-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.toast-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
}

.toast-icon svg {
  width: 19px;
  height: 19px;
}

.toast-icon.success { background: var(--success); }
.toast-icon.danger { background: var(--danger); }
.toast-icon.warning { background: var(--warning); }
.toast-icon.info { background: var(--info); }

.toast-text {
  flex: 1;
  min-width: 0;
}

.toast-text .t-title {
  margin: 0;
  color: var(--title);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.toast-text .t-body {
  margin: 2px 0 0;
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.35;
}

.toast .btn-close {
  flex: none;
  opacity: 1;
}

/* Alert */
.alert-wrap {
  max-width: 560px;
  margin: auto;
}

.alert-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #FDEDED;
  border: 1px solid #F5B5B5;
}

.alert-msg {
  flex: 1;
  color: #D92D20;
  font-size: 12px;
  line-height: 1.4;
}

.btn-close-alert {
  flex: none;
  padding: 2px;
  border: 0;
  background: none;
  color: #D92D20;
  opacity: .75;
  font-size: 16px;
  cursor: pointer;
}

.btn-close-alert:hover {
  opacity: 1;
}