﻿.custom-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.custom-dropdown-input {
    flex-grow: 1;
    border-radius: 6px 0 0 6px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .custom-dropdown-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

.dropdown-toggle {
    height: 47px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-left: none;
    padding: 8px 6px;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background-color 0.3s ease;
}

    .dropdown-toggle:hover {
        background-color: #e9ecef;
    }

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 99.6%;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    transition: opacity 0.3s ease;
    padding: 2px;
}

    .custom-dropdown-menu.show {
        display: block;
        opacity: 1;
    }

.custom-dropdown-item {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

    .custom-dropdown-item:hover {
        background: #f0f0f0;
    }

.dropdown-logo {
    width: 70px;
    height: 30px;
    object-fit: contain;
    object-position: left;
    margin-right: 15px;
    flex-shrink: 0;
}

.dropdown-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 180px;
    text-align: left;
}

