.custom-select-2 {
    position: relative;
    display: inline-block;
    width: 50px;
}

/* Esconder el select original y sus flechas */
.custom-select-2 select {
    /* Usando técnicas de compatibilidad entre navegadores */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    pointer-events: none;
    position: absolute;
    opacity: 0;
}

.select-selected {
    background-color: #fff;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.select-selected:after {
    content: "";
    position: absolute;
    top: 60%;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #333 transparent transparent transparent;
    transform: translateY(-50%);
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #333 transparent;
    top: 60%;
    transform: translateY(-50%) rotate(180deg);
}

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    overflow: hidden;
}

.select-items div {
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.select-items div:hover,
.same-as-selected {
    background-color: #f1f1f1;
}

.option-image img {
    width: 24px;
    height: 24px;
    margin: 10px 0;
    border-radius: 50%;
    object-fit: cover;
}

.option-image span {
    flex: 1;
}
@media (width <= 450px) {
    .select-selected:after {
        right: 5px!important;
    }
}
@media (width <= 400px) {
    .select-selected:after {
        right: 0px!important;
    }
}
@media (width <= 350px) {
    .select-selected:after {
        right: -8px!important;
    }
}