.dropdown-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin: 32px auto;
    max-width: 500px;
}

.dropdown-container {
    position: relative;
    flex: 1;
    min-width: 100px;
    max-width: 300px;
}

.dropdown-label {
    display: block;
    width: 110%;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 8px;
}

#proxySelector,
#transportSelector {
    position: fixed;
    z-index: 1;
    padding: 12px 32px 12px 16px;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    color: var(--accent-color);
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
}

#proxySelector:focus,
#transportSelector:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.3);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    min-width: 200px;
    transform: translateY(8px);
    opacity: 0;
}

.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-item:hover {
    background-color: var(--hover-color);
    transform: translateX(4px);
}

.dropdown-item::before {
    content: "→";
    display: inline-block;
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
}

#searchEngineSelector {
    width: 100%;
    padding: 12px 32px 12px 16px;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    color: var(--accent-color);
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-image: url("./assets/svg/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    min-width: 200px;
    white-space: nowrap;
    box-sizing: border-box;
}

#searchEngineSelector:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.3);
}