/* Reset et style général */
body {
  font-family: 'Arial', sans-serif;
  background: #f2f2f2;
  margin: 0;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.container {
  background: white;
  padding: 50px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

h2 {
  text-align: center;
  color: #444;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Inputs et bouton ajouter */
.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

button {
  padding: 10px 15px;
  border: none;
  background: #007bff;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #0056b3;
}

/* Liste des matières */
ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

li {
  background: #e9ecef;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

/* Section premium */
#premium {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  border: 2px dashed #007bff;
  border-radius: 10px;
  background: #f9faff;
}

#premium p {
  margin-bottom: 15px;
  color: #333;
  font-size: 15px;
}

/* Bouton premium */
#premium button {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
}

#premium button:hover {
  background: linear-gradient(90deg, #feb47b, #ff7e5f);
  transform: scale(1.05);
}

/* Graphique Chart.js */
canvas {
  margin-top: 30px;
  border-radius: 10px;
  background: #f8f9fa;
  padding: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  input, button {
    font-size: 14px;
    padding: 8px;
  }

  li {
    font-size: 14px;
    padding: 8px;
  }
}
