* {
  font-family: "JetBrainsMono Nerd Font", "Noto Sans", monospace;
  font-size: 13px;
  border: none;
  border-radius: 0;
  min-height: 0;
}

window#waybar {
  background: rgba(255, 255, 255, 0);
  color: #f0f4f8;
  border-radius: 10px;
}

/* ── Workspaces ─────────────────────────────────────── */
#workspaces {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 2px 2px;
}

#workspaces button {
  padding: 2px 8px;
  color: #ffffff;
  background: transparent;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
}

#workspaces button:hover {
  background: rgba(168, 206, 240, 0.18);
  color: #f0f4f8;
}

#workspaces button.active {
  background: rgb(167, 124, 215);
  color: #000000;
  box-shadow: 0 0 6px rgba(62, 15, 65, 0.4);
}

#workspaces button.urgent {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.18);
}

#workspaces button.empty {
  color: #5b7a99;
}

/* ── Window title ───────────────────────────────────── */
#window {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 0 10px;
  font-style: italic;
  border-radius: 8px;
}

/* ── Clock ──────────────────────────────────────────── */
#clock {
  color: #ffffff;
  padding: 1px 14px;
  font-weight: bold;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

#custom-wallpaper-mode{
  color: #ffffff;
  padding: 1px 14px;
  font-weight: bold;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

/* ── Right modules shared style ─────────────────────── */
#cpu,
#memory,
#network,
#pulseaudio {
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* ── CPU ────────────────────────────────────────────── */
#cpu { color: #9ed649; }           /* bright grass green */
#cpu.warning  { color: #e5b25b; } /* warm amber */
#cpu.critical { color: #e04534; } /* red */

/* ── Memory ─────────────────────────────────────────── */
#memory { color: #7db9ec; }        /* sky mid-blue */


/* ── Tray ───────────────────────────────────────────── */
#tray {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

#tray > .passive        { -gtk-icon-effect: dim; }
#tray > .needs-attention {
  -gtk-icon-effect: highlight;
  background-color: rgba(192, 57, 43, 0.2);
}

/* ── Custom 2D Workspaces ───────────────────────────── */
#custom-2d-workspaces {
  font-size: 13px;
  font-weight: bold;
  padding: 0 12px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

/* Base row — sky blue */
#custom-2d-workspaces.base {
  color: #a8cef0;
  background: transparent;
}

/* Sub-workspace — grass green tint */
#custom-2d-workspaces.sub {
  color: #7dbe1e;
  background: rgba(255, 255, 255, 0.5);
}

#custom-theme {
    color: #ffffff;
    padding: 1px 14px;
    font-weight: bold;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
}

#custom-theme.day {
    color: #f9e2af;
}

#custom-theme.night {
    color: #89b4fa;
}

#custom-theme.auto {
    color: #a6e3a1;
}