body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #ff9a3c, #ff6a00);
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
}

/* Carte */
#map {
  flex: 2;
}

/* Panneau infos */
#sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  overflow-y: auto;
  padding: 15px;
}

#sidebar header {
  text-align: center;
  margin-bottom: 15px;
}

.line-card {
  background: rgba(0,0,0,0.4);
  margin: 10px 0;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.line-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #fff;
}

.line-card img {
  height: 20px;
  margin-right: 8px;
}

.stop-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stop-time:last-child {
  border-bottom: none;
}
.stop-time .time {
  color: #4caf50;
}

.bus-popup {
  font-family: Arial, sans-serif;
  color: #fff;
  background: rgba(0,0,0,0.7);
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 200px;
}

.bus-header {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bus-line {
  background: #ff9900;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.bus-destination {
  flex: 1;
  text-align: right;
}

.bus-sub {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.bus-stops {
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 4px;
}

.stop-item {
  display: flex;
  justify-content: space-between;
}
.stop-item .time {
  color: #6f6;
}

