:root.light {
  --canvas-bg: #F9F9F9;
  --canvas-text-primary: #131313;
  --canvas-text-secondary: #333333;

  --surface-base-background: #FFFFFF;

  --surface-main-layer1: #FFFFFF;
  --surface-main-layer2: #FFFFFF;
  --surface-main-layer3: #FFFFFF;
  --surface-main-layer4: #FFFFFF;

  --surface-opposite-layer1: #FFFFFF;
  --surface-opposite-layer2: #FFFFFF;
  --surface-opposite-layer3: #FFFFFF;
  --surface-opposite-layer4: #FFFFFF;
} 

:root.dark {
  --canvas-bg: #191919;
  --canvas-text-primary: #EEEEEE;
  --canvas-text-secondary: #CDCDCD;

  --surface-base-background: #000000;

  --surface-main-layer1: #000000;
  --surface-main-layer2: #000000;
  --surface-main-layer3: #000000;
  --surface-main-layer4: #000000;

  --surface-opposite-layer1: #000000;
  --surface-opposite-layer2: #000000;
  --surface-opposite-layer3: #000000;
  --surface-opposite-layer4: #000000;
} 

html {
  margin: 0;
  padding: 0;
  font-family: Inter, Helvetica, sans-serif;
}

body {
  margin: 0;
  padding: 0;

  width: 100vw;
  height: 100vh;

  display: flex;
  flex-direction: column;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;

  padding: 12px 24px;
}

ul.notStyled {
  margin: 0;
  padding: 0;
  list-style: none;
}

input, label {
  cursor: pointer;
}

input:disabled,
input:disabled + label {
  cursor: default;
}

.logo {
  font-size: 32px;
  font-weight: 500;
}

.logo span {
  font-weight: 300;
  opacity: 0.4;
}

.mainNav {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
}

.mainNav a {
  padding: 8px 12px;

  cursor: pointer;
}

.navIconLink {
  display: block;
  width: 18px;
  height: 18px;
  background-color: #000;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 24px;
}

.navDivider {
  width: 1px;
  height: 34px;
  margin: 0 12px;
  background-color: #000;
}

.demoCanvas {
  flex-grow: 2;
  display: grid;
  height: 100%;

  padding: 32px 24px;

  grid-template-columns: 1fr 380px;
  align-items: start;

  color: var(--canvas-text-primary);
  background-color: var(--canvas-bg);

  overflow-y: auto;
}

.pluginUI {
  width: 320px;
  margin: 0;
  padding: 24px 20px;
  border-radius: 28px;

  display: flex;
  flex-direction: column; 
  justify-content: flex-start; 
  gap: 16px; 

  color: #000;
  background-color: #FCFCFC;

  box-shadow: 3px 3px 24px rgba(0, 0, 0, 0.1)
}

.pageName {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 48px;
  padding-right: 24px;
}

.pageNameContainer {
  display: flex;
  align-items: baseline;
  gap: 48px;
}

.themeList {
  display: flex;
  align-items: baseline;
  gap: 12px;

  font-size: 20px;
}

.themeList input {
  display: none;
}

.themeList input[type="radio"]:checked + label {
  font-weight: 500;
  cursor: default;
}

.themeList input[type="radio"]:not(:checked) + label {
  opacity: 0.4;
}

.tokensContainer {
  height: 100%;

  display: flex;
  flex-direction: column;
  gap: 24px;

  overflow-y: auto;
}

.tokensGroup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tokensList {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.tokensFolder {
  min-width: 220px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tokensSubFolder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tokensList ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tokenItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tokenColor {
  width: 40px;
  height: 40px;
  border-radius: 8px;

  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

  background-color: #FFFFFF;
}

.token {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tolenValue {
  font-size: 14px;
  color: var(--canvas-text-secondary);
}

.tokenHex:hover {
  color: var(--canvas-text-primary);
  cursor: pointer;
}

.hidden {
  display: none;
}