/* ============================================
   SubTracker - Charts & Dashboard
   ============================================ */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dashboard-grid .card.full-width {
  grid-column: 1 / -1;
}

.chart-container {
  position: relative;
  min-height: 200px;
}

.deadlines-list {
  list-style: none;
  padding: 0;
}

.deadline-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.deadline-item:last-child {
  border-bottom: none;
}

.deadline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.deadline-info {
  flex: 1;
  min-width: 0;
}

.deadline-title {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deadline-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.deadline-date {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
