/*body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    height: 100vh;
    padding: 20px;
}*/
.refg-container {
    display: flex;
    width: 100%;
    padding: 20px;
    align-items: flex-start; /* Center content vertically */
}
.refg-filter-menu {
    flex: 1;
    max-width: 300px; /* Set a maximum width for the filter menu */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure it takes full height */
    padding: 20px; /* Add some padding */
}
.refg-display-list {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Increase gap for more space between boxes */
    padding-left: 50px; /* Increase padding to ensure sufficient margin */
    /*padding-top: 20px; /* Add padding to the top */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    max-height: calc(100vh - 40px); /* Ensure the list doesn't exceed the viewport height */
}

.refg-slider-container {
    margin-bottom: 20px;
    width: 100%;
    width: 284px;
}
.refg-slider-title {
    font-weight: bold;
    margin-bottom: 45px; /* Increase margin for more distance */
    text-align: left; /* Align the title to the left */
}
.noUi-target {
    background: #d3d3d3;
    border-radius: 5px;
    height: 10px; /* Ensure the height is set */
}
.noUi-connect {
    background: #129E99;
    border-radius: 5px;
    height: 10px; /* Ensure the height is set */
}
.noUi-horizontal .noUi-handle {
    width: 28px;
    height: 28px;
}
.noUi-handle {
    background: #fff;
    border: 2px solid #129E99;
    border-radius: 50%; /* Make the handles circular */
    height: 24px;
    width: 24px;
    margin-top: -4px; /* Adjust position to align with the track */
    box-shadow: none; /* Remove any shadow */
    display: flex;
    align-items: center;
    justify-content: center;
}
.noUi-handle::before, .noUi-handle::after {
    display: none; /* Remove additional styling elements */
}
.noUi-tooltip {
    background: #129E99;
    color: #fff;
    font-size: 0.8em;
    border-radius: 3px;
    padding: 5px;
    text-align: center;
}

.refg-button-container {
    display: flex;
    gap: 10px; /* Space between the buttons */
}
.refg-dropdown-container {
    width: 290px;
    margin-bottom: 20px;
}

.refg-dropdown-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.refg-dropdown-container select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
}

.refg-dropdown-container select:focus {
    outline: none;
    border-color: #007BFF;
}
.refg-display-box, .refg-display-box-bew  {
    background-color: #129E99;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px;
    width: calc(50% - 20px); /* Five columns layout */
    height: 50px;
    box-sizing: border-box;
    text-align: left; /* Ensure text is left-aligned */
    display: flex;
    justify-content: space-between; /* Space between text and icon */
}

.refg-display-box span {
    color:#fff;
}

.refg-display-box-bew span {
    color:#fff;
}

.refg-icon {
    height: 24px;
    width: 24px;
    cursor: pointer;
    color: #fff; /* Default icon color */
}
.refg-excluded {
    background-color: #fff;
    border: 1px solid #333;
    color: #333;
}

.refg-excluded span {
    color: #333;
}

.refg-excluded .refg-icon {
    color: #333;
}

#refg-selection-name {
    margin-bottom: 20px;
    width: 290px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.refg-groene-knop {
    display: flex;
    padding: 12px 25px;
    font-family: 'Nunito Sans', sans-serif;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #17B1AC;
    background: var(--Primary-color, #129E99);
    box-shadow: 0px 8px 16px 0px rgba(18, 158, 153, 0.16), 0px 4px 6.8px 0px rgba(18, 158, 153, 0.25), 0px 0px 24.3px 0px rgba(18, 158, 153, 0.25);
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
    border-radius: 8px 8px 8px 8px !important;
    width: 290px;
    height: 41px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
  }
  
.refg-groene-knop:hover {
    background-color: #17B1AC;
    /* Iets lichtere kleur voor hover */
    box-shadow: 0px 4px 8px 0px rgba(18, 158, 153, 0.16), 0px 2px 3.4px 0px rgba(18, 158, 153, 0.25), 0px 0px 12.15px 0px rgba(18, 158, 153, 0.25);
    /* Subtielere schaduw */
}
  
.refg-groene-knop:active {
    transform: scale(0.98);
    /* Kleine schaalverkleining voor het click-effect */
    box-shadow: 0px 2px 4px 0px rgba(18, 158, 153, 0.16);
    /* Nog subtielere schaduw */
}

.container-h1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch-container {
    display: flex;
    align-items: center;
    font-size: 0.em; /* Smaller font size for the switch and labels */
    font-weight: bold;
  }
  
.switch {
    --secondary-container: #15AEA4;
    --primary: #ffffff;
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.7em;
    height: 1.8em;
    margin: 0 10px;
}

.switch:hover {
    --secondary-container: #17beb3;
}

.switch input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #15AEA4;
    transition: .2s;
    border-radius: 30px;
}

.slider:hover {
    background-color: #17beb3;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.2em;
    background-color: #ffffff;
    transition: .4s;
}

input:checked + .slider::before {
    background-color: var(--primary);
}

input:checked + .slider {
    background-color: var(--secondary-container);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
    transform: translateX(1.9em);
}

#save-selection-message, #bewerk-selection-message, #remove-selection-message, #empty-selection-message, #long-selection-message, #empty-org-message {
    display: none;
    color: #129E99;
    margin-top: 10px;
    text-align: center;
    opacity: 1; 
    transition: opacity 1s;
}

.refg-instructions-h1{
    text-decoration: none;
    color: #15aea4;
    font-weight: 700;
}

.refg-instructions-h2{
    text-decoration: none;
    color: #15aea4;
}