/** CSS RESET **/

div,
p {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  /* font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; */
  background: #111216;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4285em;
}

.custom-toast-container {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1050;
  margin-bottom: 1rem;
}

.custom-toast {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
  width: 330px;
  height: auto;
  padding: 16px;
  background-color: #001f0f;
  border-radius: 8px;
  box-shadow: 0 9px 10px rgb(0 0 0 / 29%); 
  align-items: center;
  display: flex; 
  margin-bottom: 12px;
}

.custom-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.custom-toast .icon-container {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.custom-toast .icon-container > svg {
  height: 16px;
}

.custom-toast .content-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.custom-toast .content-container .title {
  font-weight: 600;
  font-size: 14px;
}

.custom-toast .content-container .message-success,
.custom-toast .content-container .message-info,
.custom-toast .content-container .message-error,
.custom-toast .content-container .message-warning {
  font-size: 14px;
  font-weight: 500;
}
.custom-toast .content-container .message-success {
  color: #59f3a6;
}
.custom-toast .content-container .message-info {
  color: #5896f3;
}
.custom-toast .content-container .message-error {
  color: #ff355b;
}
.custom-toast .content-container .message-warning {
  color: #ffc021;
} 

.custom-toast > button {
  background-color: transparent;
  font-size: 25px;
  color: #9b9dab;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  height: 34px;
  width: 34px;
}

.custom-toast.success .icon-container > svg {
  fill: #59f3a6;
}

.custom-toast.success .content-container .title {
  color: #59f3a6;
}

.custom-toast.error .icon-container > svg {
  fill: #ff355b;
}

.custom-toast.error .content-container .title {
  color: #ff355b;
}

.custom-toast.info .icon-container > svg {
  fill: #5896f3;
}

.custom-toast.info .content-container .title {
  color: #5896f3;
}

.custom-toast.warning .icon-container > svg {
  fill: #ffc021;
}

.custom-toast.warning .content-container .title {
  color: #ffc021;
}


@media (max-width: 568px) {
  .custom-toast {
    margin: auto 0.5rem;
    left: 0;
    right: 0;
    width: calc(100% - 1rem);
    margin-bottom: 0.5rem;
  }

  .custom-toast-container {
    margin: 0;
  }
}
