.Advanced_Setting_Toggle_Button {
    width: 5vh;
    height: 5vh;
    aspect-ratio: 1 / 1;
    background-size: cover;
    margin: 0.1vw;
    cursor: pointer;
    transition: width 0.3s, transform 0.3s; /* Added width to transitions */
    border: none;
    outline: none;
    box-shadow: 0 8px 10px rgba(0, 0, 0,  0.2);
    background-color: #dbdbdb;
    border-radius: 1vh;
    text-align: center;
    padding: 0;
}

.Advanced_Setting_Toggle_Button > div {
    font-size: .8vh;
    position: relative;
    transition: transform 0.3s;
}

.Advanced_Setting_Toggle_Button_active {
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #0678a8;
}

.Advanced_Setting_Toggle_Button:hover {
    width: 6vh; /* Increase width */
    transform: scaleY(1.2); /* Scales up the button height slightly without affecting elements around */
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(6, 120, 168, 0.55);
}

.Advanced_Setting_Toggle_Button:hover > div {
    transform: scale(1, 0.83); /* Apply inverse scale in both width and height for the text */
}

.Advanced_Setting_Button_Row {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}