body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0; /* Remove default margin */

  background-color: #0c1016;
}

.disk-info {
  color: white;
  font-size: 1.25rem;
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #15141a;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.disk-info p {
  margin: 0.5rem 0;
}

.disk-info .error {
  color: #ff5555;
}

.grid-container {
  display: grid;
  text-decoration: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  /* Optional: if you want to limit the maximum width */
  max-width: 1200px;
  /* Optional: add some padding around the grid */
  padding: 20px;
}



.media-card {
  display: flex;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.5rem;
  background-color: #15141a;
  padding: 1.25rem;
}

.media-card img {
  width: 10rem;
  height: 10rem;
}

.media-card h1 {
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: white;
}

.media-card p {
  color: white;
}

/* Optional: Add hover effects */
.media-card:hover {
  transform: scale(0.98);
  transition: transform 0.2s ease-in-out;
}

/* Add these to your existing CSS file */
.progress-container {
  border-radius: 0.75rem;
  border: 1px solid #ffffff33; /* Light border that matches the dark theme */
  width: 100%;
  height: 1rem;
  background-color: #1a1a1f; /* Dark background for empty part */
  overflow: hidden; /* Ensures the progress bar stays within rounded corners */
}

.progress-bar {
  border-radius: 0.75rem;
  background-color: #ff5555; /* Matches your error color */
  height: 100%;
  transition: width 0.3s ease; /* Smooth width changes */
  animation: fillBar 1s ease-out; /* 1 second animation */
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--final-width); /* Will be set by inline style */
    }
}
.donation-container {
  display: flex;
  color: white;
  justify-content: center;
  margin-top: 1rem;
  max-width: 1200px;
  width: 100%;
}

.donation-card {
  background-color: #1a1a2e;
  border: 1px solid #16213e;
  max-width: 300px; /* Limite la largeur pour qu'elle reste proportionnelle */
}

.donation-card:hover {
  background-color: #21263a;
}
