@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;700&display=swap");
:root {
  --bg-color: #0d1117;
  --card-bg: rgba(22, 27, 34, 0.95);
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --border-color: #30363d;
  /* Accents */
  --accent-bart: #00a1de;
  --accent-muni: #b40026;
  --accent-parking: #2ea043;
  --accent-blue: #58a6ff;
  --accent-purple: #bc8cff;
  --glow-color: rgba(56, 139, 253, 0.15);
  /* Spacing */
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --radius: 12px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  box-sizing: border-box;
}

/* --- Layout --- */
.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Header --- */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 10px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, #8b949e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clock-display {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.25rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

/* --- Grid --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  width: 100%;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: #58a6ff;
  box-shadow: 0 8px 32px -8px var(--glow-color);
}

/* Accent lines for cards */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-color);
}

.card.bart::before {
  background: var(--accent-bart);
}

.card.muni::before {
  background: var(--accent-muni);
}

.card.parking::before {
  background: var(--accent-parking);
}

.card.warehouse::before {
  background: var(--accent-purple);
}

.card.warehouse-bar::before {
  background: var(--accent-purple);
}

.card.warehouse-bar {
  grid-column: 1/-1; /* If it were in grid, but it's not. Safe to keep or ignore. */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 10px; /* Space from grid */
}

.card.warehouse-bar .card-header {
  margin-bottom: 0;
  min-width: 250px;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
  height: 100%;
}

.card.warehouse-bar #warehouse-content {
  flex-grow: 1;
}

@media (max-width: 900px) {
  .card.warehouse-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .card.warehouse-bar .card-header {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title i {
  width: 24px;
  text-align: center;
}

/* --- Config Tables / Lists --- */
.departure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.departure-table th {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.departure-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}

.departure-table tr:last-child td {
  border-bottom: none;
}

.route-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 30px;
  text-align: center;
  background: #333;
  color: #fff;
  margin-right: 8px;
}

.route-badge.yellow {
  background: #ffe800;
  color: #000;
}

.route-badge.red {
  background: #ff0000;
  color: #fff;
}

.route-badge.green {
  background: #4db848;
  color: #fff;
}

.route-badge.blue {
  background: #00a1de;
  color: #fff;
}

.route-badge.orange {
  background: #f9a11d;
  color: #fff;
}

.arrival-time {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: #fff;
  float: right;
}

.arrival-time.imminent {
  color: #2ea043;
  animation: pulse 2s infinite;
}

/* --- Status Indicators --- */
.status-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  display: inline-block;
}

.status-dot.active {
  background-color: #2ea043;
  box-shadow: 0 0 8px #2ea043;
}

/* --- Footer --- */
.dashboard-footer {
  margin-top: auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding-top: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .clock-display {
    align-self: flex-start;
  }
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/*# sourceMappingURL=main.css.map */