#custom-radio-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#custom-radio-container li {
    display: inline-block;
    margin-right: 5px;
    /* Optional: Add some spacing between list items */
}

/* Sembunyikan radio button sebenarnya */
#custom-radio-container input[type="radio"][id^="cb"] {
    display: none;
}

/* Styling label untuk setiap input radio button */
#custom-radio-container label {
    border: 1px solid #fff;
    padding: 7px;
    display: block;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#custom-radio-container label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 20px;
    transition-duration: 0.4s;
    transform: scale(0);
}

#custom-radio-container label img {
    height: 75px;
    width: 75px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
    display: block;
}

/* Ketika radio button dipilih (checked) */
#custom-radio-container input[type="radio"]:checked+label {
    border-color: #ddd;
}

#custom-radio-container input[type="radio"]:checked+label:before {
    content: "✓";
    background-color: grey;
    transform: scale(1);
}

#custom-radio-container input[type="radio"]:checked+label img {
    transform: scale(0.9);
    box-shadow: 0 0 5px #333;
    z-index: -1;
}

.animasi-bawah-atas {
    font-size: 35px;
    font-weight: normal;
    color: black;
    display: inline-block;
    animation: slideUpColorChange 3s infinite;
}

@keyframes slideUpColorChange {
    0% {
        transform: translateY(20px);
        /* Mulai di bawah */
        opacity: 0;
        color: black;
        font-weight: normal;
    }

    50% {
        transform: translateY(0);
        /* Geser ke posisi semula */
        opacity: 1;
        color: red;
        font-weight: bold;
    }

    100% {
        transform: translateY(20px);
        /* Kembali ke bawah */
        opacity: 0;
        color: black;
        font-weight: normal;
    }
}

.animasi-atas-bawah {
    font-size: 35px;
    font-weight: normal;
    color: black;
    display: inline-block;
    animation: slideDownColorChange 3s infinite;
}

@keyframes slideDownColorChange {
    0% {
        transform: translateY(-20px);
        /* Mulai di atas */
        opacity: 0;
        color: black;
        font-weight: normal;
    }

    25% {
        transform: translateY(-10px);
        /* Mulai di atas */
        opacity: 0;
        color: black;
        font-weight: normal;
    }

    40% {
        transform: translateY(-5px);
        /* Mulai di atas */
        opacity: 0;
        color: black;
        font-weight: normal;
    }

    50% {
        transform: translateY(0);
        /* Geser ke posisi semula */
        opacity: 1;
        color: red;
        font-weight: bold;
    }

    60% {
        transform: translateY(5);
        /* Geser ke posisi semula */
        opacity: 1;
        color: red;
        font-weight: bold;
    }

    75% {
        transform: translateY(10);
        /* Geser ke posisi semula */
        opacity: 1;
        color: red;
        font-weight: bold;
    }

    100% {
        transform: translateY(20px);
        /* Kembali ke bawah */
        opacity: 0;
        color: black;
        font-weight: normal;
    }
}

/* Style for images in Select2 dropdown */
.img-select2{
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 4px;
}

/* Style for images in selected option */
.img-select2-selected {
    width: 20px;
    height: 20px;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 4px;
}

/* Ensure Select2 dropdown has enough space */
.select2-results__option {
    display: flex;
    align-items: center;
    padding: 8px;
}

/* Adjust selected option alignment */
.select2-selection__rendered {
    display: flex;
    align-items: center;
}
