/* ========================================
 * CCW Installation Panel Styles
 * ======================================== */

/* CCW Header Actions */
.ccw-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* CCW Install Content */
.ccw-install-content {
  padding: 0.5rem 0.625rem;
}

/* CCW Empty State */
.ccw-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.ccw-empty-state i {
  opacity: 0.4;
  margin-bottom: 0.75rem;
}

.ccw-empty-state p {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

/* ========================================
 * CCW Carousel Styles
 * ======================================== */
.ccw-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ccw-carousel-track {
  display: flex;
  flex: 1;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ccw-carousel-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.ccw-carousel-card.active {
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.1);
}

/* Carousel Card Header */
.ccw-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.ccw-card-header-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ccw-card-mode {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  color: hsl(var(--foreground));
}

.btn-icon-sm {
  padding: 0.25rem;
}

.ccw-card-mode.global {
  color: hsl(var(--primary));
}

.ccw-card-mode.path {
  color: hsl(var(--warning));
}

.ccw-version-tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* Carousel Card Path */
.ccw-card-path {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  font-family: 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
  background: hsl(var(--muted) / 0.5);
  padding: 0.3125rem 0.5rem;
  border-radius: 0.375rem;
  margin-bottom: 0.375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Carousel Card Meta */
.ccw-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

.ccw-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Carousel Card Actions - moved to header */

/* Carousel Navigation Buttons */
.ccw-carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.15s ease;
}

.ccw-carousel-btn:hover {
  background: hsl(var(--hover));
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.3);
}

.ccw-carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Carousel Dots */
.ccw-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ccw-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ccw-carousel-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.ccw-carousel-dot.active {
  background: hsl(var(--primary));
  width: 20px;
  border-radius: 4px;
}

