/* Default toast */

.sf-toast {
  position: fixed;
  bottom: 0rem;
  right: 0rem;
  display: flex;
  padding: 1.5rem;
  gap: 2rem;
  background-color: white;
  color: black;
  border-left: 5px solid gray;
  width: 100%;
  z-index: 1337;
}

section.sf-toast-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-wrap: anywhere;
  padding: 0;
}

.sf-toast-content h1, .sf-toast-content p {
  margin: 0;
  font-size: 1rem;
}

.sf-toast-left {
  border-radius: 100%;
  background-color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
  font-weight: 900;
}

.sf-toast-right:hover {
  cursor: pointer;
}

.sf-toast .sf-toast-right {
  font-weight: 900;
  color: black;
}

/* Custom Success toast */
.sf-toast-success {
  background-color: #e9f3e8;
  color: black;
  border-left: 5px solid green;
}

.sf-toast-success .sf-toast-left {
  background-color: green;
  color: white;
}

/* Custom Error toast */
.sf-toast-error {
  background-color: #f6e7e7;
  color: black;
  border-left: 5px solid red;
}

.sf-toast-error .sf-toast-left {
  background-color: red;
  color: white;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .sf-toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    padding: 1.5rem;
    gap: 2rem;
    width: auto;
  }

  .sf-toast-content {
    display: block;
    width: 16rem;
  }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}
