.container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 1rem;
  max-width: none;
  transition: 0.3s;
  height: fit-content;
}

.drone-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 12px;
  width: 20rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  /* Show a pointer cursor on hover */
}

.card-bottom {
  border-top: 1px solid #ddd;
  /* Light gray border for separation */
  padding-top: 12px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #333;
}

.card-bottom .flight-time {
  margin-bottom: 8px;
  color: #0077b6;
  font-weight: bold;
}

.card-bottom .status {
  display: none;
  font-weight: bold;
  color: #4caf50;
  /* Green color for success status */
}

/* .drone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
} */

.drone-card h5 {
  margin-top: 0;
  color: #0077b6;
}

@media (max-width: 600px) {
  .drone-card {
    width: 100%;
  }
}
