﻿.custom-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.controlUom {
    width: 100%;
    padding-right: 36px; /* space for arrow */
    text-align: right;
    cursor: pointer;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: calc(1.5em + 0.75rem + 2px);
    line-height: 1.5;
    box-sizing: border-box;
}

    .controlUom:disabled {
        background-color: #e9ecef;
        opacity: 1;
        cursor: not-allowed;
    }

.drobfont {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #495057;
    font-size: 0.9rem;
}

.dropdown-contentUom {
    max-height: 200px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    margin-top: 2px;
    overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .dropdown-contentUom label {
        padding: 8px 12px;
        margin: 0;
        color: #333;
        display: block;
        cursor: pointer;
        user-select: none;
    }

    .dropdown-contentUom input[type="checkbox"] {
        margin-left: 8px;
        cursor: pointer;
    }
