/* Dropdown container to wrap the box and options */
.dropdown-container {
    position: relative;
    width: 300px;
}

/* Dropdown box that looks like a form field */
.dropdown-box {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

/* Change appearance on hover */
.dropdown-box:hover {
    border-color: #007BFF;
}

/* Dropdown tree (hidden by default) */
.dropdown-tree {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    z-index: 1000;
    max-height: 200px; /* Optional: limit height */
    overflow-y: auto;  /* Optional: enable scrolling */
}

/* Dropdown item styling */
.dropdown-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Sub-options styling */
.sub-options {
    display: none;
    padding-left: 20px;
}

.sub-options .sub-item {
    padding: 5px;
    cursor: pointer;
    font-size: 14px;
}

.sub-options .sub-item:hover {
    background-color: #e9e9e9;
}
