.theme-preview-window {
  width: 276px;
  background-color: rgb(var(--kit-background));
  border: 1px solid rgb(var(--kit-border));
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.theme-preview-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  outline: 2px solid rgb(var(--kit-primary));
}

.theme-preview-title-bar {
  display: flex;
  align-items: center;
  padding: 8px;
  background-color: rgb(var(--kit-background));
  border-bottom: 1px solid rgb(var(--kit-border));
  gap: 6px;
}

.theme-preview-title {
  margin-left: auto;
  margin-right: 8px;
  font-size: 12px;
  font-weight: bold;
  color: rgb(var(--kit-text));
  opacity: 0.8;
}

.theme-preview-window-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.theme-preview-close-button {
  background-color: #ff5f56;
}

.theme-preview-minimize-button {
  background-color: #ffbd2e;
}

.theme-preview-maximize-button {
  background-color: #27c93f;
}

.theme-preview-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  background-color: rgb(var(--kit-surface));
}

.theme-preview-avatar-container {
  display: flex;
}

.theme-preview-avatar {
  width: 40px;
  height: 40px;
  background-color: rgba(var(--kit-text), 0.2);
  border-radius: 50%;
  position: relative;
}

.theme-preview-indicator {
  width: 12px;
  height: 12px;
  background-color: rgb(var(--kit-accent));
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid rgb(var(--kit-surface));
}

.theme-preview-skeleton-lines {
  flex: 1;
  margin-left: 16px;
}

.theme-preview-skeleton-line {
  height: 12px;
  background-color: rgba(var(--kit-text), 0.1);
  margin-bottom: 8px;
  border-radius: 4px;
}

.theme-preview-skeleton-line.short {
  width: 60%;
}

.theme-preview-skeleton-line.medium {
  width: 80%;
}

.theme-preview-skeleton-line.long {
  width: 100%;
}

.theme-preview-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  gap: 8px;
}

.theme-preview-action-button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  height: 24px;
  width: 64px;
}

.theme-preview-primary-button {
  background-color: rgb(var(--kit-primary));
}

.theme-preview-secondary-button {
  background-color: rgb(var(--kit-secondary));
  opacity: 0.9;
}
