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

window#waybar {
  background: rgba(30, 30, 46, 0.45);
  color: #cdd6f4;
}

/* Workspaces */
#workspaces {
  background: rgba(49, 50, 68, 0.7);
  margin: 5px 5px 5px 10px;
  /* padding: 2px 2px; */
  border-radius: 15px;
  /* border: 2px solid rgba(137, 180, 250, 0.5); */
}

#workspaces button {
  padding: 6px 10px;
  /* margin: 1px 1px; */
  color: #cdd6f4;
  background: transparent;
  transition: all 0.3s ease;
}

#workspaces button:nth-child(1) {
  border-radius: 15px 0 0 15px;
}

#workspaces button:nth-last-child(1) {
  border-radius: 0 15px 15px 0;
}

#workspaces button.active {
  background: rgba(137, 180, 250, 0.3);
  color: #89b4fa;
  box-shadow: 0 0 15px rgba(137, 180, 250, 0.4);
}

#workspaces button:hover {
  background: rgba(137, 180, 250, 0.2);
}

/* Window title */
#window {
  background: rgba(49, 50, 68, 0.7);
  margin: 5px 10px;
  padding: 5px 15px;
  border-radius: 15px;
  border: 2px solid rgba(137, 180, 250, 0.5);
  color: #cdd6f4;
}

/* Clock */
#clock {
  background: rgba(49, 50, 68, 0.7);
  padding: 5px 20px;
  margin: 5px 10px;
  border-radius: 15px;
  border: 2px solid rgba(137, 180, 250, 0.5);
  color: #89b4fa;
  font-weight: bold;
}

/* Right modules */
#pulseaudio,
#network,
#battery,
#tray {
  background: rgba(49, 50, 68, 0.7);
  padding: 5px 15px;
  margin: 5px 5px;
  border-radius: 15px;
  border: 2px solid rgba(137, 180, 250, 0.5);
}

#tray {
  margin-right: 10px;
}

#pulseaudio {
  color: #89dceb;
}

#network {
  color: #a6e3a1;
}

#battery {
  color: #f9e2af;
}

#battery.charging {
  color: #a6e3a1;
}

#battery.warning:not(.charging) {
  color: #fab387;
}

#battery.critical:not(.charging) {
  color: #f38ba8;
  animation: blink 1s linear infinite;
}

@keyframes blink {
  to {
    opacity: 0.5;
  }
}

/* Tooltips */
tooltip {
  background: rgba(30, 30, 46, 0.95);
  border-radius: 10px;
  border: 2px solid rgba(137, 180, 250, 0.5);
  color: #cdd6f4;
}

tooltip label {
  color: #cdd6f4;
}
