
/*modern listbox*/
/* Modern DropDownList Styling */
select.modern-dropdown {
    /* Basic styling */
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    
    /* Modern appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;

    padding: 12px 30px 12px 16px; /* More padding on right for arrow */
    line-height: 1.8; /* Ensures text is properly vertically centered */
    height: auto; /* Override any fixed height */         
}

 

/* Hover and focus states */
select.modern-dropdown:hover {
    border-color: #b3b3b3;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

select.modern-dropdown:focus {
    outline: none;
    border-color: #4d90fe;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Disabled state */
select.modern-dropdown:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* For IE11 (if needed) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    select.modern-dropdown {
        background-image: none;
        padding-right: 8px;
    }
}

select.modern-dropdown option {
    padding: 10px 16px;  /* Increase item padding */
    line-height: 5;      /* Increase line height */
    font-size: 14px;     /* Optional: increase font size */
}


/*-modern listbox*/
