/* Container styling */
#behaviour-bar-container {
    width: 300px;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

#bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    border-radius: 15px;
}

#bar.negative {
    background: linear-gradient(90deg, #e53935, #ef9a9a);
}

#progressLabel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
    pointer-events: none;
}

/* Button styling */
button[data-direction="-1"] {
    background-color: #e53935;
}

button[data-direction="1"] {
    background-color: #4caf50;
}

button[data-direction="0"],
button[data-direction="pause"] {
    background-color: #607d8b;
}

/* Button hover states */
button[data-direction="-1"]:hover {
    background-color: #c62828;
}

button[data-direction="1"]:hover {
    background-color: #388e3c;
}

button[data-direction="0"]:hover,
button[data-direction="pause"]:hover {
    background-color: #455a64;
}

/* Icon styling */
button[data-direction] i {
    color: white;
    margin-right: 0;
}

/* Add missing styles from style.css */
.button-row {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}

.button-row button {
    flex: 0 1 auto;
    min-width: unset;
}