/* ANSI/BBS monospace */
* {
  font-family: "Terminus", "IBM Plex Mono", "JetBrainsMono Nerd Font",
    monospace;
  font-size: 12px;
  min-height: 0;
}

window#waybar {
  background: #0f0f0f;
  color: #e0e0e0;
  border: 1px solid #333333;
  border-radius: 0;
  margin: 4px 8px;
  padding: 2px 8px;
}

/* Retroism-inspired module chrome */
#workspaces button,
#custom-vpn,
#pulseaudio,
#network,
#battery,
#backlight,
#cpu,
#memory,
#clock,
#tray {
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #333333;
  border-radius: 0;
  padding: 1px 6px;
  margin: 0 3px;
}

/* Workspaces */
#workspaces button:hover {
  background: #232323;
}
#workspaces button.focused,
#workspaces button.active {
  background: #7a4210;
  color: #ffffff;
  border-color: #e67e22;
}
#workspaces button.urgent {
  background: #6b1e13;
  color: #ffffff;
  border-color: #e74c3c;
}

/* Specials keep a distinct dashed edge */
#workspaces button.special {
  border-style: dotted;
}

/* VPN status colors */
#custom-vpn.connected {
  color: #e67e22;
  border-color: #e67e22;
}
#custom-vpn.connected-no-tunnel {
  color: #e0e0e0;
}
#custom-vpn.disconnected {
  color: #888888;
}

/* Battery states */
#battery.warning {
  color: #f1c40f;
  border-color: #f1c40f;
}
#battery.critical {
  color: #e74c3c;
  border-color: #e74c3c;
}
#battery.charging {
  color: #2ecc71;
}

/* Retro tooltip */
tooltip {
  background: #0f0f0f;
  color: #e0e0e0;
  border: 1px solid #333333;
}
