/* Estilo do Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 15px;
  width: 90%;
  max-width: 350px;
  padding: 20px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-header h2 {
  margin: 0;
  text-transform: capitalize;
  color: #333;
}

.modal-number {
  color: #666;
  font-size: 1rem;
}

.modal-image {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto 0.9375rem;
}

.modal-types {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.9375rem;
}

.modal-types .type {
  padding: 0.3125rem 0.9375rem;
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  text-transform: capitalize;
}

.modal-stats {
  background-color: #f5f5f5;
  padding: 0.9375rem;
  border-radius: 10px;
}

.modal-stats p {
  margin: 8px 0;
  color: #333;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
}

.close-modal:hover {
  color: #333;
}