#toast {
  position: fixed;
  right: 20px;
  top: 5%;
  z-index: 1051;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}
#toast .toast-content {
  padding: 16px;
  gap: 12px;
  width: 470px;
  height: auto !important;
  /*background: #f6fef9;
    border: 1px solid #6ce9a6;
    border-radius: 12px;*/

  border-radius: 12px;
  border: 1px solid var(--gray-100, #f2f4f7);
  background: var(--base-white, #fff);

  /* Shadow/lg */
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
    0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  display: flex;
  min-height: 80px;
}

#toast .toast-content.success {
  background: #f6fef9;
  border: 1px solid #6ce9a6;
  color: #027a48;
}

#toast .toast-body-content {
  display: grid;
  width: 350px;
}
#toast .toast-header {
  display: block !important;
  padding: unset !important;
  color: unset !important;
  background-color: unset !important;
  background-clip: unset !important;
  border-bottom: unset !important;
  border-top-left-radius: unset !important;
  border-top-right-radius: unset !important;
}
#toast .toast-body {
  padding: unset !important;
}
.close-toast {
  border: 0;
  background: none;
  float: right;
  position: absolute;
  right: 0;
  top: 10px;
}

/* Toast container */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  gap: 12px;
}

/* Toast styles */
.toast {
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #fff;
  min-width: 300px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
    0px 12px 16px -4px rgba(16, 24, 40, 0.08);
}
.toast-title {
  color: #101828;
}
.toast-body {
  color: #475467;
}
.toast.success {
  /* border: 1px solid #6CE9A6;
    color: #027A48; */
}

.toast.error {
  background: #f6fef9;
  color: #d92d29;
  border: 1px solid #d92d29;
}

.toast.warning {
  background-color: #ffc107;
  color: #212529;
}

.toast .toast-content {
  display: flex;
}

.toast .toast-img-type {
  margin-right: 12px;
}

.toast .img-type-icon {
  width: 40px;
  height: 40px;
}

.toast .toast-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.toast .toast-body {
  font-size: 14px;
  padding: 0;
}

/* Positions */
#toast-container.bottom-right {
  bottom: 20px;
  right: 20px;
}

#toast-container.bottom-left {
  bottom: 20px;
  left: 20px;
}

#toast-container.top-right {
  top: 20px;
  right: 20px;
  height: 120px;
}

#toast-container.top-left {
  top: 20px;
  left: 20px;
}

#toast-container .highlight {
  font-weight: 600;
  color: #475467;
}
