@import '../../variables';

.themeCard {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  cursor: pointer;
}

.inner {
  position: relative;
  display: flex;
  height: 144px;
  gap: $space-xxs;

  border-radius: var(--border-radius-small);
  overflow: hidden;
  background: var(--color-neutral-10);
  transition:
    outline 0.15s ease,
    background 0.15s ease;
  outline: 1px solid transparent;

  &:hover,
  &:focus-visible {
    outline: 1px solid var(--color-neutral-70);
    background: var(--color-neutral-5);
  }
}

.preview {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: $space-m;
  overflow: hidden;
}

.previewText {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-neutral-100);
  z-index: 1;
  user-select: none;
}

.colorStrip {
  display: flex;
  flex-direction: column;
  gap: $space-xxs;
  width: 100%;
  max-width: 80px;
}

.colorStripItem {
  flex: 1;
  height: 100%;
}

.body {
  display: flex;
  justify-content: space-between;
  gap: $space-xs;
  padding: $space-s 0;
}

.info {
  display: flex;
  flex-direction: column;
  gap: $space-xs;
}

.tags {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: $space-xs;
  padding: $space-xs;
}
