@define-color Buttons #262522;
@define-color Buttonshover #4d4a44;
@define-color Text #A69F92;


/* --- Global Styles --- */
* {
  font-family: "JetBrainsMono Nerd Font Propo";
  font-size: 14px;
  min-height: 25px;
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 0px;
}

/* --- Waybar Container --- */
#waybar {
  background: transparent;
  color: #c6d0f5;
  margin: 0px;
  font-weight: 500;
}

/* --- Left Modules (Individual, Fully Rounded Blocks - With Horizontal Spacing & Simple Hover) --- */
#workspaces,
#cpu,
#memory{
  background-color: @Buttons;
  padding: 0.3rem 0.7rem;
  margin: 5px 0px; /* 5px top/bottom margin, 0px left/right (base for individual control) */
  border-radius: 10px; /* These modules are always rounded */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-width: 0;
  border: none;
  /* Transition for background-color and color only */
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#memory {
  margin: 5px 10px;
}

#workspaces {
  padding: 0px;
  border-radius: 10px;
}


/* Simple Hover effects for individual left modules - BRIGHTER COLOR */
#cpu:hover, #memory:hover {
  background-color: @Buttonshover; /* Brighter highlight */
}

#workspaces button {
  color: @Text;
  border-radius: 10px; /* Workspaces buttons are always rounded */
  padding: 0.3rem 0.6rem;
  background: transparent;
  transition: all 0.2s ease-in-out;
  border: none;
  outline: none;
}

#workspaces button.active {
  color: @Text;
  background-color: rgba(153, 209, 219, 0.1);
}

#workspaces button:hover {
  background: @Buttonshover; /* Reference bright hover color */
  color: @Text;
}

/* --- Center Module (Individual, Fully Rounded Block - With Simple Hover) --- */
#clock {
  background-color: @Buttons;
  padding: 0.3rem 0.7rem;
  margin: 5px 0px;
  margin-left: 7px;
  margin-right: 10px;
  border-radius: 10px; /* This module is always rounded */
  min-width: 0;
  border: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}


/* Simple Hover effect for clock module - BRIGHTER COLOR */
#clock:hover {
  background-color: @Buttonshover; /* Brighter highlight */
}

/* --- Right Modules (Single, Seamless Bar ) --- */
#custom-power:hover,
#pulseaudio:hover,
#battery:hover,
#tray:hover,
#custom-micmute:hover {
  background-color: @Buttonshover;
}

#cpu, #memory {
  color: @Text;
}

#clock {
  color: @Text;
  font-weight: 500;
}


#tray, #battery, #pulseaudio, #custom-power, #custom-micmute {
  background-color: @Buttons;
  color: @Text;
  border-radius: 10px;
  padding: 0.7rem;
  margin: 0.35rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#custom-power {
  margin-right: 11px;
}

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


/* --- Tooltip Styles --- */
tooltip {
  background-color: #1a1b26;
  color: #dddddd;
  padding: 5px 12px;
  margin: 5px 0px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 12px;
}


