@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;

* {
    font-family: "JetBrainsMono Nerd Font";
    font-size: 16px;
    min-height: 0;
    font-weight: bold;
}

window#waybar {
    background: transparent;
    background-color: @crust;
    color: @overlay0;
    transition-property: background-color;
    transition-duration: 0.1s;
    margin: 0;
    border-radius: 12px
}

button {
    box-shadow: inset 0 -3px transparent;
    border: none;
    border-radius: 0;
}

#workspaces {
    background-color: @base;
    margin: 4 0 4 4;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 12px;
    border: 0px solid @blue
}
#workspaces button {
    padding: 0 4px;
    margin: 0 2px
}

#workspaces button.focused {
    color: @rosewater;
}

#workspaces button.active {
    color: @blue;
    border-bottom: 2px solid @blue;
    margin-bottom: 2px;
}

#workspaces button.urgent {
    background-color: #eb4d4b;
    border-radius: 8px;
}

#clock {
    color: @text;
    margin: 4 0 4 0;
    background: @base;
    padding: 5px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 12px;
}

#clock.date {
    color: @mauve;
}

#pulseaudio {
    color: @blue;
    background-color: @base;
    padding: 5px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 12px;
    margin: 4 0 4 0;
}


/* 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;
}
 */

#mpris {
    background-color: @base;
    color: @teal;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 7px;
    padding-left: 7px;
    border-radius: 12px;
    margin: 4 0 4 0;
}

#custom-exit {
    background-color: @base;
    min-width: 10px;
    color: @red;
    padding-top: 2px;
    padding-right: 11px;
    padding-left: 8px;
    margin: 4 4 4 0;
    border-radius: 12px;
}

#power-profiles-daemon {
    padding-right: 13px;
    padding-left: 7px;
    border-radius: 12px;
    background-color: @base;
    margin: 4 0 4 0;
}

#power-profiles-daemon.performance {
    color: @red
}

#power-profiles-daemon.balanced {
    color: @blue
}

#power-profiles-daemon.power-saver {
    color: @green
}

#language {
    color: @yellow;
    background-color: @base;
    padding-left: 10px;
    padding-right: 8px;
    border-radius: 12px;
    margin: 4 0 4 0;
}

#tray {
    background-color: @base;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 12px;
    margin: 4 0 4 0;
}