.demo-controls-rail {
    position: relative;
    /* border: 1px solid blue; */
    /* width: 100px; */
    height: 800px;
    flex-shrink: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    /* background-color: rgba(255, 255, 255, 0.05); */
    border-radius: 12px;
    overflow-y: visible;
    /* justify-content: space-between; */
}

/* EXPERIENCE BUTTONS */

.experience-button {
    width: 60px;
    height: 60px;
    background-color: #171717;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.081);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.experience-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.experience-button.active {
    background-color: rgb(255, 255, 255);
    color: black;
}

/* DEMO BUTTONS */

.demo-button {
    width: 50px;
    height: 50px;
    background-color: #2a2a2a;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 20px;
    transition: all 0.2s ease;
}

.demo-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.05);
}

.demo-button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.demo-button.disabled {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
}

/* ENVIRONMENT CONTROL BUTTONS */

.environment-control-button {
    width: 60px;
    height: 60px;
    background-color: #171717;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.081);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.environment-control-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.environment-control-button.active,
.environment-control-group.active .environment-control-button {
    background-color: rgb(255, 255, 255);
    color: black;
}

/* ALERT CONTROL BUTTONS */

.alert-control-button {
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.081);
    color: rgba(255, 255, 255, 0.485);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.alert-control-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* COMPARE SELECT BUTTONS */

.compare-select-button {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.compare-select-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.compare-select-button.active {
    background-color: rgb(255, 255, 255);
    color: black;
}

.compare-select-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #171717;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.081);
    padding: 5px;
}


/* CONTROLS GROUPS */

.experience-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}   

.demo-button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.environment-control-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: min-content;
}

.alert-control-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 0px;
    overflow: hidden;
    transition: height 0.3s ease;
}

.divider {
    width: 60%;
    height: 1px;
    margin: 1rem;
    background-color: rgba(255, 255, 255, 0.081);
    display: none;
}


/* ACTIVE STATES */

.environment-control-group.active .divider {
    display: block;
}

.environment-control-group.active .alert-control-group {
    height: fit-content;
}

