@use '../styles/mixins' as *;

// =============================================================================
// Chat Page — clean full-page chat experience for the root task
// =============================================================================

.panelContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative; // containing block for StreamDetailPanel overlay
}

.chatHeader {
  @include surface-panel;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.chatHeaderInfo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chatHeaderActions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.detailButton {
  background: none;
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;

  &:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
  }
}

.emptyState {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  color: var(--text-tertiary);
  padding: var(--space-xl);
  text-align: center;
}

.emptyTitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.emptyDescription {
  font-size: var(--font-size-md);
  max-width: 480px;
  line-height: 1.5;
}

.emptyHint {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}
