/* Toastr CSS - Biblioteca base + Customizações */
/* Base da biblioteca Toastr */
.toast-title {
  font-weight: 700;
}
.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}
.toast-message a,
.toast-message label {
  color: #fff;
}
.toast-message a:hover {
  color: #ccc;
  text-decoration: none;
}
.toast-close-button {
  position: relative;
  right: -0.3em;
  top: -0.3em;
  float: right;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  -webkit-text-shadow: 0 1px 0 #fff;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.8;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80);
  line-height: 1;
}
.toast-close-button:focus,
.toast-close-button:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  filter: alpha(opacity=40);
}
.rtl .toast-close-button {
  left: -0.3em;
  float: left;
  right: 0.3em;
}
button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
}
.toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-left {
  top: 12px;
  left: 12px;
}
.toast-top-right {
  top: 12px;
  right: 12px;
}
.toast-bottom-right {
  right: 12px;
  bottom: 12px;
}
.toast-bottom-left {
  bottom: 12px;
  left: 12px;
}
#toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
}
#toast-container * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#toast-container > div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 6px;
  padding: 15px 15px 15px 50px;
  width: 300px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-position: 15px center;
  background-repeat: no-repeat;
  -moz-box-shadow: 0 0 12px #999;
  -webkit-box-shadow: 0 0 12px #999;
  box-shadow: 0 0 12px #999;
  color: #fff;
  opacity: 0.8;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80);
}
#toast-container > div.rtl {
  direction: rtl;
  padding: 15px 50px 15px 15px;
  background-position: right 15px center;
}
#toast-container > div:hover {
  -moz-box-shadow: 0 0 12px #000;
  -webkit-box-shadow: 0 0 12px #000;
  box-shadow: 0 0 12px #000;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  cursor: pointer;
}
#toast-container > .toast-info {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important;
}
#toast-container > .toast-error {
  /* Imagem de fundo removida - usando pseudo-elemento escuro */
  background-image: none !important;
}
#toast-container > .toast-success {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important;
}
#toast-container > .toast-warning {
  /* Imagem de fundo removida - usando pseudo-elemento escuro */
  background-image: none !important;
}
#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.toast {
  background-color: #030303;
}
.toast-success {
  background-color: #51a351;
}
.toast-error {
  background-color: #bd362f;
}
.toast-info {
  background-color: #2f96b4;
}
.toast-warning {
  background-color: #f89406;
}
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000;
  opacity: 0.4;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  filter: alpha(opacity=40);
}
@media all and (max-width: 240px) {
  #toast-container > div {
    padding: 8px 8px 8px 50px;
    width: 11em;
  }
  #toast-container > div.rtl {
    padding: 8px 50px 8px 8px;
  }
  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
  #toast-container .rtl .toast-close-button {
    left: -0.2em;
    right: 0.2em;
  }
}
@media all and (min-width: 241px) and (max-width: 480px) {
  #toast-container > div {
    padding: 8px 8px 8px 50px;
    width: 18em;
  }
  #toast-container > div.rtl {
    padding: 8px 50px 8px 8px;
  }
  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
  #toast-container .rtl .toast-close-button {
    left: -0.2em;
    right: 0.2em;
  }
}
@media all and (min-width: 481px) and (max-width: 768px) {
  #toast-container > div {
    padding: 15px 15px 15px 50px;
    width: 25em;
  }
  #toast-container > div.rtl {
    padding: 15px 50px 15px 15px;
  }
}

/* ============================================
   Customizações usando as cores do sistema
   As variáveis CSS são definidas em colors.css e colors-dark.css
   ============================================ */

