  .custom-select-wrapper {
        position: relative;
        user-select: none;
        width: 100%;
        font-family: 'Open Sans', sans-serif; 
    }

    .custom-select-trigger {
        position: relative;
        display: block;
        width: 100%;
        padding: 6px 12px; 
        font-size: 14px;  
        font-weight: 400;
        color: #777;   
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 5px; 
        
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        
        line-height: 1.42857143;
        cursor: pointer;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        min-height: 34px;
    }

    .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 8px; 
        height: 8px;
        top: 50%;
        right: 12px; 
        margin-top: -3px;
        border-bottom: 1px solid #777; 
        border-right: 1px solid #777;
        transform: rotate(45deg) translateY(-50%);
        transition: all 0.4s ease-in-out;
        transform-origin: 50% 0;
    }

    .custom-select.open .custom-select-trigger:after {
        margin-top: 3px;
        transform: rotate(-135deg) translateY(-50%);
    }

    .custom-options {
        position: absolute;
        display: block;
        top: 100%;
        left: 0;
        right: 0;
        border: 1px solid #ccc;
        border-top: 0;
        background: #fff;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 9999;
        max-height: 430px;
        overflow-y: auto;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 0 0 5px 5px;
        margin-top: 2px;
    }

    .custom-select.open .custom-options {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .custom-option {
        position: relative;
        display: block;
        padding: 6px 12px;
        font-size: 14px;
        font-weight: 400;
        color: #777;
        line-height: 1.42857143;
        cursor: pointer;
        border-bottom: 1px solid #f5f5f5;
        transition: all 0.2s;
        white-space: normal;
        word-wrap: break-word;
    }

    .custom-option:last-child {
        border-bottom: none;
    }

    .custom-option:hover {
        background-color: #f2f2f2;
        color: #333;
    }

    .custom-option.selected {
        background-color: #e6e6e6;
        font-weight: 600;
        color: #333;
    }

    select.replaced-by-custom {
        display: none !important;
    }
    
    .select2-container { display: none !important; }

    @media (max-width: 768px) {
        .custom-select-trigger {
            font-size: 14px; 
        }
    }

