:root {
  /* Dark theme */
  --clr-bg: #202124;
  --clr-txt: #e8eaed;
  --clr-accent: #4285f4;

  /* Icon button color */
  --clr-icon: #ffa500;

  /* Different states for grouping toggles */
  --clr-ungrouped-btn: #949c43;
  --clr-grouped-btn: #5f993f;

  /* Default sidebar width & font family (changeable in settings) */
  --sb-w: 16rem;
  --font-family: 'Roboto', sans-serif;
}

body {
  margin: 0;
  background-color: var(--clr-bg);
  color: var(--clr-txt);
  font-family: var(--font-family);
}

/* Sidebar */
#sb {
  width: var(--sb-w);
  transition: width 0.3s ease, transform 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}
.sb-hidden {
  transform: translateX(-100%);
}

/* Main Drop Area */
#dropArea {
  border: 2px dashed var(--clr-accent);
  border-radius: 1rem;
  padding: 2rem;
  background-color: rgba(66, 133, 244, 0.05);
  transition: all 0.3s ease;
}
#dropArea:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

/* Grouping Buttons */
#btnUngrouped,
#btnGrouped {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
#btnUngrouped {
  background-color: var(--clr-ungrouped-btn);
  color: #2c3e50;
}
#btnGrouped {
  background-color: var(--clr-grouped-btn);
  color: #2c3e50;
}
#btnUngrouped:hover,
#btnGrouped:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#btnUngrouped:active,
#btnGrouped:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Overlay for Settings */
#overlayBg {
  background-color: rgba(0, 0, 0, 0.6);
}
#overlayPanel {
  width: 40rem;
  max-width: 90vw;
}
.overlay-col {
  flex: 0 0 50%;
}
.overlay-active {
  opacity: 1;
  pointer-events: auto;
}
.overlay-inactive {
  opacity: 0;
  pointer-events: none;
}

/* Floating icon buttons */
#btnToggleSb,
#btnSettings,
#btnSave {
  color: var(--clr-icon);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.75rem;
}
#btnToggleSb:hover,
#btnSettings:hover,
#btnSave:hover {
  color: var(--clr-accent);
}

/* Status Message */
#statusMessage {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: 50;
  transition: opacity 0.3s ease;
}
.status-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Remove markers */
li::marker {
  display: none;
  content: '';
}

/* Increase favicon size */
.favicon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
} 