@import "variables";

:root {
  --toastify-color-info: #1A73E8;
  --toastify-color-success: #2BC48A;
  --toastify-color-warning: #E3AC16;
  --toastify-color-error: #EE6969;

  --toastify-color-info-text: #FFFFFF;
  --toastify-color-success-text: #FFFFFF;
  --toastify-color-warning-text: #FFFFFF;
  --toastify-color-error-text: #FFFFFF;

  --toastify-toast-min-height: 40px;
  --toastify-icon-color-info: white;
  --toastify-icon-color-success: white;
  --toastify-icon-color-error: white;
  --toastify-icon-color-warning: white;
}
:root[data-theme="dark"] {
  --toastify-color-info: #0055AB;
  --toastify-color-success: #61C765;
  --toastify-color-warning: #E3AC16;
  --toastify-color-error: #EE9C86;

  --toastify-color-info-text: #CCCCCC;
  --toastify-color-success-text: #20262E;
  --toastify-color-warning-text: #20262E;
  --toastify-color-error-text: #20262E;

  --toastify-toast-min-height: 40px;
  --toastify-icon-color-info: #CCCCCC;
  --toastify-icon-color-success: #20262E;
  --toastify-icon-color-error: #20262E;
  --toastify-icon-color-warning: #20262E;
}

////#3498db

.Toastify__toast-container {
  right: 20px;
  top: 85px;
  max-width: 90vw;
  width: fit-content;
  z-index: 90000;
}

.Toastify__toast {
  padding: 0 25px;
  width: 1055px;
  min-height: 40px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  font-size: 1.4rem;
  letter-spacing: 0.28px;
  font-weight: $regular;
}

.Toastify__toast--info {
  background-color: var(--toastify-color-info);
  color: var(--toastify-color-info-text);
}

.Toastify__toast--success {
  background-color: var(--toastify-color-success);
  color: var(--toastify-color-success-text);
}

.Toastify__toast--error {
  background-color: var(--toastify-color-error);
  color: var(--toastify-color-error-text);
}

.Toastify__toast--warning {
  background-color: var(--toastify-color-warning);
  color: var(--toastify-color-warning-text);
}

.Toastify__close-button {
  padding-top: 7px;
  color: $white;
  &  svg {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%) !important;
  }
}

.Toastify__progress-bar {
  width: 100%;
  height: 5px;
  background: whitesmoke;
}
