body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}


.news-feed {
  display: flex;
  flex-direction: column; /* Arrange cards vertically */
  gap: 10px; /* Spacing between cards */
}

.card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px; /* Optional margin */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
  width: 80%; /* Or a specific width */
  margin: 0 auto; /* Center the cards */
}

/* rideList.css or within the component's styles */
.ride-list {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 20px 0; /* Add some margin */
  display: flex; /* Use flexbox for horizontal layout */
  gap: 5px; /* Spacing between list items */
  overflow-x: auto; /* Enable horizontal scrolling if needed */
}

.ride-item {
  height: 20px; /* Set a fixed height */
  /* width is set dynamically in the component */
  margin-bottom: 5px;
  border-radius: 5px; /* Round the corners */
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  padding: 0 10px; /* Add some padding */
  color: #333; /* Darker text color */
  white-space: nowrap; /* Prevent text from wrapping */
  font-size: 0.8rem; /* Smaller font size */
}

/* Optional: Add a subtle border to the list items */
.ride-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Optional: Add a hover effect */
.ride-item:hover {
  opacity: 0.8;
}

.ri-bobby {
  background-color: #6495ed;
}

.ri-emily {
  background-color: gold;
}

.approved ::before {
  content: "✅";
}

.approved {
  border-radius: 10px;
  background-color: #61b961;
  width: 30%;
  padding: 15px;
}