@define-color background #3f3f52;
@define-color surface    #4a495c;
@define-color primary    #c7cad1;
@define-color accent     #a06c86;
@define-color highlight  #cbbfa1;
@define-color border     #5a596c;

* {
    border: none;
    border-radius: 0;
    font-family: "monospace";
    font-size: 11px;
    font-weight: bolder;
    min-height: 13px;
    color: @primary;
}

window#waybar,
window#waybar.solo {
    background: @background;
}

/* Tooltips */
tooltip {
    background: @surface;
    border: 1px solid @border;
    border-radius: 6px;
}
tooltip label {
    color: @primary;
}

/* Niri Workspaces */
#niri-workspaces button {
    padding: 0 20px;
    color: @primary;
}
#niri-workspaces button.active {
    background: rgba(160,108,134,0.18);
    color: @accent;
}
#niri-workspaces button:hover {
    background: @accent;
    color: @background;
}

/* Niri Window Title */
#niri-window {
    padding-left: 25px;
    color: @highlight;
}

/* Shared module spacing */
#tray,
#privacy,
#pulseaudio,
#temperature,
#cpu,
#memory,
#battery,
#disk,
#clock,
#network,
#bluetooth {
    padding: 0 10px;
}

/* Accent modules */
#privacy,
#pulseaudio.mic {
    background: @accent;
    color: @background;
}
#pulseaudio,
#network,
#bluetooth,
#clock {
    color: @highlight;
}

/* System stats */
#battery,
#temperature,
#cpu,
#memory,
#disk {
    color: @primary;
}

/* Warnings */
#battery.warning {
    background: @highlight;
    color: @background;
}

#temperature.critical,
#battery.critical,
#cpu.critical,
#memory.critical,
#disk.critical {
    background: @accent;
    color: @background;
}