.multi-select {
    position: relative;
    font-size: 14px;
    width: 200px;
}

#setting-multi-select .multi-select {
    position: relative;
    font-size: 14px;
    width: 100%;
}

/* SELECT BOX */
.select-box {
    min-height: 48px;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.select-box.active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: scroll;
}

.select-all-item {
    color: #000;
}

/* TAG */
.tag {
    background: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    animation: tagIn 0.25s ease;
}

.remove {
    cursor: pointer;
    font-weight: bold;
}

/* ARROW */
.arrow {
    transition: transform 0.3s ease;
}

.arrow.open {
    transform: rotate(180deg);
}

/* DROPDOWN */
.dropdown {
    position: absolute !important;
    top: 105%;
    width: 100%;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height 0.35s cubic-bezier(.4, 0, .2, 1),
        opacity 0.3s ease,
        transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.dropdown.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
}

/* OPTION */
.option {
    padding: 10px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.3s forwards;
}

.option:hover {
    background: #f1f5ff;
    transform: translateX(4px);
}

.option.selected {
    background: #e7f1ff;
}

.select-all {
    font-weight: 600;
    color: #0d6efd;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tagIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}