.dropdown-segment-container {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* gap: 1.25em;  */
    justify-content: space-between;
    padding: 1.25em;
    width: 100%;
    margin: auto;
    /* grid-template-columns: repeat(3, 1fr); Default: 3 items per row */
}

.checkbox-row{
    display: flex;
}

.checkbox-dropdown-header {
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    white-space: nowrap;
    margin-bottom: 0;
    padding: .75em 1em;
    font-size: 1em;
}

.checkbox-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    overflow-y: auto;
    z-index: 1;
}

.checkbox-dropdown.open .checkbox-dropdown-menu {
    display: block;    
}

.checkbox-dropdown.open .checkbox-dropdown-header {
    background-color: #f0f0f0; /* Example styling */
    font-weight: bold;
    color: #242525;
    border-radius: 5px 5px 0 0;
}

.checkbox-dropdown-item {
    padding: 0.625em;
    display: flex;
    align-items: center;
    cursor: default; 
}

.checkbox-dropdown-item label{
    width: 100%;
    margin-bottom:0;
    cursor: pointer; 
}

.checkbox-dropdown-item p {
    margin: 0;
}

.checkbox-dropdown-item input {
    margin-right: 0.625em;
}

.arrow {
    height: 1em;
    width: 1em;
    transition: transform 0.3s;
}

.checkbox-dropdown.open .arrow {
    transform: rotate(180deg);
}

.checkbox-dropdown {
    margin: 0 .5em 0 .5em;    
    margin-bottom: 0.625em;
    background-color: white;
    cursor: pointer;
    width: 100%;
    position: relative;
}

/* Media query for tablets */
@media (width <= 1000px) {

}

@media (width <= 600px) {
    .checkbox-row {
        flex-direction: column;
    }
}

/* Media query for mobile devices */
@media (width <=  480px) {
  
}