/* Layout Styles - VibeSurf Extension */

/* Container */
.vibesurf-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  min-width: 320px;
  background-color: var(--bg-primary);
  resize: horizontal;
  overflow: hidden;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  min-height: 56px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-left: var(--spacing-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.social-link:hover {
  color: var(--text-secondary);
  background-color: var(--bg-hover);
  opacity: 1;
  transform: scale(1.1);
}

.social-link:active {
  transform: scale(0.95);
}

.social-link[data-platform="github"]:hover {
  color: #333;
}

.social-link[data-platform="discord"]:hover {
  color: #5865F2;
}

.social-link[data-platform="x"]:hover {
  color: #000;
}

/* Dark mode adjustments for social links */
@media (prefers-color-scheme: dark) {
  .social-link[data-platform="github"]:hover {
    color: #f0f6fc;
  }
  
  .social-link[data-platform="x"]:hover {
    color: #fff;
  }
}

.logo-image {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.logo-text {
  font-size: var(--font-size-lg);
  line-height: 1.2;
}

.session-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.session-label {
  font-weight: var(--font-weight-medium);
}

#session-id {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background-color: var(--bg-tertiary);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background-color: var(--bg-hover);
  color: var(--text-secondary);
}

.copy-btn:active {
  background-color: var(--bg-active);
  transform: scale(0.95);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-md);
  background-color: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.icon-btn:active {
  background-color: var(--bg-active);
  transform: scale(0.95);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Common Button Styles */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.8;
}

.action-btn:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-hover);
  color: var(--text-primary);
  opacity: 1;
  transform: scale(1.05);
}

.action-btn:active {
  transform: scale(0.95);
}

.action-btn:disabled {
  background-color: var(--border-color);
  border-color: var(--border-color);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  opacity: 0.5;
}