.hubble-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.hubble-chart-wrapper {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.hubble-chart-wrapper h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}

.hubble-chart-wrapper canvas {
  min-height: 300px;
}

.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.hubble-no-data {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.hubble-no-data p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Styles pour le formulaire de questions */
.hubble-questions-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hubble-success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hubble-form-section {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.hubble-question-form .form-group {
  margin-bottom: 20px;
}

.hubble-question-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.hubble-question-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

.hubble-submit-btn {
  background-color: #0073aa;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.hubble-submit-btn:hover {
  background-color: #005177;
}

.questions-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.question-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question-text {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}

.question-date {
  display: block;
  font-size: 14px;
  color: #666;
}

@media (min-width: 768px) {
  .hubble-stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .hubble-chart-wrapper {
    margin-bottom: 0;
  }
}
