/**
 * GitHubPanel styles
 * Uses design tokens for theming
 */

.GitHubPanel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--theme-color-bg-2);
}

.Header {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--theme-color-border-default);
  background-color: var(--theme-color-bg-2);
}

.Tabs {
  display: flex;
  gap: 0;
  padding: 0 12px;
}

.Tab {
  padding: 12px 16px;
  background: none;
  border: none;
  color: var(--theme-color-fg-default-shy);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;

  &:hover {
    color: var(--theme-color-fg-default);
    background-color: var(--theme-color-bg-3);
  }

  &.TabActive {
    color: var(--theme-color-primary);
    border-bottom-color: var(--theme-color-primary);
  }
}

.Content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.IssuesTab {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.Filters {
  padding: 12px;
  border-bottom: 1px solid var(--theme-color-border-default);
  background-color: var(--theme-color-bg-2);
}

.SearchInput {
  width: 100%;
  padding: 8px 12px;
  background-color: var(--theme-color-bg-3);
  border: 1px solid var(--theme-color-border-default);
  border-radius: 4px;
  color: var(--theme-color-fg-default);
  font-size: 13px;

  &::placeholder {
    color: var(--theme-color-fg-default-shy);
  }

  &:focus {
    outline: none;
    border-color: var(--theme-color-primary);
  }
}

.IssuesList {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.EmptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--theme-color-fg-default-shy);

  h3 {
    margin: 12px 0 8px;
    color: var(--theme-color-fg-default);
    font-size: 16px;
    font-weight: 600;
  }

  p {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.5;
  }
}

.EmptyStateIcon {
  font-size: 48px;
  opacity: 0.5;
}

.ConnectButton {
  padding: 10px 20px;
  background-color: var(--theme-color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.9;
  }

  &:active {
    opacity: 0.8;
  }
}

.ComingSoon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--theme-color-fg-default-shy);
  font-size: 13px;
}