.toast-warning {
  background-color: var(--color-warning) !important;
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-warning .toast-title {
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-warning .toast-message {
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-success {
  background-color: var(--color-success) !important;
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

.toast-success .toast-title {
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

.toast-success .toast-message {
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

.toast-error {
  background-color: var(--color-danger) !important;
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-error .toast-title {
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-error .toast-message {
  color: #212121 !important;
  font-family: 'Roboto', sans-serif;
}

.toast-info {
  background-color: var(--color-secondary) !important;
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

.toast-info .toast-title {
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

.toast-info .toast-message {
  color: var(--color-white-dark) !important;
  font-family: 'Roboto', sans-serif;
}

/* Sobrescrever seletores mais específicos */
#toast-container > .toast-success {
  background-color: var(--color-success) !important;
}

#toast-container > .toast-error {
  background-color: var(--color-danger) !important;
  color: #212121 !important;
  /* Remover a imagem de fundo branca e usar pseudo-elemento escuro */
  background-image: none !important;
  position: relative;
}

#toast-container > .toast-error::before {
  content: '⚠';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #212121;
  line-height: 1;
  z-index: 1;
}

#toast-container > .toast-info {
  background-color: var(--color-secondary) !important;
}

/* Sobrescrever especificamente a regra #toast-container > div { color: #fff; } */
#toast-container > div.toast-warning {
  color: #212121 !important;
}

/* Garantir que o container do warning tenha cor escura */
#toast-container > .toast-warning {
  background-color: var(--color-warning) !important;
  color: #212121 !important;
  /* Remover a imagem de fundo branca e usar pseudo-elemento escuro */
  background-image: none !important;
  position: relative;
}

#toast-container > .toast-warning::before {
  content: '⚠';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #212121;
  line-height: 1;
  z-index: 1;
}

#toast-container > .toast-warning .toast-title,
#toast-container > .toast-warning .toast-message,
#toast-container > .toast-error .toast-title,
#toast-container > .toast-error .toast-message {
  color: #212121 !important;
}

/* Regra universal para garantir que TODOS os elementos dentro do warning toast sejam escuros */
#toast-container > div.toast-warning *,
#toast-container > .toast-warning * {
  color: #212121 !important;
}

/* Regras específicas para elementos comuns dentro do toast */
#toast-container > div.toast-warning i,
#toast-container > div.toast-warning .material-icons,
#toast-container > div.toast-warning .material-symbols-outlined,
#toast-container > div.toast-warning span,
#toast-container > div.toast-warning div,
#toast-container > div.toast-warning p,
#toast-container > div.toast-warning strong,
#toast-container > div.toast-warning em,
#toast-container > div.toast-warning .toast-title,
#toast-container > div.toast-warning .toast-message,
#toast-container > .toast-warning i,
#toast-container > .toast-warning .material-icons,
#toast-container > .toast-warning .material-symbols-outlined,
#toast-container > .toast-warning span,
#toast-container > .toast-warning div,
#toast-container > .toast-warning p,
#toast-container > .toast-warning strong,
#toast-container > .toast-warning em,
#toast-container > .toast-warning .toast-title,
#toast-container > .toast-warning .toast-message,
.toast-warning i,
.toast-warning .material-icons,
.toast-warning .material-symbols-outlined,
.toast-warning span,
.toast-warning div,
.toast-warning p,
.toast-warning strong,
.toast-warning em,
.toast-warning .toast-title,
.toast-warning .toast-message {
  color: #212121 !important;
}

/* Corrigir a cor do botão de fechar nos toasts warning e error */
.toast-warning .toast-close-button,
.toast-error .toast-close-button {
  color: #212121 !important;
  text-shadow: none !important;
}

.toast-warning .toast-close-button:hover,
.toast-error .toast-close-button:hover {
  color: #212121 !important;
  opacity: 0.6 !important;
}

/* Suporte para dark mode - garantir texto escuro para warning e error */
[data-theme='dark'] .toast-warning,
[data-theme='dark'] .toast-error {
  color: #212121 !important;
}

[data-theme='dark'] .toast-success,
[data-theme='dark'] .toast-info {
  color: var(--color-white-dark) !important;
}

[data-theme='dark'] .toast-warning .toast-title,
[data-theme='dark'] .toast-warning .toast-message,
[data-theme='dark'] .toast-error .toast-title,
[data-theme='dark'] .toast-error .toast-message {
  color: #212121 !important;
}

[data-theme='dark'] .toast-success .toast-title,
[data-theme='dark'] .toast-success .toast-message,
[data-theme='dark'] .toast-info .toast-title,
[data-theme='dark'] .toast-info .toast-message {
  color: var(--color-white-dark) !important;
}

[data-theme='dark'] #toast-container > .toast-success {
  background-color: var(--color-success) !important;
}

