* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: FontAwesome, Noto Sans;
    font-weight: 600;
    font-size: 14px;
}

window#waybar {
    background-color: #181825;
    border-bottom: none;
    color: #cdd6f4;
    transition-property: background-color;
    transition-duration: .5s;
}

window#waybar.hidden {
    opacity: 0.2;
}

button {
    /* Use box-shadow instead of border so the text isn't offset */
    box-shadow: inset 0 -2px transparent;
    /* Avoid rounded borders under each button name */
    border: none;
    border-radius: 0;
}

/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
    background: inherit;
    box-shadow: inset 0 -2px #ffffff;
}


#workspaces button {
    padding: 0 8px;
    background-color: transparent;
    box-shadow: inset 0 -2px #cdd6f4;
}

#workspaces button.empty {
    box-shadow: none;
}

#workspaces button.visible {
    background-color: #11111b;
}

#workspaces button:hover {
    /* background: rgba(0, 0, 0, 0.2); */
    background: #313244;
}

#workspaces button.urgent {
    background-color: #acb0be;
    color: #4c4f69;
}

#clock,
#pulseaudio,
#tray
#idle_inhibitor {
    padding: 0 5px;
    color: #ffffff;
    margin: 0 4px;
}

#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: inherit;
    color: #a6e3a1;
    box-shadow: inset 0 -2px #a6e3a1;
}

#pulseaudio {
    background-color: inherit;
    color: #f38ba8;
    box-shadow: inset 0 -2px #f38ba8;
}

#pulseaudio.muted {
    background-color: #90b1b1;
    color: #2a5c45;
}

#pulseaudio:hover {
    /* background-color: #a37800; */
    color: #f5c2e7;
    box-shadow: inset 0 -2px #f5c2e7;
}

#tray {
    /* background-color: #2980b9; */
    box-shadow: inset 0 -2px #f9e2af;
}

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

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

#idle_inhibitor {
    background-color: inherit;
    color: #6c7086;
    box-shadow: inset 0 -2px #6c7086;
}

#idle_inhibitor.activated {
    background-color: inherit;
    color: #cdd6f4;
    box-shadow: inset 0 -2px #cdd6f4;
}
