.dropdown-search-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}
.searchbar {
    position: relative;
    display: inline-block;
    flex: 1;
}

.searchbar input {
    height: 5vh;
    width: 100%;
    padding: 2vh 2vh 2vh 3vh;
    padding-right: 3.5vh;
    border-radius: 4px;
    border: 1px solid gray;
    box-sizing: border-box;
}

.searchbar button {
    position: absolute;
    right: 0.5vh;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5vh;
    z-index: 10;
}

.searchbar button:hover {
    color: #7D0A0A;
}
.dropdown-group {
    display: flex;
    gap: 10px;
}
.dropdown-container {
    width: 70%;
}
.dropdown {
    position: relative;
    left: 0;
}

.dropdown-toggle {
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    color: rgb(52, 52, 52);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: white;
    min-width: 50vh;
    box-shadow: 1px 1px 10px black;
    border-radius: 4px;
    padding: 10px 15px;
    z-index: 1;
}
.dropdown-menu2 {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: white;
    min-width: 20vh;
    box-shadow: 1px 1px 10px black;
    border-radius: 4px;
    padding: 10px 15px;
    z-index: 1;
    text-align: center;
}
.item-divide {
    display: grid;
    gap: 1vh;
    grid-template-columns: repeat(2, 1fr);
}

.dropdown.show .dropdown-menu {
    display: block;
}
.dropdown.show .dropdown-menu2 {
    display: block;
}

.dropdown-item {
    padding: 6px 0;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}
.bx {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .dropdown-search-wrap {
        width: 100%;
        margin-top: 1vh;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    .dropdown-group {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }
    .dropdown-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #f9f9f9;
        border-radius: 4px;
        padding: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 0;
    }
    .dropdown {
        width: 100%;
        margin-bottom: 4px;
    }
    .dropdown:last-child {
        margin-bottom: 0;
    }
    .dropdown-toggle {
        width: 100%;
        padding: 6px 8px;
        font-size: 0.75rem;
        font-weight: 500;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 3px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }
    .dropdown-toggle:hover {
        border-color: #7D0A0A;
        box-shadow: 0 2px 6px rgba(125, 10, 10, 0.15);
    }
    .dropdown-menu, .dropdown-menu2 {
        position: static;
        width: 100%;
        min-width: auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border: 1px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 180px;
        overflow-y: auto;
        background: white;
    }
    .dropdown-item {
        padding: 6px 10px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.75rem;
        transition: background-color 0.2s ease;
    }
    .dropdown-item:hover {
        background-color: #f8f8f8;
    }
    .dropdown-item:last-child {
        border-bottom: none;
    }
    .searchbar {
        width: 100%;
        margin-top: 0;
        position: relative;
    }
    .searchbar input {
        width: 100%;
        margin-right: 0;
        padding: 8px 10px 8px 12px;
        padding-right: 35px;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        font-size: 0.8rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        height: auto;
    }
    .searchbar input:focus {
        outline: none;
        border-color: #7D0A0A;
        box-shadow: 0 2px 6px rgba(125, 10, 10, 0.15);
    }
    .searchbar button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #666;
        cursor: pointer;
        padding: 4px;
        font-size: 0.9rem;
        z-index: 10;
    }
    .searchbar button:hover {
        color: #7D0A0A;
    }
    .item-divide {
        grid-template-columns: 1fr;
        gap: 0;
    }
}