/* Define variables for colors */
@define-color black rgba(28,31,38,0.8);
@define-color gray rgba(255,255,255,0.05);
@define-color white rgba(255,255,255,0.7);
@define-color red   #bf616a;
@define-color blue  #8fa1be;
@define-color green #a3be8c;
@define-color orange #d08770;

/* Universal */
* {
    border: none;
    border-radius: 0;
    font-family: "Nunito SemiBold", "Font Awesome 6 Free Solid", "Font Awesome 6 Free Brand", "Font Awesome 6 Free", "Iosevka Custom" ;
    /*font-family: "Iosevka Custom", "Font Awesome 6 Free Solid", "Font Awesome 6 Free Brand", "Font Awesome 6 Free";*/
    font-size: 16px;
    transition: none;
    box-shadow: none;
}

/* Style of main bar */
/* .main { */
/*     background: transparent; */
/*     color: @white; */
/*     border-radius: 7px; */
/* } */

/*Main background of bar*/
.background {
    border-radius: 10px;
    background: @black;
    color: @white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modules-right, .modules-left, .modules-center{
    margin: 5px;
    border-radius: 5px;
}

.module {
    padding: 0px 5px;
    background: @gray;
    /* text-shadow: 0 0 3px @black; */
    border-radius: 5px;
    margin: 0px;
    border: solid 1px @gray;
}

.red { background: @red; color: @black; }
.orange { background: @orange; color: @black; }
.green {
    background: @green;
    /* background: rgba(163,190,140, 0.3); */
    /* border: 1px solid @gray; */
    color: @black;
}
.gray { color: rgba(255,255,255,0.3); }

#privacy-item {
    padding: 0px 5px;
    background: @green;
    color: @black;
    border-radius: 5px;
}

#workspaces {
    border-radius: 5px;
    background: @gray;
    padding: 0px;
}

/* Style of workspace buttons */
#workspaces button {
    border-radius: 5px;
    background: transparent;
    color: @white;
    padding: 0px 5px;
    text-shadow: none;
    min-width: 20px;
    border: 1px solid transparent;
}
#workspaces button.visible, #workspaces button.urgent {
    background: transparent;
}
#workspaces button.focused, #workspaces button.urgent.focused, #workspaces button.active{
    background: @white;
    color: @black;
    border-color: rgba(0,0,0,0.3);
}

/* Style of "mode", AKA the menu from sway that shows up on the bar */
#mode {
    background: @red;
    color: @black;
    padding: 0px 10px;
}

#gamemode.running {
    background: @green;
    color: @black;
}

/* Customize tooltips and tray menus */
tooltip, menu {
    padding: 0px;
    margin: 0px;
    border-radius: 7px;
    /*background: @black;*/
    color: @white;
    box-shadow: 2px 2px 4px 1px rgba(0,0,0,0.3);
    min-width: 1080px;
    border: 1px solid @gray;
}
tooltip label {
    font-family: "Iosevka Custom";
    font-size: 16px;
    margin: 0px;
    padding: 0px;
}
menuitem {
    margin: 5px;
    padding: 0px;
}
menuitem:hover {
    color: @white;
    background-color: @gray;
    /*margin: 2px 2px;*/
    border-radius: 5px;
}

#tray {
    margin-right: 2px;
}