[data-theme='dark'] #toast-container > .toast-error {
  background-color: var(--color-danger) !important;
  color: #212121 !important;
  /* Remover a imagem de fundo branca e usar pseudo-elemento escuro */
  background-image: none !important;
  position: relative;
}

[data-theme='dark'] #toast-container > .toast-error::before {
  content: '⚠';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #212121;
  line-height: 1;
  z-index: 1;
}

[data-theme='dark'] #toast-container > .toast-info {
  background-color: var(--color-secondary) !important;
}

[data-theme='dark'] #toast-container > .toast-warning {
  background-color: var(--color-warning) !important;
  color: #212121 !important;
  /* Remover a imagem de fundo branca e usar pseudo-elemento escuro */
  background-image: none !important;
  position: relative;
}

[data-theme='dark'] #toast-container > .toast-warning::before {
  content: '⚠';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #212121;
  line-height: 1;
  z-index: 1;
}

[data-theme='dark'] #toast-container > .toast-warning .toast-title,
[data-theme='dark'] #toast-container > .toast-warning .toast-message,
[data-theme='dark'] #toast-container > .toast-error .toast-title,
[data-theme='dark'] #toast-container > .toast-error .toast-message {
  color: #212121 !important;
}

/* Corrigir cor dos ícones e texto nos toasts warning no dark mode - regras mais específicas */
[data-theme='dark'] #toast-container > div.toast-warning,
[data-theme='dark'] #toast-container > .toast-warning {
  color: #212121 !important;
}

[data-theme='dark'] #toast-container > div.toast-warning *,
[data-theme='dark'] #toast-container > .toast-warning *,
[data-theme='dark'] .toast-warning * {
  color: #212121 !important;
}

[data-theme='dark'] #toast-container > div.toast-warning i,
[data-theme='dark'] #toast-container > div.toast-warning .material-icons,
[data-theme='dark'] #toast-container > div.toast-warning .material-symbols-outlined,
[data-theme='dark'] #toast-container > div.toast-warning span,
[data-theme='dark'] #toast-container > div.toast-warning div,
[data-theme='dark'] #toast-container > div.toast-warning p,
[data-theme='dark'] #toast-container > div.toast-warning strong,
[data-theme='dark'] #toast-container > div.toast-warning em,
[data-theme='dark'] #toast-container > div.toast-warning .toast-title,
[data-theme='dark'] #toast-container > div.toast-warning .toast-message,
[data-theme='dark'] #toast-container > .toast-warning i,
[data-theme='dark'] #toast-container > .toast-warning .material-icons,
[data-theme='dark'] #toast-container > .toast-warning .material-symbols-outlined,
[data-theme='dark'] #toast-container > .toast-warning span,
[data-theme='dark'] #toast-container > .toast-warning div,
[data-theme='dark'] #toast-container > .toast-warning p,
[data-theme='dark'] #toast-container > .toast-warning strong,
[data-theme='dark'] #toast-container > .toast-warning em,
[data-theme='dark'] #toast-container > .toast-warning .toast-title,
[data-theme='dark'] #toast-container > .toast-warning .toast-message,
[data-theme='dark'] .toast-warning i,
[data-theme='dark'] .toast-warning .material-icons,
[data-theme='dark'] .toast-warning .material-symbols-outlined,
[data-theme='dark'] .toast-warning span,
[data-theme='dark'] .toast-warning div,
[data-theme='dark'] .toast-warning p,
[data-theme='dark'] .toast-warning strong,
[data-theme='dark'] .toast-warning em,
[data-theme='dark'] .toast-warning .toast-title,
[data-theme='dark'] .toast-warning .toast-message {
  color: #212121 !important;
}

[data-theme='dark'] .toast-warning .toast-close-button,
[data-theme='dark'] .toast-error .toast-close-button {
  color: #212121 !important;
  text-shadow: none !important;
}

[data-theme='dark'] .toast-warning .toast-close-button:hover,
[data-theme='dark'] .toast-error .toast-close-button:hover {
  color: #212121 !important;
  opacity: 0.6 !important;
}
