.suggestions-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.suggestions-viewer {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.suggestions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

.suggestions-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.close-button:hover {
  color: #374151;
}

.suggestions-filters {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

.branch-filter {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  background-color: white;
}

.suggestions-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.branch-suggestions {
  margin-bottom: 2rem;
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.branch-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.branch-info {
  font-size: 0.875rem;
  color: #6b7280;
}

.commit-hash {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background-color: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}

.unsaved-badge {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-weight: 500;
}

.suggestion-item {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.suggestion-item:hover {
  border-color: #d1d5db;
}

.suggestion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.suggestion-author {
  font-weight: 600;
  color: #111827;
}

.suggestion-time {
  color: #6b7280;
}

.suggestion-status {
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-open {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-resolved {
  background-color: #d1fae5;
  color: #065f46;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.suggestion-thread {
  margin-top: 0.75rem;
}

.thread-message {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.thread-message:last-child {
  margin-bottom: 0;
}

.message-author {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.message-text {
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.message-time {
  font-size: 0.75rem;
  color: #6b7280;
}

.error-message {
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .suggestions-viewer {
    width: 95%;
    max-height: 95vh;
  }
  
  .suggestions-header {
    padding: 1rem;
  }
  
  .suggestions-content {
    padding: 1rem;
  }
  
  .branch-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .suggestion-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
} 