::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-thumb:active {
    background: #555;
}

label {
    font-size: 1.2rem;
    font-weight: bold;
}


.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Adjust the number of columns as needed */
    gap: 10px;
    /* Adjust the gap size as needed */
}

.button-grid .btn {
    font-size: 20px;
    /* Adjust the font size as needed */
    padding: 10px;
    /* Adjust the padding as needed */
    text-align: center;
    vertical-align: middle;
    /* Add any other styling you wish to apply to the buttons */
}

.sequence-box {
    max-height: 200px;
    /* Set a maximum height for the box */
    overflow-y: auto;
    /* Add vertical scrollbar when content overflows */
}

.sequence-list li {
    white-space: normal;
    /* Prevent text from wrapping to the next line */
    overflow: visible;
    /* Hide the overflow text */
    text-overflow: ellipsis;
    /* Add an ellipsis at the end of the text if it overflows */
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.sequence-list {
    list-style-type: none;
    padding: 0;
}

.sequence-list li:last-child {
    border-bottom: none;
}

.sequence-list li {
    padding: 5px;
    cursor: pointer;
}

.sequence-list li:hover {
    background-color: #e9ecef;
}

.sequence-list li.selected {
    background-color: #007bff;
    color: white;
    font-weight: 500;
}

.sequences {
    margin-top: 20px;
}

.right-btn {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    width: 100%;
    /* This will make the buttons full width of their container */
}

.right-btn2 {
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
}

.group-controls form {
    margin: 10px 0;
    /* Adjust the space between the buttons as needed */
}

.group-color {
    padding: 0;
    margin-right: 10px;
    border: none;
    border-radius: 10px;
    width: 20px;
    height: 20px;
}

.group-color::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
    padding: 0;
}

.group-color::-webkit-color-swatch-wrapper {
    border: none;
    border-radius: 10px;
    padding: 0;
}

.add-group-form input {
    width: 85%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    margin-bottom: 20px;
}

.add-group-form select {
    width: 12%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 5px;
    margin: 0;
    margin-left: 5px;
    outline: none;
}

.add-group-form select:hover {
    cursor: pointer;
}

.add-group-form option {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.del-group-form {
    display: contents;
}

/**
css pas utilise actuellement
*/
.red {
    background-color: red;
}

/**
css pas utilise actuellement
*/
.purple {
    background-color: purple;
}

/**
css pas utilise actuellement
*/
.pink {
    background-color: pink;
}

/* input[type="submit"]:hover {
    background-color: #001bb3;
}

input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 0.625em 1.25em;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
    font-size: 1.2em;
} */

/**
css pas utilise actuellement
*/
.upload-btn {
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: #ddd;
    border: none;
    cursor: pointer;
}

.group-list {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: 70%;
    /* Take up the full width of the left-section */
    max-height: 180px;
    overflow-y: auto;
}

/**
css pas utilise actuellement
*/
.group-list label {
    display: block;
    margin-bottom: 10px;
}

.group-list .group {
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 5px;
}

.group-list .group:hover {
    background-color: #e9ecef;
}

.group-list .group.selected {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.group-list .group input {
    border: none;
    display: inline-block;
}

.left-section {
    flex-grow: 1;
    /* Allow the left section to grow as needed */
    display: flex;
    /* Use flex to lay out the group list next to the buttons */
    align-items: flex-start;
    /* Align the children to the top */
    gap: 20px;
    /* Adjust the gap size as needed */
}

.right-section {
    flex: 1;
    padding-left: 20px;
}

.group-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align buttons to the start */
    justify-content: flex-start;
    /* Space between buttons */
}

.invisible {
    visibility: hidden;
}