/* Sistema de Notificações da Aplicação */
.notificacao-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  pointer-events: none;
}

.notificacao {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideIn 0.3s ease-out;
  pointer-events: all;
  border-left: 4px solid;
  min-width: 320px;
}

.notificacao.saindo {
  animation: slideOut 0.3s ease-in forwards;
}

.notificacao-icone {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.notificacao-conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notificacao-titulo {
  font-weight: 600;
  font-size: 15px;
  color: #00294B;
  margin: 0;
}

.notificacao-mensagem {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.notificacao-fechar {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notificacao-fechar:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

/* Tipos de Notificação */
.notificacao.sucesso {
  border-left-color: #28a745;
}

.notificacao.sucesso .notificacao-icone {
  color: #28a745;
}

.notificacao.erro {
  border-left-color: #dc3545;
}

.notificacao.erro .notificacao-icone {
  color: #dc3545;
}

.notificacao.aviso {
  border-left-color: #ffc107;
}

.notificacao.aviso .notificacao-icone {
  color: #ffc107;
}

.notificacao.info {
  border-left-color: #17a2b8;
}

.notificacao.info .notificacao-icone {
  color: #17a2b8;
}

/* Animações */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .notificacao-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .notificacao {
    min-width: auto;
  }

  @keyframes slideIn {
    from {
      transform: translateY(-100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes slideOut {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(-100px);
      opacity: 0;
    }
  }
}
