* {
    font-family: "JetBrainsMono Nerd Font";
    font-size: 13px;
    min-height: 0;
    transition: all 0.3s ease;
}

window#waybar {
    background: transparent;
    color: #ebdbb2;
}

tooltip {
    background: rgba(40, 40, 40, 0.95);
    border: 2px solid rgba(80, 73, 69, 0.9);
    border-radius: 8px;
}

tooltip label {
    color: #ebdbb2;
}

#workspaces {
    background: rgba(60, 56, 54, 0.8);
    border-radius: 8px;
    margin: 4px;
    padding: 2px 8px;
}

#workspaces button {
    padding: 0 4px;
    background: transparent;
    color: #928374;
    border: none;
    border-radius: 0;
    margin: 0 2px;
    transition: all 0.3s ease;
    font-size: 18px;
}

#workspaces button.active {
    color: #ebdbb2;
    font-weight: bold;
    padding: 0 8px;
}

#workspaces button:hover {
    color: #ebdbb2;
    text-shadow: 0 0 2px rgba(235, 219, 178, 0.377);
    background: transparent;
}

#window {
    background: rgba(60, 56, 54, 0.8);
    border-radius: 8px;
    margin: 4px;
    padding: 0 8px;
}

#custom-controls {
    background: rgba(104, 157, 106, 0.8);
    color: #282828;
    border-radius: 8px;
    margin: 4px;
    padding: 0 12px;
    font-size: 15px;
}

#custom-controls:hover {
    background: rgba(142, 192, 124, 0.8);
}

#custom-power {
    background: rgba(204, 36, 29, 0.8);
    color: #282828;
    border-radius: 8px;
    margin: 4px;
    padding: 0 8px;
    font-size: 15px;
}

#custom-power:hover {
    background: rgba(251, 73, 52, 0.8);
}

#clock,
#battery,
#network {
    background: rgba(60, 56, 54, 0.8);
    padding: 0 12px;
    margin: 4px 2px;
    border-radius: 8px;
    min-width: 16px;
}

#clock {
    background-color: rgba(146, 131, 116, 0.8);
    color: #282828;
}

#battery {
    background-color: rgba(152, 151, 26, 0.8);
    color: #282828;
}

#battery.charging {
    background-color: rgba(184, 187, 38, 0.8);
}

#battery.critical:not(.charging) {
    background-color: rgba(204, 36, 29, 0.8);
    animation: blink 0.5s linear infinite alternate;
}

@keyframes blink {
    to {
        background-color: rgba(251, 73, 52, 0.8);
    }
}

#network {
    background-color: rgba(69, 133, 136, 0.8);
    color: #282828;
}

#network.disconnected {
    background-color: rgba(204, 36, 29, 0.8);
}
