* {
    font-family: 'JetBrainsMono Nerd Font', 'Material Icons', 'unifont';
    font-size: 10pt;
}

window#waybar {
    background-color: #24273A;
    color: #CAD3F5;
    padding: 0 500px;
}

#workspaces button {
    margin: 4px 0;
    padding: 0 2px;
    background: transparent;
    color: #CAD3F5;
    box-shadow: inset 0 -2px transparent;
    border: none;
    border-radius: 0;
    transition: none;
}

#workspaces button:hover {
    padding: 0 2px;
    background: transparent;
    box-shadow: inherit;
    text-shadow: inherit;
}

#workspaces button.focused {
    background-color: #8aadf4;
    color: #494D64;
}

#workspaces button.urgent {
  box-shadow: inset 0 -2px #e06c75;
}

#custom-left-semi,
#custom-right-semi {
  color: #1e2030;
  margin: 0;
  padding: 0;
}

#custom-right-semi {
  margin-right: 4px;
}

#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#tray,
#mode
{
    padding: 0 10px;
}

.modules-right {
    padding: 4px 0;
}

#window,
#workspaces {
    margin: 0 4px;
}

/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
    margin-left: 0;
}

/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
    margin-right: 0;
}

#clock {
    background-color: #1e2030;
    color: #abb2bf;
    padding: 0 10px;
}

#battery {
    background-color: #1e2030;
}

#battery.charging, #battery.plugged {
    color: #8AADF4;
    background-color: #1e2030;
}

@keyframes blink {
    to {
        background-color: #ffffff;
        color: #000000;
    }
}

#battery.critical:not(.charging) {
    background-color: #f53c3c;
    color: #ffffff;
    transition: none;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

label:focus {
    background-color: #000000;
}

#cpu {
    background-color: #1e2030;
    color: #abb2bf;
}

#memory {
    background-color: #1e2030;
}

#disk {
    background-color: #1e2030;
}

#backlight {
    background-color: transparent;
    color: #abb2bf;
}

#network {
    background-color: #2980b9;
}

#network.disconnected {
    background-color: #f53c3c;
}

#pulseaudio {
    background-color: transparent;
    color: #979eab;
}

#pulseaudio.muted {
    background-color: #2b2f37;
    color: #979eab;
}

#custom-media {
    background-color: #66cc99;
    color: #2a5c45;
    min-width: 100px;
}

#custom-media.custom-spotify {
    background-color: #66cc99;
}

#custom-media.custom-vlc {
    background-color: #ffa000;
}

#temperature {
    background-color: transparent;
    color: #abb2bf;
}

#temperature.critical {
    color: #e06c75;
}

#tray {
}

#tray > .passive {
    -gtk-icon-effect: dim;
}

#tray > .needs-attention {
    -gtk-icon-effect: highlight;
    background-color: #eb4d4b;
}

#idle_inhibitor {
    background-color: #2d3436;
}

#idle_inhibitor.activated {
    background-color: #ecf0f1;
    color: #2d3436;
}

#mpd {
    background-color: #66cc99;
    color: #2a5c45;
}

#mpd.disconnected {
    background-color: #f53c3c;
}

#mpd.stopped {
    background-color: #90b1b1;
}

#mpd.paused {
    background-color: #51a37a;
}

#language {
    background: #00b093;
    color: #740864;
    padding: 0 5px;
    margin: 0 5px;
    min-width: 16px;
}

#keyboard-state {
    background: #97e1ad;
    color: #000000;
    padding: 0 0px;
    margin: 0 5px;
    min-width: 16px;
}

#keyboard-state > label {
    padding: 0 5px;
}

#keyboard-state > label.locked {
    background: rgba(0, 0, 0, 0.2);
}
