@font-face {
	font-family: 'Recoleta-Bold';
	src: url('../fonts/recoleta-bold/recoleta-bold.eot');
	src: url('../fonts/recoleta-bold/recoleta-bold.eot?#iefix') format('embedded-opentype'),
             url('../fonts/recoleta-bold/recoleta-bold.woff2') format('woff2'),
	     url('../fonts/recoleta-bold/recoleta-bold.woff') format('woff'),
	     url('../fonts/recoleta-bold/recoleta-bold.ttf') format('truetype'),
	     url('../fonts/recoleta-bold/recoleta-bold.svg#youworkforthem') format('svg');
	font-weight: normal;
	font-style: normal;
}


/* Use a class or global tag to apply it */
.font-recoleta {
  font-family: 'Recoleta', serif;
}

:root {
  --bg-light: #f4f4f7;
  --bg-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #f9f9f9;
  --card-light: #fff;
  --card-dark: #2c2c2c;
  --border-color: #ccc;
  --accent: #7a4fa7;
}

[data-theme="light"] {
  background-color: var(--bg-light);
  color: var(--text-light);
}

[data-theme="dark"] {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

body {
	font-family: 'Recoleta-Bold', Helvetica, Arial, Sans-Serif;
	-moz-font-feature-settings:'aalt=0,case=0,ccmp=0,frac=0,liga=0,locl=0,ordn=0,ss01=0';
  margin: 0;
  padding: 0;
  min-height: 100svh;
}

body.blur #container{
  filter: blur(3px);
  pointer-events: none;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch .icon {
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.toggle-switch .slider {
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

#theme-toggle:checked + .toggle-switch {
  background-color: #666;
}

#theme-toggle:checked + .toggle-switch .slider {
  transform: translateX(30px);
  background-color: #111;
}

button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background-color: #7a4fa7;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

section {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--card-light);
}


/* Base style */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  outline: none;
}

/* Chrome, Safari, Edge - Track */
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 5px;
}

/* Chrome, Safari, Edge - Thumb */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent); /* slider thumb color */
  cursor: pointer;
  margin-top: -5px; /* align with track */
}

/* Firefox - Track */
.slider::-moz-range-track {
  background: #ddd;
  height: 6px;
  border-radius: 5px;
}

/* Firefox - Thumb */
.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

/* Firefox - Fill (left side of slider) */
.slider::-moz-range-progress {
  background-color: var(--accent);
  height: 6px;
  border-radius: 5px;
}