body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    width: 90%;
    height: 80%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#left-panel, #right-panel {
    width: 20%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    overflow-y: scroll;
}

#class-list {
    overflow: scroll;
}

#center-panel {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    color: white;
    cursor: pointer;
}

button {
    transition: filter 0.3s ease; /* Smooth transition for the filter effect */
    border-radius: 5px;
}
button:hover {
    filter: brightness(0.8); /* Reduce brightness to 80% to make the button darker */
}

#browse-button {
    background-color: #007BFF;
}

#filter-button {
    background-color: #28a745;
}

#cache-button {
    background-color: #ffc107;
}

#apply-button {
    background-color: #dc3545;
}

#previous-button, #next-button {
    background-color: #007BFF;
}

#previous-button, #next-button, #delete-button {
    margin: 0px 100px;
}

#delete-button {
    background-color: #dc3545;
}

#image-manager {
    max-width: 100%;
    max-height: 80%;
    height: auto;
    display: flex;
    position: relative;
    justify-content: center;
}


#center-image {
    max-height: 100%;
    max-width: 100%;
    cursor: pointer;
    border-radius: 5px;
}




#right-panel-fullscreen {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #8888;
    padding: 10px;
    border-radius: 10px;
    max-height: calc(100% - 40px);
    overflow-y: scroll;
}


#image-legend {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
    justify-content: space-between;
    display: flex;
    width: 100%;
}

#image-legend > * {
    margin-left: 100px;
    margin-right: 100px;
}

#image-index {
    width: 50px;
    appearance:unset;
    -moz-appearance: textfield;
    
}

.button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.square-button {
    width: 30px;
    height: 30px;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    background-color: #6c757d;
}

.square-button.activated {
    background-color: #28a745;
}

#add-class-button.activated {
    background-color: #6c757d;
}
#add-class-button {
    background-color: #28a745;
}

#class-suppress-button.activated {
    background-color: #dc3545;
}
#class-suppress-input {
    color: #000;
    background-color: #fff;
    border: 1px solid #6c757d;
}

.text-input {
    flex: 1;
    padding: 5px;
}

.class {
    display: flex;
    align-items: center;
    margin: 5px 0;
}
