/* General Reset and Base Styles */
* {
    border: none;
    border-radius: 0;
    font-family: Iosevka, FontAwesome, Noto Sans CJK;
    font-size: 14px;
    min-height: 0;
}

/* Window Styles */
window#waybar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #282828;
    border-radius: 10px;
    color: #f4d9e1;
}

tooltip {
    background: #010409;
    border-radius: 10px;
}

/* Workspace Styles */

#workspaces button {
    color: #fff;
    border-radius: 10px;
    padding: 0px;
    margin: 4px 4px;
}

#workspaces button.urgent {
    background: #010409;
    color: #FF7F7F;
}

#workspaces button:hover,
#workspaces button.focused {
    background: #f4d9e1;
    color: #282828;
}

/* Common Module Styles */
#cpu,
#memory,
#window,
#clock,
#battery,
#pulseaudio,
#network,
#bluetooth,
#temperature,
#workspaces,
#tray,
#custom-vpn,
#custom-notification,
#backlight {
    padding: 0px 5;
}

#cpu {
    padding-right: 0;
}

/* Individual Module Styles */
#window {
    margin: 0 60px;
}

#cpu,
#memory,
#clock,
#network,
#bluetooth,
#pulseaudio,
#pulseaudio.microphone,
#battery {
    color: #fff;
}

#temperature.critical {
    color: #eba0ac;
}

/* Custom Module Styles */
#custom-playerctl,
#custom-playerlabel {
    background: #282828;
    border-radius: 16px;
    font-style: normal;
    font-weight: normal;
    margin: 5px 0;
}

#custom-playerctl {
    font-size: 16px;
    padding: 0 17px 0 15px;
}

#custom-playerlabel {
    margin-left: 10px;
    padding: 0 15px 0 10px;
}

#custom-notification {
    border-radius: 0;
    font-weight: bold;
}

#custom-randwall {
    margin-right: 10px;
}

#custom-vpn.connected {
    color: #a6e3a1;
}

#custom-vpn.disconnected {
    color: #f4d9e1;
}

#custom-wf-recorder {
    padding: 0 10px;
    margin: 0 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#custom-wf-recorder.idle {
    background-color: #2c2c2c;
    color: #ccc;
}

#custom-wf-recorder.recording {
    background-color: #cc3436;
    color: white;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

#custom-microphone {
    padding: 0 10px;
    margin: 0 5px;
}

#custom-microphone.headset {
    color: #a6e3a1;
}

#custom-microphone.internal {
    color: #f9e2af;
}

#custom-microphone.unknown {
    color: #f38ba8;
}
