/* Simplified Repository Explorer Styles */

/* Productivity Analysis */
.productivity-analysis {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.productivity-analysis h4 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
}

.productivity-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.stat-value {
  font-size: 1.5rem;
  color: #2c5282;
  font-weight: 600;
}

.top-days-section h5 {
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 600;
}

.top-days-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.productive-day {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(44, 82, 130, 0.02);
  border-radius: 4px;
  transition: background 0.2s;
}

.productive-day:hover {
  background: rgba(44, 82, 130, 0.05);
}

.day-rank {
  font-weight: 700;
  color: #2c5282;
  font-size: 0.9rem;
  min-width: 28px;
}

.day-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.day-date {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 500;
}

.day-bar {
  height: 6px;
  background: linear-gradient(to right, #2c5282, #3182ce);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.day-count {
  font-size: 0.9rem;
  color: #2c5282;
  font-weight: 600;
  white-space: nowrap;
}

/* Recent Commits */
.recent-commits {
  margin: 2rem 0;
}

.recent-commits h4 {
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
}

.commits-list {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.commit-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  transition: background 0.2s;
}

.commit-row:last-child {
  border-bottom: none;
}

.commit-row:hover {
  background: rgba(44, 82, 130, 0.02);
}

.commit-sha {
  font-family: monospace;
  font-size: 0.8rem;
  color: #718096;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.commit-message {
  color: #1a1a1a;
  font-size: 0.9rem;
}

.commit-date {
  color: #718096;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .productivity-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .productive-day {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }

  .day-count {
    grid-column: 2;
    justify-self: end;
  }

  .commit-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .commit-date {
    font-size: 0.75rem;
  }
}
